diff options
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 457 |
1 files changed, 327 insertions, 130 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #113 swoole version 4.4.18 ] { +Extension [ <persistent> extension #113 swoole version 4.5.0 ] { - INI { Entry [ swoole.enable_coroutine <ALL> ] @@ -21,12 +21,12 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } - - Constants [329] { - Constant [ string SWOOLE_VERSION ] { 4.4.18 } - Constant [ int SWOOLE_VERSION_ID ] { 40418 } + - Constants [334] { + Constant [ string SWOOLE_VERSION ] { 4.5.0 } + Constant [ int SWOOLE_VERSION_ID ] { 40500 } Constant [ int SWOOLE_MAJOR_VERSION ] { 4 } - Constant [ int SWOOLE_MINOR_VERSION ] { 4 } - Constant [ int SWOOLE_RELEASE_VERSION ] { 18 } + Constant [ int SWOOLE_MINOR_VERSION ] { 5 } + Constant [ int SWOOLE_RELEASE_VERSION ] { 0 } Constant [ string SWOOLE_EXTRA_VERSION ] { } Constant [ bool SWOOLE_DEBUG ] { } Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 } @@ -60,9 +60,6 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Constant [ int SWOOLE_SSLv3_METHOD ] { 1 } Constant [ int SWOOLE_SSLv3_SERVER_METHOD ] { 2 } Constant [ int SWOOLE_SSLv3_CLIENT_METHOD ] { 3 } - Constant [ int SWOOLE_SSLv23_METHOD ] { 0 } - Constant [ int SWOOLE_SSLv23_SERVER_METHOD ] { 4 } - Constant [ int SWOOLE_SSLv23_CLIENT_METHOD ] { 5 } Constant [ int SWOOLE_TLSv1_METHOD ] { 6 } Constant [ int SWOOLE_TLSv1_SERVER_METHOD ] { 7 } Constant [ int SWOOLE_TLSv1_CLIENT_METHOD ] { 8 } @@ -72,9 +69,14 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Constant [ int SWOOLE_TLSv1_2_METHOD ] { 12 } Constant [ int SWOOLE_TLSv1_2_SERVER_METHOD ] { 13 } Constant [ int SWOOLE_TLSv1_2_CLIENT_METHOD ] { 14 } - Constant [ int SWOOLE_DTLSv1_METHOD ] { 15 } - Constant [ int SWOOLE_DTLSv1_SERVER_METHOD ] { 16 } - Constant [ int SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } + Constant [ int SWOOLE_DTLS_SERVER_METHOD ] { 16 } + Constant [ int SWOOLE_DTLS_CLIENT_METHOD ] { 15 } + Constant [ int SWOOLE_SSLv23_METHOD ] { 0 } + Constant [ int SWOOLE_SSLv23_SERVER_METHOD ] { 4 } + Constant [ int SWOOLE_SSLv23_CLIENT_METHOD ] { 5 } + Constant [ int SWOOLE_TLS_METHOD ] { 0 } + Constant [ int SWOOLE_TLS_SERVER_METHOD ] { 4 } + Constant [ int SWOOLE_TLS_CLIENT_METHOD ] { 5 } Constant [ int SWOOLE_EVENT_READ ] { 512 } Constant [ int SWOOLE_EVENT_WRITE ] { 1024 } Constant [ int SWOOLE_STRERROR_SYSTEM ] { 0 } @@ -104,15 +106,16 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Constant [ int SWOOLE_ERROR_SESSION_NOT_EXIST ] { 1005 } Constant [ int SWOOLE_ERROR_SESSION_INVALID_ID ] { 1006 } Constant [ int SWOOLE_ERROR_SESSION_DISCARD_TIMEOUT_DATA ] { 1007 } - Constant [ int SWOOLE_ERROR_OUTPUT_BUFFER_OVERFLOW ] { 1008 } - Constant [ int SWOOLE_ERROR_OUTPUT_SEND_YIELD ] { 1009 } - Constant [ int SWOOLE_ERROR_SSL_NOT_READY ] { 1010 } - Constant [ int SWOOLE_ERROR_SSL_CANNOT_USE_SENFILE ] { 1011 } - Constant [ int SWOOLE_ERROR_SSL_EMPTY_PEER_CERTIFICATE ] { 1012 } - Constant [ int SWOOLE_ERROR_SSL_VEFIRY_FAILED ] { 1013 } - Constant [ int SWOOLE_ERROR_SSL_BAD_CLIENT ] { 1014 } - Constant [ int SWOOLE_ERROR_SSL_BAD_PROTOCOL ] { 1015 } - Constant [ int SWOOLE_ERROR_SSL_RESET ] { 1016 } + Constant [ int SWOOLE_ERROR_SESSION_DISCARD_DATA ] { 1008 } + Constant [ int SWOOLE_ERROR_OUTPUT_BUFFER_OVERFLOW ] { 1009 } + Constant [ int SWOOLE_ERROR_OUTPUT_SEND_YIELD ] { 1010 } + Constant [ int SWOOLE_ERROR_SSL_NOT_READY ] { 1011 } + Constant [ int SWOOLE_ERROR_SSL_CANNOT_USE_SENFILE ] { 1012 } + Constant [ int SWOOLE_ERROR_SSL_EMPTY_PEER_CERTIFICATE ] { 1013 } + Constant [ int SWOOLE_ERROR_SSL_VERIFY_FAILED ] { 1014 } + Constant [ int SWOOLE_ERROR_SSL_BAD_CLIENT ] { 1015 } + Constant [ int SWOOLE_ERROR_SSL_BAD_PROTOCOL ] { 1016 } + Constant [ int SWOOLE_ERROR_SSL_RESET ] { 1017 } Constant [ int SWOOLE_ERROR_PACKAGE_LENGTH_TOO_LARGE ] { 1201 } Constant [ int SWOOLE_ERROR_PACKAGE_LENGTH_NOT_FOUND ] { 1202 } Constant [ int SWOOLE_ERROR_DATA_LENGTH_TOO_LARGE ] { 1203 } @@ -300,6 +303,8 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Constant [ int SWOOLE_TASK_COROUTINE ] { 32 } Constant [ int SWOOLE_TASK_PEEK ] { 64 } Constant [ int SWOOLE_TASK_NOREPLY ] { 128 } + Constant [ int SWOOLE_WORKER_BUSY ] { 1 } + Constant [ int SWOOLE_WORKER_IDLE ] { 2 } Constant [ int SWOOLE_WEBSOCKET_STATUS_CONNECTION ] { 1 } Constant [ int SWOOLE_WEBSOCKET_STATUS_HANDSHAKE ] { 2 } Constant [ int SWOOLE_WEBSOCKET_STATUS_ACTIVE ] { 3 } @@ -448,12 +453,44 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Parameter #1 [ <optional> $type ] } } + Function [ <internal:swoole> function swoole_mime_type_add ] { + + - Parameters [2] { + Parameter #0 [ <required> $suffix ] + Parameter #1 [ <required> $mime_type ] + } + } + Function [ <internal:swoole> function swoole_mime_type_set ] { + + - Parameters [2] { + Parameter #0 [ <required> $suffix ] + Parameter #1 [ <required> $mime_type ] + } + } + Function [ <internal:swoole> function swoole_mime_type_delete ] { + + - Parameters [1] { + Parameter #0 [ <required> $suffix ] + } + } + Function [ <internal:swoole> function swoole_mime_type_get ] { + + - Parameters [1] { + Parameter #0 [ <required> $filename ] + } + } Function [ <internal:swoole> function swoole_get_mime_type ] { - Parameters [1] { Parameter #0 [ <required> $filename ] } } + Function [ <internal:swoole> function swoole_mime_type_exists ] { + + - Parameters [1] { + Parameter #0 [ <required> $filename ] + } + } Function [ <internal:swoole> function swoole_clear_dns_cache ] { - Parameters [0] { @@ -597,7 +634,7 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } - - Classes [47] { + - Classes [46] { Class [ <internal:swoole> class Swoole\Exception extends Exception implements Throwable ] { - Constants [0] { @@ -943,95 +980,6 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } - Class [ <internal:swoole> class Swoole\Buffer ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [2] { - Property [ <default> public $capacity ] - Property [ <default> public $length ] - } - - - Methods [10] { - Method [ <internal:swoole, ctor> public method __construct ] { - - - Parameters [1] { - Parameter #0 [ <optional> $size ] - } - } - - Method [ <internal:swoole, dtor> public method __destruct ] { - - - Parameters [0] { - } - } - - Method [ <internal:swoole> public method __toString ] { - - - Parameters [0] { - } - } - - Method [ <internal:swoole> public method substr ] { - - - Parameters [3] { - Parameter #0 [ <required> $offset ] - Parameter #1 [ <optional> $length ] - Parameter #2 [ <optional> $remove ] - } - } - - Method [ <internal:swoole> public method write ] { - - - Parameters [2] { - Parameter #0 [ <required> $offset ] - Parameter #1 [ <required> $data ] - } - } - - Method [ <internal:swoole> public method read ] { - - - Parameters [2] { - Parameter #0 [ <required> $offset ] - Parameter #1 [ <required> $length ] - } - } - - Method [ <internal:swoole> public method append ] { - - - Parameters [1] { - Parameter #0 [ <required> $data ] - } - } - - Method [ <internal:swoole> public method expand ] { - - - Parameters [1] { - Parameter #0 [ <required> $size ] - } - } - - Method [ <internal:swoole> public method recycle ] { - - - Parameters [0] { - } - } - - Method [ <internal:swoole> public method clear ] { - - - Parameters [0] { - } - } - } - } - Class [ <internal:swoole> class Swoole\Lock ] { - Constants [5] { @@ -1891,7 +1839,7 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { - Static properties [0] { } - - Static methods [28] { + - Static methods [33] { Method [ <internal:swoole> static public method create ] { - Parameters [2] { @@ -1981,6 +1929,13 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } + Method [ <internal:swoole> static public method getElapsed ] { + + - Parameters [1] { + Parameter #0 [ <optional> $cid ] + } + } + Method [ <internal:swoole> static public method list ] { - Parameters [0] { @@ -2095,6 +2050,38 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Parameter #0 [ <required> $path ] } } + + Method [ <internal:swoole> static public method wait ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> static public method waitPid ] { + + - Parameters [2] { + Parameter #0 [ <required> $pid ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> static public method waitSignal ] { + + - Parameters [2] { + Parameter #0 [ <required> $signo ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> static public method waitEvent ] { + + - Parameters [3] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $events ] + Parameter #2 [ <optional> $timeout ] + } + } } - Properties [0] { @@ -2525,7 +2512,7 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { - Static properties [0] { } - - Static methods [11] { + - Static methods [15] { Method [ <internal:swoole> static public method gethostbyname ] { - Parameters [3] { @@ -2616,6 +2603,38 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Parameter #0 [ <required> $path ] } } + + Method [ <internal:swoole> static public method wait ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> static public method waitPid ] { + + - Parameters [2] { + Parameter #0 [ <required> $pid ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> static public method waitSignal ] { + + - Parameters [2] { + Parameter #0 [ <required> $signo ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> static public method waitEvent ] { + + - Parameters [3] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $events ] + Parameter #2 [ <optional> $timeout ] + } + } } - Properties [0] { @@ -2752,12 +2771,6 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } - Static methods [3] { - Method [ <internal:swoole> static public method enableStrictMode ] { - - - Parameters [0] { - } - } - Method [ <internal:swoole> static public method enableCoroutine ] { - Parameters [2] { @@ -2771,6 +2784,13 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { - Parameters [0] { } } + + Method [ <internal:swoole> static public method setHookFlags ] { + + - Parameters [1] { + Parameter #0 [ <required> $flags ] + } + } } - Properties [0] { @@ -2797,7 +2817,7 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Property [ <default> public $errMsg ] } - - Methods [21] { + - Methods [24] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [3] { @@ -2838,6 +2858,19 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } + Method [ <internal:swoole> public method checkLiveness ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method peek ] { + + - Parameters [1] { + Parameter #0 [ <optional> $length ] + } + } + Method [ <internal:swoole> public method recv ] { - Parameters [2] { @@ -2927,6 +2960,12 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } + Method [ <internal:swoole> public method sslHandshake ] { + + - Parameters [0] { + } + } + Method [ <internal:swoole> public method shutdown ] { - Parameters [1] { @@ -3357,7 +3396,7 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Property [ <default> public $body ] } - - Methods [25] { + - Methods [28] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [3] { @@ -3458,6 +3497,18 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } + Method [ <internal:swoole> public method getpeername ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getsockname ] { + + - Parameters [0] { + } + } + Method [ <internal:swoole> public method get ] { - Parameters [1] { @@ -3512,6 +3563,12 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } + Method [ <internal:swoole> public method getPeerCert ] { + + - Parameters [0] { + } + } + Method [ <internal:swoole> public method upgrade ] { - Parameters [1] { @@ -5206,7 +5263,7 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Property [ <default> public $ssl ] } - - Methods [12] { + - Methods [13] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [3] { @@ -5272,6 +5329,13 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } + Method [ <internal:swoole> public method read ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + Method [ <internal:swoole> public method goaway ] { - Parameters [2] { @@ -5412,11 +5476,13 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { - Static methods [0] { } - - Properties [23] { + - Properties [25] { Property [ <default> private $onStart ] Property [ <default> private $onShutdown ] Property [ <default> private $onWorkerStart ] Property [ <default> private $onWorkerStop ] + Property [ <default> private $onBeforeReload ] + Property [ <default> private $onAfterReload ] Property [ <default> private $onWorkerExit ] Property [ <default> private $onWorkerError ] Property [ <default> private $onTask ] @@ -5438,7 +5504,7 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Property [ <default> public $worker_pid ] } - - Methods [42] { + - Methods [47] { Method [ <internal:swoole, ctor> public method __construct ] { - Parameters [4] { @@ -5678,6 +5744,37 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } + Method [ <internal:swoole> public method getWorkerId ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getWorkerPid ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getWorkerStatus ] { + + - Parameters [1] { + Parameter #0 [ <optional> $worker_id ] + } + } + + Method [ <internal:swoole> public method getManagerPid ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getMasterPid ] { + + - Parameters [0] { + } + } + Method [ <internal:swoole> public method connection_info ] { - Parameters [2] { @@ -5986,13 +6083,19 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Property [ <default> public $tmpfiles ] } - - Methods [3] { + - Methods [4] { Method [ <internal:swoole> public method rawContent ] { - Parameters [0] { } } + Method [ <internal:swoole> public method getContent ] { + + - Parameters [0] { + } + } + Method [ <internal:swoole> public method getData ] { - Parameters [0] { @@ -6018,8 +6121,9 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { - Static methods [1] { Method [ <internal:swoole> static public method create ] { - - Parameters [1] { - Parameter #0 [ <required> $fd ] + - Parameters [2] { + Parameter #0 [ <required> $server ] + Parameter #1 [ <optional> $fd ] } } } @@ -6228,7 +6332,7 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Property [ <default> private $onRequest ] } - - Methods [42] { + - Methods [47] { Method [ <internal:swoole, inherits Swoole\Server, ctor> public method __construct ] { - Parameters [4] { @@ -6468,6 +6572,37 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } + Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerId ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerPid ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerStatus ] { + + - Parameters [1] { + Parameter #0 [ <optional> $worker_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getManagerPid ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getMasterPid ] { + + - Parameters [0] { + } + } + Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] { - Parameters [2] { @@ -6667,7 +6802,7 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Property [ <default> private $onHandshake ] } - - Methods [45] { + - Methods [50] { Method [ <internal:swoole> public method push ] { - Parameters [4] { @@ -6933,6 +7068,37 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } + Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerId ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerPid ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerStatus ] { + + - Parameters [1] { + Parameter #0 [ <optional> $worker_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getManagerPid ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getMasterPid ] { + + - Parameters [0] { + } + } + Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] { - Parameters [2] { @@ -7145,7 +7311,7 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { Property [ <default> public $worker_pid ] } - - Methods [44] { + - Methods [49] { Method [ <internal:swoole, overwrites Swoole\Server, prototype Swoole\Server> public method start ] { - Parameters [0] { @@ -7400,6 +7566,37 @@ Extension [ <persistent> extension #113 swoole version 4.4.18 ] { } } + Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerId ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerPid ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerStatus ] { + + - Parameters [1] { + Parameter #0 [ <optional> $worker_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getManagerPid ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getMasterPid ] { + + - Parameters [0] { + } + } + Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] { - Parameters [2] { |