From 10ce346530a757323bd9ea0aeae3cac1de5cd960 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 31 Aug 2018 14:02:25 +0200 Subject: v4.1.0 --- REFLECTION | 272 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 251 insertions(+), 21 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 4997035..8075de9 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,6 +1,9 @@ -Extension [ extension #147 swoole version 4.0.4 ] { +Extension [ extension #148 swoole version 4.1.0 ] { - INI { + Entry [ swoole.enable_coroutine ] + Current = 'On' + } Entry [ swoole.aio_thread_num ] Current = '2' } @@ -21,7 +24,7 @@ Extension [ extension #147 swoole version 4.0.4 ] { } } - - Constants [164] { + - Constants [192] { Constant [ integer SWOOLE_BASE ] { 4 } Constant [ integer SWOOLE_THREAD ] { 2 } Constant [ integer SWOOLE_PROCESS ] { 3 } @@ -66,7 +69,7 @@ Extension [ extension #147 swoole version 4.0.4 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 4.0.4 } + Constant [ string SWOOLE_VERSION ] { 4.1.0 } Constant [ integer SWOOLE_ERROR_MALLOC_FAIL ] { 501 } Constant [ integer SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 } Constant [ integer SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 } @@ -156,6 +159,8 @@ Extension [ extension #147 swoole version 4.0.4 ] { Constant [ integer SW_PGSQL_ASSOC ] { 1 } Constant [ integer SW_PGSQL_NUM ] { 2 } Constant [ integer SW_PGSQL_BOTH ] { 3 } + Constant [ integer SWOOLE_EXIT_IN_COROUTINE ] { 2 } + Constant [ integer SWOOLE_EXIT_IN_SERVER ] { 4 } Constant [ integer SWOOLE_AIO_BASE ] { 0 } Constant [ integer SWOOLE_AIO_LINUX ] { 0 } Constant [ integer SWOOLE_FILELOCK ] { 2 } @@ -163,13 +168,39 @@ Extension [ extension #147 swoole version 4.0.4 ] { Constant [ integer SWOOLE_SEM ] { 4 } Constant [ integer SWOOLE_RWLOCK ] { 1 } Constant [ integer SWOOLE_SPINLOCK ] { 5 } - Constant [ integer WEBSOCKET_OPCODE_TEXT ] { 1 } - Constant [ integer WEBSOCKET_OPCODE_BINARY ] { 2 } - Constant [ integer WEBSOCKET_OPCODE_PING ] { 9 } Constant [ integer WEBSOCKET_STATUS_CONNECTION ] { 1 } Constant [ integer WEBSOCKET_STATUS_HANDSHAKE ] { 2 } Constant [ integer WEBSOCKET_STATUS_FRAME ] { 3 } Constant [ integer WEBSOCKET_STATUS_ACTIVE ] { 3 } + Constant [ integer WEBSOCKET_STATUS_CLOSING ] { 4 } + Constant [ integer WEBSOCKET_OPCODE_CONTINUATION ] { 0 } + Constant [ integer WEBSOCKET_OPCODE_TEXT ] { 1 } + Constant [ integer WEBSOCKET_OPCODE_BINARY ] { 2 } + Constant [ integer WEBSOCKET_OPCODE_CLOSE ] { 8 } + Constant [ integer WEBSOCKET_OPCODE_PING ] { 9 } + Constant [ integer WEBSOCKET_OPCODE_PONG ] { 10 } + Constant [ integer WEBSOCKET_CLOSE_NORMAL ] { 1000 } + Constant [ integer WEBSOCKET_CLOSE_GOING_AWAY ] { 1001 } + Constant [ integer WEBSOCKET_CLOSE_PROTOCOL_ERROR ] { 1002 } + Constant [ integer WEBSOCKET_CLOSE_DATA_ERROR ] { 1003 } + Constant [ integer WEBSOCKET_CLOSE_STATUS_ERROR ] { 1005 } + Constant [ integer WEBSOCKET_CLOSE_ABNORMAL ] { 1006 } + Constant [ integer WEBSOCKET_CLOSE_MESSAGE_ERROR ] { 1007 } + Constant [ integer WEBSOCKET_CLOSE_POLICY_ERROR ] { 1008 } + Constant [ integer WEBSOCKET_CLOSE_MESSAGE_TOO_BIG ] { 1009 } + Constant [ integer WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 } + Constant [ integer WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 } + Constant [ integer WEBSOCKET_CLOSE_TLS ] { 1015 } + Constant [ integer SWOOLE_HTTP2_TYPE_DATA ] { 0 } + Constant [ integer SWOOLE_HTTP2_TYPE_HEADERS ] { 1 } + Constant [ integer SWOOLE_HTTP2_TYPE_PRIORITY ] { 2 } + Constant [ integer SWOOLE_HTTP2_TYPE_RST_STREAM ] { 3 } + Constant [ integer SWOOLE_HTTP2_TYPE_SETTINGS ] { 4 } + Constant [ integer SWOOLE_HTTP2_TYPE_PUSH_PROMISE ] { 5 } + Constant [ integer SWOOLE_HTTP2_TYPE_PING ] { 6 } + Constant [ integer SWOOLE_HTTP2_TYPE_GOAWAY ] { 7 } + Constant [ integer SWOOLE_HTTP2_TYPE_WINDOW_UPDATE ] { 8 } + Constant [ integer SWOOLE_HTTP2_TYPE_CONTINUATION ] { 9 } Constant [ integer SWOOLE_HTTP2_ERROR_NO_ERROR ] { 0 } Constant [ integer SWOOLE_HTTP2_ERROR_PROTOCOL_ERROR ] { 1 } Constant [ integer SWOOLE_HTTP2_ERROR_INTERNAL_ERROR ] { 2 } @@ -428,7 +459,7 @@ Extension [ extension #147 swoole version 4.0.4 ] { } } - - Classes [48] { + - Classes [51] { Class [ class Swoole\Server ] { - Constants [0] { @@ -995,7 +1026,7 @@ Extension [ extension #147 swoole version 4.0.4 ] { } } - Class [ class Swoole\Connection\Iterator implements Iterator, Traversable, Countable, ArrayAccess ] { + Class [ class Swoole\Connection\Iterator implements Iterator, Traversable, ArrayAccess, Countable ] { - Constants [0] { } @@ -1591,16 +1622,15 @@ Extension [ extension #147 swoole version 4.0.4 ] { - Static methods [0] { } - - Properties [6] { + - Properties [5] { Property [ public $errCode ] Property [ public $sock ] Property [ public $type ] - Property [ public $id ] Property [ public $setting ] Property [ public $connected ] } - - Methods [17] { + - Methods [18] { Method [ public method __construct ] { - Parameters [1] { @@ -1646,9 +1676,8 @@ Extension [ extension #147 swoole version 4.0.4 ] { Method [ public method send ] { - - Parameters [2] { + - Parameters [1] { Parameter #0 [ $data ] - Parameter #1 [ $flag ] } } @@ -1664,12 +1693,21 @@ Extension [ extension #147 swoole version 4.0.4 ] { Method [ public method sendto ] { - Parameters [3] { - Parameter #0 [ $ip ] + Parameter #0 [ $address ] Parameter #1 [ $port ] Parameter #2 [ $data ] } } + Method [ public method recvfrom ] { + + - Parameters [3] { + Parameter #0 [ $length ] + Parameter #1 [ &$address ] + Parameter #2 [ &$port ] + } + } + Method [ public method enableSSL ] { - Parameters [0] { @@ -2801,7 +2839,7 @@ Extension [ extension #147 swoole version 4.0.4 ] { Property [ public $body ] } - - Methods [19] { + - Methods [20] { Method [ public method __construct ] { - Parameters [3] { @@ -2902,6 +2940,16 @@ Extension [ extension #147 swoole version 4.0.4 ] { } } + Method [ public method addData ] { + + - Parameters [4] { + Parameter #0 [ $path ] + Parameter #1 [ $name ] + Parameter #2 [ $type ] + Parameter #3 [ $filename ] + } + } + Method [ public method isConnected ] { - Parameters [0] { @@ -2953,7 +3001,7 @@ Extension [ extension #147 swoole version 4.0.4 ] { - Static properties [0] { } - - Static methods [16] { + - Static methods [18] { Method [ static public method create ] { - Parameters [1] { @@ -3071,6 +3119,21 @@ Extension [ extension #147 swoole version 4.0.4 ] { Parameter #4 [ $service ] } } + + Method [ static public method getBackTrace ] { + + - Parameters [3] { + Parameter #0 [ $cid ] + Parameter #1 [ $options ] + Parameter #2 [ $limit ] + } + } + + Method [ static public method listCoroutines ] { + + - Parameters [0] { + } + } } - Properties [0] { @@ -3080,6 +3143,134 @@ Extension [ extension #147 swoole version 4.0.4 ] { } } + Class [ class Swoole\Coroutine\Iterator implements Iterator, Traversable, Countable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [7] { + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method __destruct ] { + + - Parameters [0] { + } + } + } + } + + Class [ class Swoole\ExitException extends Exception implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [12] { + Method [ public method getFlags ] { + + - Parameters [0] { + } + } + + Method [ public method getStatus ] { + + - Parameters [0] { + } + } + + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + Class [ class Swoole\Http\Client ] { - Constants [0] { @@ -3495,7 +3686,7 @@ Extension [ extension #147 swoole version 4.0.4 ] { } } - Class [ class Swoole\Table implements ArrayAccess, Iterator, Traversable, Countable ] { + Class [ class Swoole\Table implements Iterator, Traversable, ArrayAccess, Countable ] { - Constants [3] { Constant [ public integer TYPE_INT ] { 1 } @@ -3717,6 +3908,36 @@ Extension [ extension #147 swoole version 4.0.4 ] { } } + Class [ class Swoole\Runtime ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method enableStrictMode ] { + + - Parameters [0] { + } + } + + Method [ static public method enableCoroutine ] { + + - Parameters [1] { + Parameter #0 [ $enable ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + Class [ class Swoole\Lock ] { - Constants [5] { @@ -4344,8 +4565,9 @@ Extension [ extension #147 swoole version 4.0.4 ] { Method [ public method status ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $http_code ] + Parameter #1 [ $reason ] } } @@ -4430,8 +4652,9 @@ Extension [ extension #147 swoole version 4.0.4 ] { - Static methods [0] { } - - Properties [9] { + - Properties [10] { Property [ public $fd ] + Property [ public $streamId ] Property [ public $header ] Property [ public $server ] Property [ public $request ] @@ -5668,7 +5891,7 @@ Extension [ extension #147 swoole version 4.0.4 ] { Property [ public $port ] } - - Methods [10] { + - Methods [11] { Method [ public method __construct ] { - Parameters [3] { @@ -5700,7 +5923,14 @@ Extension [ extension #147 swoole version 4.0.4 ] { Method [ public method stats ] { - Parameters [1] { - Parameter #0 [ $key ] + Parameter #0 [ $key ] + } + } + + Method [ public method isStreamExist ] { + + - Parameters [1] { + Parameter #0 [ $stream_id ] } } -- cgit