From 1039103e17fbf1b5ecabd1b337b801526874d216 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 19 Jul 2021 07:41:49 +0200 Subject: update to 4.7.0 --- REFLECTION | 170 ++++++++++++++++++++++--------------------------------------- 1 file changed, 62 insertions(+), 108 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 5a23f44..e9ebf68 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #118 swoole version 4.6.7 ] { +Extension [ extension #122 swoole version 4.7.0 ] { - Dependencies { Dependency [ json (Required) ] @@ -28,12 +28,12 @@ Extension [ extension #118 swoole version 4.6.7 ] { } } - - Constants [365] { - Constant [ string SWOOLE_VERSION ] { 4.6.7 } - Constant [ int SWOOLE_VERSION_ID ] { 40607 } + - Constants [373] { + Constant [ string SWOOLE_VERSION ] { 4.7.0 } + Constant [ int SWOOLE_VERSION_ID ] { 40700 } Constant [ int SWOOLE_MAJOR_VERSION ] { 4 } - Constant [ int SWOOLE_MINOR_VERSION ] { 6 } - Constant [ int SWOOLE_RELEASE_VERSION ] { 7 } + Constant [ int SWOOLE_MINOR_VERSION ] { 7 } + Constant [ int SWOOLE_RELEASE_VERSION ] { 0 } Constant [ string SWOOLE_EXTRA_VERSION ] { } Constant [ bool SWOOLE_DEBUG ] { } Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 } @@ -108,11 +108,13 @@ Extension [ extension #118 swoole version 4.6.7 ] { Constant [ int SWOOLE_ERROR_FILE_NOT_EXIST ] { 700 } Constant [ int SWOOLE_ERROR_FILE_TOO_LARGE ] { 701 } Constant [ int SWOOLE_ERROR_FILE_EMPTY ] { 702 } - Constant [ int SWOOLE_ERROR_DNSLOOKUP_DUPLICATE_REQUEST ] { 703 } - Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_FAILED ] { 704 } - Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_TIMEOUT ] { 705 } - Constant [ int SWOOLE_ERROR_BAD_IPV6_ADDRESS ] { 706 } - Constant [ int SWOOLE_ERROR_UNREGISTERED_SIGNAL ] { 707 } + Constant [ int SWOOLE_ERROR_DNSLOOKUP_DUPLICATE_REQUEST ] { 710 } + Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_FAILED ] { 711 } + Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_TIMEOUT ] { 712 } + Constant [ int SWOOLE_ERROR_DNSLOOKUP_UNSUPPORTED ] { 713 } + Constant [ int SWOOLE_ERROR_DNSLOOKUP_NO_SERVER ] { 714 } + Constant [ int SWOOLE_ERROR_BAD_IPV6_ADDRESS ] { 720 } + Constant [ int SWOOLE_ERROR_UNREGISTERED_SIGNAL ] { 721 } Constant [ int SWOOLE_ERROR_EVENT_SOCKET_REMOVED ] { 800 } Constant [ int SWOOLE_ERROR_SESSION_CLOSED_BY_SERVER ] { 1001 } Constant [ int SWOOLE_ERROR_SESSION_CLOSED_BY_CLIENT ] { 1002 } @@ -189,6 +191,10 @@ Extension [ extension #118 swoole version 4.6.7 ] { Constant [ int SWOOLE_ERROR_CO_PROTECT_STACK_FAILED ] { 10012 } Constant [ int SWOOLE_ERROR_CO_STD_THREAD_LINK_ERROR ] { 10013 } Constant [ int SWOOLE_ERROR_CO_DISABLED_MULTI_THREAD ] { 10014 } + Constant [ int SWOOLE_ERROR_CO_CANNOT_CANCEL ] { 10015 } + Constant [ int SWOOLE_ERROR_CO_NOT_EXISTS ] { 10016 } + Constant [ int SWOOLE_ERROR_CO_CANCELED ] { 10017 } + Constant [ int SWOOLE_ERROR_CO_TIMEDOUT ] { 10018 } Constant [ int SWOOLE_TRACE_SERVER ] { 2 } Constant [ int SWOOLE_TRACE_CLIENT ] { 4 } Constant [ int SWOOLE_TRACE_BUFFER ] { 8 } @@ -203,7 +209,7 @@ Extension [ extension #118 swoole version 4.6.7 ] { Constant [ int SWOOLE_TRACE_EOF_PROTOCOL ] { 4096 } Constant [ int SWOOLE_TRACE_LENGTH_PROTOCOL ] { 8192 } Constant [ int SWOOLE_TRACE_CLOSE ] { 16384 } - Constant [ int SWOOLE_TRACE_WEBSOCEKT ] { 32768 } + Constant [ int SWOOLE_TRACE_WEBSOCKET ] { 32768 } Constant [ int SWOOLE_TRACE_REDIS_CLIENT ] { 65536 } Constant [ int SWOOLE_TRACE_MYSQL_CLIENT ] { 131072 } Constant [ int SWOOLE_TRACE_HTTP_CLIENT ] { 262144 } @@ -218,7 +224,8 @@ Extension [ extension #118 swoole version 4.6.7 ] { Constant [ int SWOOLE_TRACE_CO_HTTP_SERVER ] { 134217728 } Constant [ int SWOOLE_TRACE_TABLE ] { 268435456 } Constant [ int SWOOLE_TRACE_CO_CURL ] { 536870912 } - Constant [ int SWOOLE_TRACE_ALL ] { 4294967295 } + Constant [ int SWOOLE_TRACE_CARES ] { 1073741824 } + Constant [ int SWOOLE_TRACE_ALL ] { 9223372036854775807 } Constant [ int SWOOLE_LOG_DEBUG ] { 0 } Constant [ int SWOOLE_LOG_TRACE ] { 1 } Constant [ int SWOOLE_LOG_INFO ] { 2 } @@ -255,6 +262,7 @@ Extension [ extension #118 swoole version 4.6.7 ] { Constant [ int SWOOLE_CHANNEL_OK ] { 0 } Constant [ int SWOOLE_CHANNEL_TIMEOUT ] { -1 } Constant [ int SWOOLE_CHANNEL_CLOSED ] { -2 } + Constant [ int SWOOLE_CHANNEL_CANCELED ] { -3 } Constant [ int SWOOLE_HOOK_TCP ] { 2 } Constant [ int SWOOLE_HOOK_UDP ] { 4 } Constant [ int SWOOLE_HOOK_UNIX ] { 8 } @@ -414,9 +422,10 @@ Extension [ extension #118 swoole version 4.6.7 ] { } Function [ function swoole_async_dns_lookup_coro ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ $domain_name ] Parameter #1 [ $timeout ] + Parameter #2 [ $type ] } } Function [ function swoole_async_set ] { @@ -724,7 +733,7 @@ Extension [ extension #118 swoole version 4.6.7 ] { } } - - Classes [53] { + - Classes [52] { Class [ class Swoole\Exception extends Exception implements Throwable ] { - Constants [0] { @@ -1381,7 +1390,7 @@ Extension [ extension #118 swoole version 4.6.7 ] { Property [ public $workers ] } - - Methods [9] { + - Methods [11] { Method [ public method __construct ] { - Parameters [4] { @@ -1436,12 +1445,24 @@ Extension [ extension #118 swoole version 4.6.7 ] { } } + Method [ public method detach ] { + + - Parameters [0] { + } + } + Method [ public method start ] { - Parameters [0] { } } + Method [ public method stop ] { + + - Parameters [0] { + } + } + Method [ public method shutdown ] { - Parameters [0] { @@ -1450,7 +1471,7 @@ Extension [ extension #118 swoole version 4.6.7 ] { } } - Class [ class Swoole\Table implements Iterator, Traversable, ArrayAccess, Countable ] { + Class [ class Swoole\Table implements Iterator, Traversable, Countable ] { - Constants [3] { Constant [ public int TYPE_INT ] { 1 } @@ -1469,7 +1490,7 @@ Extension [ extension #118 swoole version 4.6.7 ] { Property [ public $memorySize ] } - - Methods [24] { + - Methods [20] { Method [ public method __construct ] { - Parameters [2] { @@ -1579,36 +1600,13 @@ Extension [ extension #118 swoole version 4.6.7 ] { } } - Method [ public method offsetExists ] { - - - Parameters [1] { - Parameter #0 [ $offset ] - } - } - - Method [ public method offsetGet ] { - - - Parameters [1] { - Parameter #0 [ $offset ] - } - } - - Method [ public method offsetSet ] { - - - Parameters [2] { - Parameter #0 [ $offset ] - Parameter #1 [ $value ] - } - } - - Method [ public method offsetUnset ] { + Method [ public method rewind ] { - - Parameters [1] { - Parameter #0 [ $offset ] + - Parameters [0] { } } - Method [ public method rewind ] { + Method [ public method valid ] { - Parameters [0] { } @@ -1631,66 +1629,6 @@ Extension [ extension #118 swoole version 4.6.7 ] { - Parameters [0] { } } - - Method [ public method valid ] { - - - Parameters [0] { - } - } - } - } - - Class [ class Swoole\Table\Row implements ArrayAccess ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [2] { - Property [ public $key ] - Property [ public $value ] - } - - - Methods [5] { - Method [ public method offsetExists ] { - - - Parameters [1] { - Parameter #0 [ $offset ] - } - } - - Method [ public method offsetGet ] { - - - Parameters [1] { - Parameter #0 [ $offset ] - } - } - - Method [ public method offsetSet ] { - - - Parameters [2] { - Parameter #0 [ $offset ] - Parameter #1 [ $value ] - } - } - - Method [ public method offsetUnset ] { - - - Parameters [1] { - Parameter #0 [ $offset ] - } - } - - Method [ public method __destruct ] { - - - Parameters [0] { - } - } } } @@ -1978,7 +1916,7 @@ Extension [ extension #118 swoole version 4.6.7 ] { - Static properties [0] { } - - Static methods [35] { + - Static methods [37] { Method [ static public method create ] { - Parameters [2] { @@ -2020,6 +1958,19 @@ Extension [ extension #118 swoole version 4.6.7 ] { } } + Method [ static public method cancel ] { + + - Parameters [1] { + Parameter #0 [ $cid ] + } + } + + Method [ static public method isCanceled ] { + + - Parameters [0] { + } + } + Method [ static public method suspend ] { - Parameters [0] { @@ -2125,9 +2076,10 @@ Extension [ extension #118 swoole version 4.6.7 ] { Method [ static public method dnsLookup ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ $domain_name ] Parameter #1 [ $timeout ] + Parameter #2 [ $type ] } } @@ -2716,9 +2668,10 @@ Extension [ extension #118 swoole version 4.6.7 ] { Method [ static public method dnsLookup ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ $domain_name ] Parameter #1 [ $timeout ] + Parameter #2 [ $type ] } } @@ -6474,7 +6427,7 @@ Extension [ extension #118 swoole version 4.6.7 ] { - Static methods [0] { } - - Properties [16] { + - Properties [17] { Property [ private $onConnect ] Property [ private $onReceive ] Property [ private $onClose ] @@ -6485,6 +6438,7 @@ Extension [ extension #118 swoole version 4.6.7 ] { Property [ private $onHandShake ] Property [ private $onOpen ] Property [ private $onMessage ] + Property [ private $onDisconnect ] Property [ public $host ] Property [ public $port ] Property [ public $type ] -- cgit