diff options
Diffstat (limited to 'REFLECTION')
| -rw-r--r-- | REFLECTION | 211 |
1 files changed, 148 insertions, 63 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { +Extension [ <persistent> extension #119 swoole version 6.1.0RC2 ] { - Dependencies { Dependency [ json (Required) ] @@ -29,13 +29,13 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } } - - Constants [414] { - Constant [ string SWOOLE_VERSION ] { 6.1.0RC1 } + - Constants [415] { + Constant [ string SWOOLE_VERSION ] { 6.1.0RC2 } Constant [ int SWOOLE_VERSION_ID ] { 60100 } Constant [ int SWOOLE_MAJOR_VERSION ] { 6 } Constant [ int SWOOLE_MINOR_VERSION ] { 1 } Constant [ int SWOOLE_RELEASE_VERSION ] { 0 } - Constant [ string SWOOLE_EXTRA_VERSION ] { RC1 } + Constant [ string SWOOLE_EXTRA_VERSION ] { } Constant [ bool SWOOLE_DEBUG ] { } Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 } Constant [ bool SWOOLE_HAVE_ZLIB ] { 1 } @@ -423,6 +423,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Constant [ int WEBSOCKET_STATUS_FRAME ] { 3 } Constant [ int WEBSOCKET_STATUS_ACTIVE ] { 3 } Constant [ int WEBSOCKET_STATUS_CLOSING ] { 4 } + Constant [ int WEBSOCKET_STATUS_HANDSHAKE_FAILED ] { 5 } Constant [ int WEBSOCKET_OPCODE_CONTINUATION ] { 0 } Constant [ int WEBSOCKET_OPCODE_TEXT ] { 1 } Constant [ int WEBSOCKET_OPCODE_BINARY ] { 2 } @@ -1260,7 +1261,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } } - - Classes [52] { + - Classes [53] { Class [ <internal:swoole> class Swoole\Exception extends Exception implements Throwable, Stringable ] { - Constants [0] { @@ -1717,7 +1718,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Property [ public $errCode = 0 ] } - - Methods [8] { + - Methods [3] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [1] { @@ -1725,44 +1726,11 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } } - Method [ <internal:swoole> public method __destruct ] { - - - Parameters [0] { - } - } - Method [ <internal:swoole> public method lock ] { - - Parameters [0] { - } - - Return [ bool ] - } - - Method [ <internal:swoole> public method lockwait ] { - - - Parameters [1] { - Parameter #0 [ <optional> float $timeout = 1.0 ] - } - - Return [ bool ] - } - - Method [ <internal:swoole> public method trylock ] { - - - Parameters [0] { - } - - Return [ bool ] - } - - Method [ <internal:swoole> public method lock_read ] { - - - Parameters [0] { - } - - Return [ bool ] - } - - Method [ <internal:swoole> public method trylock_read ] { - - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ <optional> int $operation = LOCK_EX ] + Parameter #1 [ <optional> float $timeout = -1 ] } - Return [ bool ] } @@ -2697,8 +2665,9 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Method [ <internal:swoole> static public method cancel ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ <required> int $cid ] + Parameter #1 [ <optional> bool $throw_exception = false ] } - Return [ bool ] } @@ -3505,6 +3474,98 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } } + Class [ <internal:swoole> final class Swoole\Coroutine\CanceledException extends Exception implements Throwable, Stringable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] + } + } + } + Class [ <internal:swoole> class Swoole\Coroutine\System ] { - Constants [0] { @@ -3708,7 +3769,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Property [ public $errCode = 0 ] } - - Methods [5] { + - Methods [3] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [1] { @@ -3716,22 +3777,10 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } } - Method [ <internal:swoole> public method __destruct ] { - - - Parameters [0] { - } - } - Method [ <internal:swoole> public method lock ] { - - Parameters [0] { - } - - Return [ bool ] - } - - Method [ <internal:swoole> public method trylock ] { - - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <optional> int $operation = LOCK_EX ] } - Return [ bool ] } @@ -5028,7 +5077,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Property [ public $body = '' ] } - - Methods [28] { + - Methods [30] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [3] { @@ -5246,7 +5295,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { - Parameters [1] { Parameter #0 [ <optional> float $timeout = 0 ] } - - Return [ Swoole\WebSocket\Frame|bool ] + - Return [ Swoole\WebSocket\Frame|string|bool ] } Method [ <internal:swoole> public method close ] { @@ -5255,6 +5304,23 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } - Return [ bool ] } + + Method [ <internal:swoole> public method ping ] { + + - Parameters [1] { + Parameter #0 [ <optional> string $data = "" ] + } + - Return [ bool ] + } + + Method [ <internal:swoole> public method disconnect ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $code = SWOOLE_WEBSOCKET_CLOSE_NORMAL ] + Parameter #1 [ <optional> string $reason = "" ] + } + - Return [ bool ] + } } } @@ -6503,7 +6569,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Property [ public $trailer = NULL ] } - - Methods [22] { + - Methods [23] { Method [ <internal:swoole> public method initHeader ] { - Parameters [0] { @@ -6635,7 +6701,8 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Method [ <internal:swoole> public method ping ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <optional> string $data = '' ] } - Return [ bool ] } @@ -6722,6 +6789,15 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { } - Return [ bool ] } + + Method [ <internal:swoole> public method disconnect ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $code = SWOOLE_WEBSOCKET_CLOSE_NORMAL ] + Parameter #1 [ <optional> string $reason = "" ] + } + - Return [ bool ] + } } } @@ -7390,7 +7466,7 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { Property [ public $admin_server = NULL ] } - - Methods [48] { + - Methods [49] { Method [ <internal:swoole> public method push ] { - Parameters [4] { @@ -7412,6 +7488,15 @@ Extension [ <persistent> extension #117 swoole version 6.1.0RC1 ] { - Return [ bool ] } + Method [ <internal:swoole> public method ping ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <optional> string $data = "" ] + } + - Return [ bool ] + } + Method [ <internal:swoole> public method isEstablished ] { - Parameters [1] { |
