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 +++++++++++++++++++++++++++++++++++++++++++++++--- php-pecl-swoole2.spec | 5 +- 2 files changed, 224 insertions(+), 14 deletions(-) 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 ] { } diff --git a/php-pecl-swoole2.spec b/php-pecl-swoole2.spec index 6d3c802..e132e14 100644 --- a/php-pecl-swoole2.spec +++ b/php-pecl-swoole2.spec @@ -41,7 +41,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name}2 -Version: 2.1.3 +Version: 2.2.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD URL: http://pecl.php.net/package/%{pecl_name} @@ -315,6 +315,9 @@ cd ../ZTS %changelog +* Wed May 23 2018 Remi Collet - 2.2.0-1 +- update to 2.2.0 + * Mon Apr 16 2018 Remi Collet - 2.1.3-1 - update to 2.1.3 -- cgit