From cc4a1178b37d663d4bfeb059c3342133fbd3f5eb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 May 2018 13:41:49 +0200 Subject: v2.2.0 --- REFLECTION | 233 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 220 insertions(+), 13 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index aa35948..8fa194d 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #147 swoole version 2.1.3 ] { +Extension [ extension #147 swoole version 2.2.0 ] { - INI { Entry [ swoole.aio_thread_num ] @@ -66,7 +66,7 @@ Extension [ extension #147 swoole version 2.1.3 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 2.1.3 } + Constant [ string SWOOLE_VERSION ] { 2.2.0 } Constant [ integer SWOOLE_ERROR_MALLOC_FAIL ] { 501 } Constant [ integer SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 } Constant [ integer SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 } @@ -410,7 +410,7 @@ Extension [ extension #147 swoole version 2.1.3 ] { } } - - Classes [44] { + - Classes [46] { Class [ class Swoole\Server ] { - Constants [0] { @@ -782,18 +782,18 @@ Extension [ extension #147 swoole version 2.1.3 ] { - Static methods [4] { Method [ static public method tick ] { - - Parameters [3] { + - Parameters [2] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] - Parameter #2 [ $param ] } } Method [ static public method after ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] + Parameter #2 [ $param ] } } @@ -1399,6 +1399,177 @@ Extension [ extension #147 swoole version 2.1.3 ] { } } + Class [ final class Swoole\Coroutine\Socket ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ public $errCode ] + } + + - Methods [13] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $domain ] + Parameter #1 [ $type ] + Parameter #2 [ $protocol ] + } + } + + Method [ public method bind ] { + + - Parameters [2] { + Parameter #0 [ $address ] + Parameter #1 [ $port ] + } + } + + Method [ public method listen ] { + + - Parameters [1] { + Parameter #0 [ $backlog ] + } + } + + Method [ public method accept ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method connect ] { + + - Parameters [3] { + Parameter #0 [ $host ] + Parameter #1 [ $port ] + Parameter #2 [ $timeout ] + } + } + + Method [ public method recv ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method send ] { + + - Parameters [2] { + Parameter #0 [ $data ] + Parameter #1 [ $timeout ] + } + } + + Method [ public method recvfrom ] { + + - Parameters [2] { + Parameter #0 [ &$peername ] + Parameter #1 [ $timeout ] + } + } + + Method [ public method sendto ] { + + - Parameters [3] { + Parameter #0 [ $addr ] + Parameter #1 [ $port ] + Parameter #2 [ $data ] + } + } + + Method [ public method getpeername ] { + + - Parameters [0] { + } + } + + Method [ public method getsockname ] { + + - Parameters [0] { + } + } + + Method [ public method getSocket ] { + + - Parameters [0] { + } + } + + Method [ public method close ] { + + - Parameters [0] { + } + } + } + } + + Class [ class Swoole\Coroutine\Socket\Exception 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 [10] { + 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\Coroutine\Client ] { - Constants [4] { @@ -2524,7 +2695,7 @@ Extension [ extension #147 swoole version 2.1.3 ] { Method [ public method execute ] { - Parameters [2] { - Parameter #0 [ $params ] + Parameter #0 [ $params ] Parameter #1 [ $timeout ] } } @@ -2631,7 +2802,7 @@ Extension [ extension #147 swoole version 2.1.3 ] { Property [ public $body ] } - - Methods [20] { + - Methods [21] { Method [ public method __construct ] { - Parameters [3] { @@ -2704,6 +2875,15 @@ Extension [ extension #147 swoole version 2.1.3 ] { } } + Method [ public method download ] { + + - Parameters [3] { + Parameter #0 [ $path ] + Parameter #1 [ $file ] + Parameter #2 [ $offset ] + } + } + Method [ public method upgrade ] { - Parameters [1] { @@ -2738,7 +2918,7 @@ Extension [ extension #147 swoole version 2.1.3 ] { Method [ public method setDefer ] { - Parameters [1] { - Parameter #0 [ $defer ] + Parameter #0 [ $defer ] } } @@ -3576,10 +3756,11 @@ Extension [ extension #147 swoole version 2.1.3 ] { - Static methods [0] { } - - Properties [0] { + - Properties [1] { + Property [ public $errCode ] } - - Methods [8] { + - Methods [9] { Method [ public method __construct ] { - Parameters [2] { @@ -3630,6 +3811,12 @@ Extension [ extension #147 swoole version 2.1.3 ] { - Parameters [0] { } } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } } } @@ -4147,7 +4334,13 @@ Extension [ extension #147 swoole version 2.1.3 ] { - Static properties [0] { } - - Static methods [0] { + - Static methods [1] { + Method [ static public method create ] { + + - Parameters [1] { + Parameter #0 [ $fd ] + } + } } - Properties [4] { @@ -4157,7 +4350,7 @@ Extension [ extension #147 swoole version 2.1.3 ] { Property [ public $trailer ] } - - Methods [13] { + - Methods [15] { Method [ public method initHeader ] { - Parameters [0] { @@ -4245,6 +4438,20 @@ Extension [ extension #147 swoole version 2.1.3 ] { } } + Method [ public method redirect ] { + + - Parameters [2] { + Parameter #0 [ $location ] + Parameter #1 [ $http_code ] + } + } + + Method [ public method detach ] { + + - Parameters [0] { + } + } + Method [ public method __sleep ] { } -- cgit