summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO9
-rw-r--r--REFLECTION5331
-rw-r--r--php-pecl-swoole4.spec30
3 files changed, 2885 insertions, 2485 deletions
diff --git a/PHPINFO b/PHPINFO
index 59f14e7..4972cd6 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -3,8 +3,8 @@ swoole
Swoole => enabled
Author => Swoole Team <team@swoole.com>
-Version => 4.3.5
-Built => Jun 14 2019 10:39:50
+Version => 4.4.0
+Built => Jul 7 2019 07:55:38
coroutine => enabled
trace_log => enabled
epoll => enabled
@@ -14,7 +14,7 @@ cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
sockets => enabled
-openssl => OpenSSL 1.1.1b FIPS 26 Feb 2019
+openssl => OpenSSL 1.1.1c FIPS 28 May 2019
http2 => enabled
pcre => enabled
zlib => enabled
@@ -24,10 +24,11 @@ pthread_barrier => enabled
futex => enabled
mysqlnd => enabled
async_redis => enabled
-coroutine_postgresql => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
+swoole.enable_library => On => On
+swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => On => On
swoole.unixsock_buffer_size => 8388608 => 8388608
diff --git a/REFLECTION b/REFLECTION
index b3374e5..4cfdac9 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,9 +1,15 @@
-Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
+Extension [ <persistent> extension #153 swoole version 4.4.0 ] {
- INI {
Entry [ swoole.enable_coroutine <ALL> ]
Current = 'On'
}
+ Entry [ swoole.enable_library <ALL> ]
+ Current = 'On'
+ }
+ Entry [ swoole.enable_preemptive_scheduler <ALL> ]
+ Current = 'Off'
+ }
Entry [ swoole.display_errors <ALL> ]
Current = 'On'
}
@@ -15,12 +21,12 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- - Constants [287] {
- Constant [ string SWOOLE_VERSION ] { 4.3.5 }
- Constant [ integer SWOOLE_VERSION_ID ] { 40305 }
+ - Constants [311] {
+ Constant [ string SWOOLE_VERSION ] { 4.4.0 }
+ Constant [ integer SWOOLE_VERSION_ID ] { 40400 }
Constant [ integer SWOOLE_MAJOR_VERSION ] { 4 }
- Constant [ integer SWOOLE_MINOR_VERSION ] { 3 }
- Constant [ integer SWOOLE_RELEASE_VERSION ] { 5 }
+ Constant [ integer SWOOLE_MINOR_VERSION ] { 4 }
+ Constant [ integer SWOOLE_RELEASE_VERSION ] { 0 }
Constant [ string SWOOLE_EXTRA_VERSION ] { }
Constant [ boolean SWOOLE_DEBUG ] { }
Constant [ integer SWOOLE_BASE ] { 1 }
@@ -100,7 +106,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
Constant [ integer SWOOLE_ERROR_SSL_BAD_CLIENT ] { 1013 }
Constant [ integer SWOOLE_ERROR_SSL_BAD_PROTOCOL ] { 1014 }
Constant [ integer SWOOLE_ERROR_PACKAGE_LENGTH_TOO_LARGE ] { 1201 }
- Constant [ integer SWOOLE_ERROR_DATA_LENGTH_TOO_LARGE ] { 1202 }
+ Constant [ integer SWOOLE_ERROR_DATA_LENGTH_TOO_LARGE ] { 1203 }
Constant [ integer SWOOLE_ERROR_TASK_PACKAGE_TOO_BIG ] { 2001 }
Constant [ integer SWOOLE_ERROR_TASK_DISPATCH_FAIL ] { 2002 }
Constant [ integer SWOOLE_ERROR_HTTP2_STREAM_ID_TOO_BIG ] { 3001 }
@@ -153,21 +159,23 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
Constant [ integer SWOOLE_TRACE_WORKER ] { 64 }
Constant [ integer SWOOLE_TRACE_REACTOR ] { 256 }
Constant [ integer SWOOLE_TRACE_PHP ] { 512 }
- Constant [ integer SWOOLE_TRACE_HTTP2 ] { 1024 }
- Constant [ integer SWOOLE_TRACE_EOF_PROTOCOL ] { 2048 }
- Constant [ integer SWOOLE_TRACE_LENGTH_PROTOCOL ] { 4096 }
- Constant [ integer SWOOLE_TRACE_CLOSE ] { 8192 }
- Constant [ integer SWOOLE_TRACE_HTTP_CLIENT ] { 16384 }
+ Constant [ integer SWOOLE_TRACE_HTTP ] { 1024 }
+ Constant [ integer SWOOLE_TRACE_HTTP2 ] { 2048 }
+ Constant [ integer SWOOLE_TRACE_EOF_PROTOCOL ] { 4096 }
+ Constant [ integer SWOOLE_TRACE_LENGTH_PROTOCOL ] { 8192 }
+ Constant [ integer SWOOLE_TRACE_CLOSE ] { 16384 }
Constant [ integer SWOOLE_TRACE_REDIS_CLIENT ] { 65536 }
Constant [ integer SWOOLE_TRACE_MYSQL_CLIENT ] { 131072 }
- Constant [ integer SWOOLE_TRACE_AIO ] { 262144 }
- Constant [ integer SWOOLE_TRACE_SSL ] { 524288 }
- Constant [ integer SWOOLE_TRACE_NORMAL ] { 1048576 }
- Constant [ integer SWOOLE_TRACE_CHANNEL ] { 2097152 }
- Constant [ integer SWOOLE_TRACE_TIMER ] { 4194304 }
- Constant [ integer SWOOLE_TRACE_SOCKET ] { 8388608 }
- Constant [ integer SWOOLE_TRACE_COROUTINE ] { 16777216 }
- Constant [ integer SWOOLE_TRACE_CONTEXT ] { 33554432 }
+ Constant [ integer SWOOLE_TRACE_HTTP_CLIENT ] { 262144 }
+ Constant [ integer SWOOLE_TRACE_AIO ] { 524288 }
+ Constant [ integer SWOOLE_TRACE_SSL ] { 1048576 }
+ Constant [ integer SWOOLE_TRACE_NORMAL ] { 2097152 }
+ Constant [ integer SWOOLE_TRACE_CHANNEL ] { 4194304 }
+ Constant [ integer SWOOLE_TRACE_TIMER ] { 8388608 }
+ Constant [ integer SWOOLE_TRACE_SOCKET ] { 16777216 }
+ Constant [ integer SWOOLE_TRACE_COROUTINE ] { 33554432 }
+ Constant [ integer SWOOLE_TRACE_CONTEXT ] { 67108864 }
+ Constant [ integer SWOOLE_TRACE_CO_HTTP_SERVER ] { 134217728 }
Constant [ integer SWOOLE_TRACE_ALL ] { 4294967295 }
Constant [ integer SWOOLE_LOG_DEBUG ] { 0 }
Constant [ integer SWOOLE_LOG_TRACE ] { 1 }
@@ -179,56 +187,107 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
Constant [ integer SWOOLE_IPC_NONE ] { 0 }
Constant [ integer SWOOLE_IPC_UNIXSOCK ] { 1 }
Constant [ integer SWOOLE_IPC_SOCKET ] { 3 }
- Constant [ integer SWOOLE_DISPATCH_RESULT_DISCARD_PACKET ] { -1 }
- Constant [ integer SWOOLE_DISPATCH_RESULT_CLOSE_CONNECTION ] { -2 }
- Constant [ integer SWOOLE_DISPATCH_RESULT_USERFUNC_FALLBACK ] { -3 }
- Constant [ integer SWOOLE_REDIS_MODE_MULTI ] { 0 }
- Constant [ integer SWOOLE_REDIS_MODE_PIPELINE ] { 1 }
- Constant [ integer SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 }
- Constant [ integer SWOOLE_REDIS_TYPE_STRING ] { 1 }
- Constant [ integer SWOOLE_REDIS_TYPE_SET ] { 2 }
- Constant [ integer SWOOLE_REDIS_TYPE_LIST ] { 3 }
- Constant [ integer SWOOLE_REDIS_TYPE_ZSET ] { 4 }
- Constant [ integer SWOOLE_REDIS_TYPE_HASH ] { 5 }
- Constant [ integer SWOOLE_REDIS_ERR_IO ] { 1 }
- Constant [ integer SWOOLE_REDIS_ERR_OTHER ] { 2 }
- Constant [ integer SWOOLE_REDIS_ERR_EOF ] { 3 }
- Constant [ integer SWOOLE_REDIS_ERR_PROTOCOL ] { 4 }
- Constant [ integer SWOOLE_REDIS_ERR_OOM ] { 5 }
- Constant [ integer SWOOLE_REDIS_ERR_CLOSED ] { 6 }
- Constant [ integer SWOOLE_REDIS_ERR_NOAUTH ] { 7 }
- Constant [ integer SWOOLE_REDIS_ERR_ALLOC ] { 8 }
- Constant [ integer SW_PGSQL_ASSOC ] { 1 }
- Constant [ integer SW_PGSQL_NUM ] { 2 }
- Constant [ integer SW_PGSQL_BOTH ] { 3 }
- Constant [ integer SWOOLE_HTTP_CLIENT_ESTATUS_CONNECT_FAILED ] { -1 }
- Constant [ integer SWOOLE_HTTP_CLIENT_ESTATUS_REQUEST_TIMEOUT ] { -2 }
- Constant [ integer SWOOLE_HTTP_CLIENT_ESTATUS_SERVER_RESET ] { -3 }
- Constant [ integer SWOOLE_DEFAULT_MAX_CORO_NUM ] { 3000 }
+ Constant [ integer SWOOLE_FILELOCK ] { 2 }
+ Constant [ integer SWOOLE_MUTEX ] { 3 }
+ Constant [ integer SWOOLE_SEM ] { 4 }
+ Constant [ integer SWOOLE_RWLOCK ] { 1 }
+ Constant [ integer SWOOLE_SPINLOCK ] { 5 }
+ Constant [ integer SWOOLE_TIMER_MIN_MS ] { 1 }
+ Constant [ float SWOOLE_TIMER_MIN_SEC ] { 0,001 }
+ Constant [ integer SWOOLE_TIMER_MAX_MS ] { 9223372036854775807 }
+ Constant [ float SWOOLE_TIMER_MAX_SEC ] { 9,2233720368548E+15 }
+ Constant [ integer SWOOLE_DEFAULT_MAX_CORO_NUM ] { 100000 }
Constant [ integer SWOOLE_CORO_MAX_NUM_LIMIT ] { 9223372036854775807 }
Constant [ integer SWOOLE_CORO_INIT ] { 0 }
Constant [ integer SWOOLE_CORO_WAITING ] { 1 }
Constant [ integer SWOOLE_CORO_RUNNING ] { 2 }
Constant [ integer SWOOLE_CORO_END ] { 3 }
- Constant [ integer SWOOLE_CORO_SCHEDULER_TICK ] { 1 }
Constant [ integer SWOOLE_EXIT_IN_COROUTINE ] { 2 }
Constant [ integer SWOOLE_EXIT_IN_SERVER ] { 4 }
+ Constant [ integer SWOOLE_CHANNEL_OK ] { 0 }
+ Constant [ integer SWOOLE_CHANNEL_TIMEOUT ] { -1 }
+ Constant [ integer SWOOLE_CHANNEL_CLOSED ] { -2 }
Constant [ integer SWOOLE_HOOK_TCP ] { 2 }
Constant [ integer SWOOLE_HOOK_UDP ] { 4 }
Constant [ integer SWOOLE_HOOK_UNIX ] { 8 }
Constant [ integer SWOOLE_HOOK_UDG ] { 16 }
Constant [ integer SWOOLE_HOOK_SSL ] { 32 }
Constant [ integer SWOOLE_HOOK_TLS ] { 64 }
+ Constant [ integer SWOOLE_HOOK_STREAM_FUNCTION ] { 128 }
Constant [ integer SWOOLE_HOOK_STREAM_SELECT ] { 128 }
Constant [ integer SWOOLE_HOOK_FILE ] { 256 }
Constant [ integer SWOOLE_HOOK_SLEEP ] { 512 }
+ Constant [ integer SWOOLE_HOOK_PROC ] { 1024 }
+ Constant [ integer SWOOLE_HOOK_CURL ] { 268435456 }
Constant [ integer SWOOLE_HOOK_BLOCKING_FUNCTION ] { 1073741824 }
- Constant [ integer SWOOLE_HOOK_ALL ] { 2147483647 }
- Constant [ integer SWOOLE_FILELOCK ] { 2 }
- Constant [ integer SWOOLE_MUTEX ] { 3 }
- Constant [ integer SWOOLE_SEM ] { 4 }
- Constant [ integer SWOOLE_RWLOCK ] { 1 }
- Constant [ integer SWOOLE_SPINLOCK ] { 5 }
+ Constant [ integer SWOOLE_HOOK_ALL ] { 1879048191 }
+ Constant [ integer SOCKET_ECANCELED ] { 125 }
+ Constant [ integer SWOOLE_HTTP_CLIENT_ESTATUS_CONNECT_FAILED ] { -1 }
+ Constant [ integer SWOOLE_HTTP_CLIENT_ESTATUS_REQUEST_TIMEOUT ] { -2 }
+ Constant [ integer SWOOLE_HTTP_CLIENT_ESTATUS_SERVER_RESET ] { -3 }
+ Constant [ integer SWOOLE_MYSQLND_CR_UNKNOWN_ERROR ] { 2000 }
+ Constant [ integer SWOOLE_MYSQLND_CR_CONNECTION_ERROR ] { 2002 }
+ Constant [ integer SWOOLE_MYSQLND_CR_SERVER_GONE_ERROR ] { 2006 }
+ Constant [ integer SWOOLE_MYSQLND_CR_OUT_OF_MEMORY ] { 2008 }
+ Constant [ integer SWOOLE_MYSQLND_CR_SERVER_LOST ] { 2013 }
+ Constant [ integer SWOOLE_MYSQLND_CR_COMMANDS_OUT_OF_SYNC ] { 2014 }
+ Constant [ integer SWOOLE_MYSQLND_CR_CANT_FIND_CHARSET ] { 2019 }
+ Constant [ integer SWOOLE_MYSQLND_CR_MALFORMED_PACKET ] { 2027 }
+ Constant [ integer SWOOLE_MYSQLND_CR_NOT_IMPLEMENTED ] { 2054 }
+ Constant [ integer SWOOLE_MYSQLND_CR_NO_PREPARE_STMT ] { 2030 }
+ Constant [ integer SWOOLE_MYSQLND_CR_PARAMS_NOT_BOUND ] { 2031 }
+ Constant [ integer SWOOLE_MYSQLND_CR_INVALID_PARAMETER_NO ] { 2034 }
+ Constant [ integer SWOOLE_MYSQLND_CR_INVALID_BUFFER_USE ] { 2035 }
+ Constant [ integer SWOOLE_REDIS_MODE_MULTI ] { 0 }
+ Constant [ integer SWOOLE_REDIS_MODE_PIPELINE ] { 1 }
+ Constant [ integer SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 }
+ Constant [ integer SWOOLE_REDIS_TYPE_STRING ] { 1 }
+ Constant [ integer SWOOLE_REDIS_TYPE_SET ] { 2 }
+ Constant [ integer SWOOLE_REDIS_TYPE_LIST ] { 3 }
+ Constant [ integer SWOOLE_REDIS_TYPE_ZSET ] { 4 }
+ Constant [ integer SWOOLE_REDIS_TYPE_HASH ] { 5 }
+ Constant [ integer SWOOLE_REDIS_ERR_IO ] { 1 }
+ Constant [ integer SWOOLE_REDIS_ERR_OTHER ] { 2 }
+ Constant [ integer SWOOLE_REDIS_ERR_EOF ] { 3 }
+ Constant [ integer SWOOLE_REDIS_ERR_PROTOCOL ] { 4 }
+ Constant [ integer SWOOLE_REDIS_ERR_OOM ] { 5 }
+ Constant [ integer SWOOLE_REDIS_ERR_CLOSED ] { 6 }
+ Constant [ integer SWOOLE_REDIS_ERR_NOAUTH ] { 7 }
+ Constant [ integer SWOOLE_REDIS_ERR_ALLOC ] { 8 }
+ 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 }
+ Constant [ integer SWOOLE_HTTP2_ERROR_FLOW_CONTROL_ERROR ] { 3 }
+ Constant [ integer SWOOLE_HTTP2_ERROR_SETTINGS_TIMEOUT ] { 4 }
+ Constant [ integer SWOOLE_HTTP2_ERROR_STREAM_CLOSED ] { 5 }
+ Constant [ integer SWOOLE_HTTP2_ERROR_FRAME_SIZE_ERROR ] { 6 }
+ Constant [ integer SWOOLE_HTTP2_ERROR_REFUSED_STREAM ] { 7 }
+ Constant [ integer SWOOLE_HTTP2_ERROR_CANCEL ] { 8 }
+ Constant [ integer SWOOLE_HTTP2_ERROR_COMPRESSION_ERROR ] { 9 }
+ Constant [ integer SWOOLE_HTTP2_ERROR_CONNECT_ERROR ] { 10 }
+ Constant [ integer SWOOLE_HTTP2_ERROR_ENHANCE_YOUR_CALM ] { 11 }
+ Constant [ integer SWOOLE_HTTP2_ERROR_INADEQUATE_SECURITY ] { 12 }
+ Constant [ integer SWOOLE_DISPATCH_RESULT_DISCARD_PACKET ] { -1 }
+ Constant [ integer SWOOLE_DISPATCH_RESULT_CLOSE_CONNECTION ] { -2 }
+ Constant [ integer SWOOLE_DISPATCH_RESULT_USERFUNC_FALLBACK ] { -3 }
+ Constant [ integer SWOOLE_TASK_TMPFILE ] { 1 }
+ Constant [ integer SWOOLE_TASK_SERIALIZE ] { 2 }
+ Constant [ integer SWOOLE_TASK_NONBLOCK ] { 4 }
+ Constant [ integer SWOOLE_TASK_CALLBACK ] { 8 }
+ Constant [ integer SWOOLE_TASK_WAITALL ] { 16 }
+ Constant [ integer SWOOLE_TASK_COROUTINE ] { 32 }
+ Constant [ integer SWOOLE_TASK_PEEK ] { 64 }
+ Constant [ integer SWOOLE_TASK_NOREPLY ] { 128 }
Constant [ integer SWOOLE_WEBSOCKET_STATUS_CONNECTION ] { 1 }
Constant [ integer SWOOLE_WEBSOCKET_STATUS_HANDSHAKE ] { 2 }
Constant [ integer SWOOLE_WEBSOCKET_STATUS_ACTIVE ] { 3 }
@@ -274,35 +333,6 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
Constant [ integer WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 }
Constant [ integer WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 }
Constant [ integer WEBSOCKET_CLOSE_TLS ] { 1015 }
- Constant [ integer SWOOLE_CHANNEL_OK ] { 0 }
- Constant [ integer SWOOLE_CHANNEL_TIMEOUT ] { -1 }
- Constant [ integer SWOOLE_CHANNEL_CLOSED ] { -2 }
- 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 }
- Constant [ integer SWOOLE_HTTP2_ERROR_FLOW_CONTROL_ERROR ] { 3 }
- Constant [ integer SWOOLE_HTTP2_ERROR_SETTINGS_TIMEOUT ] { 4 }
- Constant [ integer SWOOLE_HTTP2_ERROR_STREAM_CLOSED ] { 5 }
- Constant [ integer SWOOLE_HTTP2_ERROR_FRAME_SIZE_ERROR ] { 6 }
- Constant [ integer SWOOLE_HTTP2_ERROR_REFUSED_STREAM ] { 7 }
- Constant [ integer SWOOLE_HTTP2_ERROR_CANCEL ] { 8 }
- Constant [ integer SWOOLE_HTTP2_ERROR_COMPRESSION_ERROR ] { 9 }
- Constant [ integer SWOOLE_HTTP2_ERROR_CONNECT_ERROR ] { 10 }
- Constant [ integer SWOOLE_HTTP2_ERROR_ENHANCE_YOUR_CALM ] { 11 }
- Constant [ integer SWOOLE_HTTP2_ERROR_INADEQUATE_SECURITY ] { 12 }
- Constant [ integer SWOOLE_FAST_PACK ] { 1 }
- Constant [ integer UNSERIALIZE_OBJECT_TO_ARRAY ] { 1 }
- Constant [ integer UNSERIALIZE_OBJECT_TO_STDCLASS ] { 2 }
}
- Functions {
@@ -321,100 +351,6 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Parameters [0] {
}
}
- Function [ <internal:swoole> function swoole_event_add ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> callable or NULL $read_callback ]
- Parameter #2 [ <optional> callable or NULL $write_callback ]
- Parameter #3 [ <optional> $events ]
- }
- }
- Function [ <internal:swoole> function swoole_event_set ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <optional> callable or NULL $read_callback ]
- Parameter #2 [ <optional> callable or NULL $write_callback ]
- Parameter #3 [ <optional> $events ]
- }
- }
- Function [ <internal:swoole> function swoole_event_del ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $fd ]
- }
- }
- Function [ <internal:swoole> function swoole_event_exit ] {
-
- - Parameters [0] {
- }
- }
- Function [ <internal:swoole> function swoole_event_wait ] {
-
- - Parameters [0] {
- }
- }
- Function [ <internal:swoole> function swoole_event_write ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $data ]
- }
- }
- Function [ <internal:swoole> function swoole_event_defer ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> callable $callback ]
- }
- }
- Function [ <internal:swoole> function swoole_event_cycle ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> callable or NULL $callback ]
- Parameter #1 [ <optional> $before ]
- }
- }
- Function [ <internal:swoole> function swoole_event_dispatch ] {
-
- - Parameters [0] {
- }
- }
- Function [ <internal:swoole> function swoole_event_isset ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <optional> $events ]
- }
- }
- Function [ <internal:swoole> function swoole_timer_after ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> callable $callback ]
- Parameter #2 [ <optional> ...$params ]
- }
- }
- Function [ <internal:swoole> function swoole_timer_tick ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> callable $callback ]
- Parameter #2 [ <optional> ...$params ]
- }
- }
- Function [ <internal:swoole> function swoole_timer_exists ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $timer_id ]
- }
- }
- Function [ <internal:swoole> function swoole_timer_clear ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $timer_id ]
- }
- }
Function [ <internal:swoole> function swoole_async_dns_lookup_coro ] {
- Parameters [2] {
@@ -529,10 +465,123 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Parameters [0] {
}
}
+ Method [ <internal:swoole> public method swoole_event_add ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <required> callable or NULL $read_callback ]
+ Parameter #2 [ <optional> callable or NULL $write_callback ]
+ Parameter #3 [ <optional> $events ]
+ }
+ }
+ Method [ <internal:swoole> public method swoole_event_del ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $fd ]
+ }
+ }
+ Method [ <internal:swoole> public method swoole_event_set ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <optional> callable or NULL $read_callback ]
+ Parameter #2 [ <optional> callable or NULL $write_callback ]
+ Parameter #3 [ <optional> $events ]
+ }
+ }
+ Method [ <internal:swoole> public method swoole_event_isset ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <optional> $events ]
+ }
+ }
+ Method [ <internal:swoole> public method swoole_event_dispatch ] {
+
+ - Parameters [0] {
+ }
+ }
+ Method [ <internal:swoole> public method swoole_event_defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ }
+ Method [ <internal:swoole> public method swoole_event_cycle ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> callable or NULL $callback ]
+ Parameter #1 [ <optional> $before ]
+ }
+ }
+ Method [ <internal:swoole> public method swoole_event_write ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <required> $data ]
+ }
+ }
+ Method [ <internal:swoole> public method swoole_event_wait ] {
+
+ - Parameters [0] {
+ }
+ }
+ Method [ <internal:swoole> public method swoole_event_exit ] {
+
+ - Parameters [0] {
+ }
+ }
+ Method [ <internal:swoole> public method swoole_timer_after ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ }
+ Method [ <internal:swoole> public method swoole_timer_tick ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ }
+ Method [ <internal:swoole> public method swoole_timer_exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $timer_id ]
+ }
+ }
+ Method [ <internal:swoole> public method swoole_timer_info ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $timer_id ]
+ }
+ }
+ Method [ <internal:swoole> public method swoole_timer_stats ] {
+
+ - Parameters [0] {
+ }
+ }
+ Method [ <internal:swoole> public method swoole_timer_list ] {
+
+ - Parameters [0] {
+ }
+ }
+ Method [ <internal:swoole> public method swoole_timer_clear ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $timer_id ]
+ }
+ }
+ Method [ <internal:swoole> public method swoole_timer_clear_all ] {
+
+ - Parameters [0] {
+ }
+ }
}
- - Classes [44] {
- Class [ <internal:swoole> class Swoole\Timer ] {
+ - Classes [46] {
+ Class [ <internal:swoole> class Swoole\Exception extends Exception implements Throwable ] {
- Constants [0] {
}
@@ -540,44 +589,109 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static properties [0] {
}
- - Static methods [4] {
- Method [ <internal:swoole> static public method tick ] {
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ <default> protected $message ]
+ Property [ <default> protected $code ]
+ Property [ <default> protected $file ]
+ Property [ <default> protected $line ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
- Parameters [3] {
- Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> callable $callback ]
- Parameter #2 [ <optional> ...$params ]
+ Parameter #0 [ <optional> $message ]
+ Parameter #1 [ <optional> $code ]
+ Parameter #2 [ <optional> $previous ]
}
}
- Method [ <internal:swoole> static public method after ] {
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+ }
- - Parameters [3] {
- Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> callable $callback ]
- Parameter #2 [ <optional> ...$params ]
- }
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
}
- Method [ <internal:swoole> static public method exists ] {
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+ }
- - Parameters [1] {
- Parameter #0 [ <required> $timer_id ]
- }
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
}
- Method [ <internal:swoole> static public method clear ] {
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+ }
- - Parameters [1] {
- Parameter #0 [ <required> $timer_id ]
- }
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
}
}
+ }
- - Properties [0] {
+ Class [ <internal:swoole> class Swoole\Error extends Error implements Throwable ] {
+
+ - Constants [0] {
}
- - Methods [0] {
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ <default> protected $message ]
+ Property [ <default> protected $code ]
+ Property [ <default> protected $file ]
+ Property [ <default> protected $line ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Error, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> $message ]
+ Parameter #1 [ <optional> $code ]
+ Parameter #2 [ <optional> $previous ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Error> public method __wakeup ] {
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getMessage ] {
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getCode ] {
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getFile ] {
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getLine ] {
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getTrace ] {
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getPrevious ] {
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getTraceAsString ] {
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> public method __toString ] {
+ }
}
}
@@ -617,21 +731,15 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole> static public method exit ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> static public method write ] {
+ Method [ <internal:swoole> static public method isset ] {
- Parameters [2] {
Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $data ]
+ Parameter #1 [ <optional> $events ]
}
}
- Method [ <internal:swoole> static public method wait ] {
+ Method [ <internal:swoole> static public method dispatch ] {
- Parameters [0] {
}
@@ -652,17 +760,23 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole> static public method dispatch ] {
+ Method [ <internal:swoole> static public method write ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <required> $data ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method wait ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> static public method isset ] {
+ Method [ <internal:swoole> static public method exit ] {
- - Parameters [2] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <optional> $events ]
+ - Parameters [0] {
}
}
}
@@ -674,7 +788,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Class [ <internal:swoole> class Swoole\Exception extends Exception implements Throwable ] {
+ Class [ <internal:swoole> class Swoole\Atomic ] {
- Constants [0] {
}
@@ -685,53 +799,128 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static methods [0] {
}
- - Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ - Properties [0] {
}
- - Methods [10] {
- Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+ - Methods [8] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
- - Parameters [3] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
+ - Parameters [1] {
+ Parameter #0 [ <optional> $value ]
}
}
- Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+ Method [ <internal:swoole> public method add ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $add_value ]
+ }
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+ Method [ <internal:swoole> public method sub ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $sub_value ]
+ }
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+ Method [ <internal:swoole> public method get ] {
+
+ - Parameters [0] {
+ }
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+ Method [ <internal:swoole> public method wait ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout ]
+ }
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+ Method [ <internal:swoole> public method wakeup ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $count ]
+ }
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+ Method [ <internal:swoole> public method cmpset ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $cmp_value ]
+ Parameter #1 [ <required> $new_value ]
+ }
}
+ }
+ }
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+ Class [ <internal:swoole> class Swoole\Atomic\Long ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [6] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $value ]
+ }
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ Method [ <internal:swoole> public method add ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $add_value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sub ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $sub_value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method get ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method cmpset ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $cmp_value ]
+ Parameter #1 [ <required> $new_value ]
+ }
}
}
}
- Class [ <internal:swoole> class Swoole\Server ] {
+ Class [ <internal:swoole> class Swoole\Buffer ] {
- Constants [0] {
}
@@ -742,40 +931,16 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static methods [0] {
}
- - Properties [23] {
- Property [ <default> private $onStart ]
- Property [ <default> private $onShutdown ]
- Property [ <default> private $onWorkerStart ]
- Property [ <default> private $onWorkerStop ]
- Property [ <default> private $onWorkerExit ]
- Property [ <default> private $onWorkerError ]
- Property [ <default> private $onTask ]
- Property [ <default> private $onFinish ]
- Property [ <default> private $onManagerStart ]
- Property [ <default> private $onManagerStop ]
- Property [ <default> private $onPipeMessage ]
- Property [ <default> public $setting ]
- Property [ <default> public $connections ]
- Property [ <default> public $host ]
- Property [ <default> public $port ]
- Property [ <default> public $type ]
- Property [ <default> public $mode ]
- Property [ <default> public $ports ]
- Property [ <default> public $master_pid ]
- Property [ <default> public $manager_pid ]
- Property [ <default> public $worker_id ]
- Property [ <default> public $taskworker ]
- Property [ <default> public $worker_pid ]
+ - Properties [2] {
+ Property [ <default> public $capacity ]
+ Property [ <default> public $length ]
}
- - Methods [42] {
+ - Methods [10] {
Method [ <internal:swoole, ctor> public method __construct ] {
- - Parameters [4] {
- Parameter #0 [ <required> $host ]
- Parameter #1 [ <optional> $port ]
- Parameter #2 [ <optional> $mode ]
- Parameter #3 [ <optional> $sock_type ]
+ - Parameters [1] {
+ Parameter #0 [ <optional> $size ]
}
}
@@ -785,182 +950,402 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole> public method listen ] {
+ Method [ <internal:swoole> public method __toString ] {
- - Parameters [3] {
- Parameter #0 [ <required> $host ]
- Parameter #1 [ <required> $port ]
- Parameter #2 [ <required> $sock_type ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method addlistener ] {
+ Method [ <internal:swoole> public method substr ] {
- Parameters [3] {
- Parameter #0 [ <required> $host ]
- Parameter #1 [ <required> $port ]
- Parameter #2 [ <required> $sock_type ]
+ Parameter #0 [ <required> $offset ]
+ Parameter #1 [ <optional> $length ]
+ Parameter #2 [ <optional> $remove ]
}
}
- Method [ <internal:swoole> public method on ] {
+ Method [ <internal:swoole> public method write ] {
- Parameters [2] {
- Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> callable $callback ]
+ Parameter #0 [ <required> $offset ]
+ Parameter #1 [ <required> $data ]
}
}
- Method [ <internal:swoole> public method getCallback ] {
+ 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> $event_name ]
+ Parameter #0 [ <required> $data ]
}
}
- Method [ <internal:swoole> public method set ] {
+ Method [ <internal:swoole> public method expand ] {
- Parameters [1] {
- Parameter #0 [ <required> array $settings ]
+ Parameter #0 [ <required> $size ]
}
}
- Method [ <internal:swoole> public method start ] {
+ Method [ <internal:swoole> public method recycle ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method send ] {
+ Method [ <internal:swoole> public method clear ] {
- - Parameters [3] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $send_data ]
- Parameter #2 [ <optional> $server_socket ]
+ - Parameters [0] {
}
}
+ }
+ }
- Method [ <internal:swoole> public method sendto ] {
+ Class [ <internal:swoole> class Swoole\Lock ] {
- - Parameters [4] {
- Parameter #0 [ <required> $ip ]
- Parameter #1 [ <required> $port ]
- Parameter #2 [ <required> $send_data ]
- Parameter #3 [ <optional> $server_socket ]
+ - Constants [5] {
+ Constant [ public integer FILELOCK ] { 2 }
+ Constant [ public integer MUTEX ] { 3 }
+ Constant [ public integer SEM ] { 4 }
+ Constant [ public integer RWLOCK ] { 1 }
+ Constant [ public integer SPINLOCK ] { 5 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [1] {
+ Property [ <default> public $errCode ]
+ }
+
+ - Methods [9] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $type ]
+ Parameter #1 [ <optional> $filename ]
}
}
- Method [ <internal:swoole> public method sendwait ] {
+ Method [ <internal:swoole, dtor> public method __destruct ] {
- - Parameters [2] {
- Parameter #0 [ <required> $conn_fd ]
- Parameter #1 [ <required> $send_data ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method exists ] {
+ Method [ <internal:swoole> public method lock ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method lockwait ] {
- Parameters [1] {
- Parameter #0 [ <required> $fd ]
+ Parameter #0 [ <optional> $timeout ]
}
}
- Method [ <internal:swoole> public method exist ] {
+ Method [ <internal:swoole> public method trylock ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method lock_read ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method trylock_read ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method unlock ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method destroy ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Process ] {
+
+ - Constants [5] {
+ Constant [ public integer IPC_NOWAIT ] { 256 }
+ Constant [ public integer PIPE_MASTER ] { 1 }
+ Constant [ public integer PIPE_WORKER ] { 2 }
+ Constant [ public integer PIPE_READ ] { 3 }
+ Constant [ public integer PIPE_WRITE ] { 4 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [6] {
+ Method [ <internal:swoole> static public method wait ] {
- Parameters [1] {
- Parameter #0 [ <required> $fd ]
+ Parameter #0 [ <optional> $blocking ]
}
}
- Method [ <internal:swoole> public method protect ] {
+ Method [ <internal:swoole> static public method signal ] {
- Parameters [2] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <optional> $is_protected ]
+ Parameter #0 [ <required> $signal_no ]
+ Parameter #1 [ <required> $callback ]
}
}
- Method [ <internal:swoole> public method sendfile ] {
+ Method [ <internal:swoole> static public method alarm ] {
- - Parameters [4] {
- Parameter #0 [ <required> $conn_fd ]
- Parameter #1 [ <required> $filename ]
- Parameter #2 [ <optional> $offset ]
- Parameter #3 [ <optional> $length ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $usec ]
+ Parameter #1 [ <optional> $type ]
}
}
- Method [ <internal:swoole> public method close ] {
+ Method [ <internal:swoole> static public method kill ] {
- Parameters [2] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <optional> $reset ]
+ Parameter #0 [ <required> $pid ]
+ Parameter #1 [ <optional> $signal_no ]
}
}
- Method [ <internal:swoole> public method confirm ] {
+ Method [ <internal:swoole> static public method daemon ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $nochdir ]
+ Parameter #1 [ <optional> $noclose ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method setaffinity ] {
- Parameters [1] {
- Parameter #0 [ <required> $fd ]
+ Parameter #0 [ <required> array $cpu_settings ]
}
}
+ }
- Method [ <internal:swoole> public method pause ] {
+ - Properties [6] {
+ Property [ <default> public $pipe ]
+ Property [ <default> public $callback ]
+ Property [ <default> public $msgQueueId ]
+ Property [ <default> public $msgQueueKey ]
+ Property [ <default> public $pid ]
+ Property [ <default> public $id ]
+ }
+
+ - Methods [17] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> callable $callback ]
+ Parameter #1 [ <optional> $redirect_stdin_and_stdout ]
+ Parameter #2 [ <optional> $pipe_type ]
+ Parameter #3 [ <optional> $enable_coroutine ]
+ }
+ }
+
+ Method [ <internal:swoole, dtor> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method setTimeout ] {
- Parameters [1] {
- Parameter #0 [ <required> $fd ]
+ Parameter #0 [ <required> $seconds ]
}
}
- Method [ <internal:swoole> public method resume ] {
+ Method [ <internal:swoole> public method setBlocking ] {
- Parameters [1] {
- Parameter #0 [ <required> $fd ]
+ Parameter #0 [ <required> $blocking ]
}
}
- Method [ <internal:swoole> public method task ] {
+ Method [ <internal:swoole> public method useQueue ] {
- Parameters [3] {
+ Parameter #0 [ <optional> $key ]
+ Parameter #1 [ <optional> $mode ]
+ Parameter #2 [ <optional> $capacity ]
+ }
+ }
+
+ Method [ <internal:swoole> public method statQueue ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method freeQueue ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method start ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method write ] {
+
+ - Parameters [1] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $worker_id ]
- Parameter #2 [ <optional> callable or NULL $finish_callback ]
}
}
- Method [ <internal:swoole> public method taskwait ] {
+ Method [ <internal:swoole> public method close ] {
- - Parameters [3] {
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method read ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $size ]
+ }
+ }
+
+ Method [ <internal:swoole> public method push ] {
+
+ - Parameters [1] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $timeout ]
- Parameter #2 [ <optional> $worker_id ]
}
}
- Method [ <internal:swoole> public method taskWaitMulti ] {
+ Method [ <internal:swoole> public method pop ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $size ]
+ }
+ }
+
+ Method [ <internal:swoole> public method exit ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $exit_code ]
+ }
+ }
+
+ Method [ <internal:swoole> public method exec ] {
- Parameters [2] {
- Parameter #0 [ <required> array $tasks ]
- Parameter #1 [ <optional> $timeout ]
+ Parameter #0 [ <required> $exec_file ]
+ Parameter #1 [ <required> $args ]
}
}
- Method [ <internal:swoole> public method taskCo ] {
+ Method [ <internal:swoole> public method exportSocket ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $process_name ]
+ }
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Process\Pool ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [2] {
+ Property [ <default> public $master_pid ]
+ Property [ <default> public $workers ]
+ }
+
+ - Methods [8] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $worker_num ]
+ Parameter #1 [ <optional> $ipc_type ]
+ Parameter #2 [ <optional> $msgqueue_key ]
+ Parameter #3 [ <optional> $enable_coroutine ]
+ }
+ }
+
+ Method [ <internal:swoole, dtor> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method on ] {
- Parameters [2] {
- Parameter #0 [ <required> array $tasks ]
- Parameter #1 [ <optional> $timeout ]
+ Parameter #0 [ <required> $event_name ]
+ Parameter #1 [ <required> callable $callback ]
}
}
- Method [ <internal:swoole> public method finish ] {
+ Method [ <internal:swoole> public method getProcess ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $worker_id ]
+ }
+ }
+
+ Method [ <internal:swoole> public method listen ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $host ]
+ Parameter #1 [ <optional> $port ]
+ Parameter #2 [ <optional> $backlog ]
+ }
+ }
+
+ Method [ <internal:swoole> public method write ] {
- Parameters [1] {
Parameter #0 [ <required> $data ]
}
}
- Method [ <internal:swoole> public method reload ] {
+ Method [ <internal:swoole> public method start ] {
- Parameters [0] {
}
@@ -971,129 +1356,185 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Parameters [0] {
}
}
+ }
+ }
- Method [ <internal:swoole> public method stop ] {
+ Class [ <internal:swoole> <iterateable> class Swoole\Table implements Iterator, Traversable, ArrayAccess, Countable ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $worker_id ]
+ - Constants [3] {
+ Constant [ public integer TYPE_INT ] { 1 }
+ Constant [ public integer TYPE_STRING ] { 7 }
+ Constant [ public integer TYPE_FLOAT ] { 6 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [22] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $table_size ]
+ Parameter #1 [ <optional> $conflict_proportion ]
}
}
- Method [ <internal:swoole> public method getLastError ] {
+ Method [ <internal:swoole> public method column ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $name ]
+ Parameter #1 [ <required> $type ]
+ Parameter #2 [ <optional> $size ]
+ }
+ }
+
+ Method [ <internal:swoole> public method create ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method heartbeat ] {
+ Method [ <internal:swoole> public method destroy ] {
- - Parameters [1] {
- Parameter #0 [ <required> $reactor_id ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method connection_info ] {
+ Method [ <internal:swoole> public method set ] {
- Parameters [2] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <optional> $reactor_id ]
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> array $value ]
}
}
- Method [ <internal:swoole> public method connection_list ] {
+ Method [ <internal:swoole> public method get ] {
- Parameters [2] {
- Parameter #0 [ <required> $start_fd ]
- Parameter #1 [ <optional> $find_count ]
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $field ]
}
}
- Method [ <internal:swoole> public method getClientInfo ] {
+ Method [ <internal:swoole, prototype Countable> public method count ] {
- - Parameters [2] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <optional> $reactor_id ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method getClientList ] {
+ Method [ <internal:swoole> public method del ] {
- - Parameters [2] {
- Parameter #0 [ <required> $start_fd ]
- Parameter #1 [ <optional> $find_count ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
}
}
- Method [ <internal:swoole> public method after ] {
+ Method [ <internal:swoole> public method exist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method incr ] {
- Parameters [3] {
- Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> callable $callback ]
- Parameter #2 [ <optional> $param ]
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $column ]
+ Parameter #2 [ <optional> $incrby ]
}
}
- Method [ <internal:swoole> public method tick ] {
+ Method [ <internal:swoole> public method decr ] {
- - Parameters [2] {
- Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> callable $callback ]
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $column ]
+ Parameter #2 [ <optional> $decrby ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getMemorySize ] {
+
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method clearTimer ] {
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] {
- Parameters [1] {
- Parameter #0 [ <required> $timer_id ]
+ Parameter #0 [ <required> $offset ]
}
}
- Method [ <internal:swoole> public method defer ] {
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetGet ] {
- Parameters [1] {
- Parameter #0 [ <required> callable $callback ]
+ Parameter #0 [ <required> $offset ]
}
}
- Method [ <internal:swoole> public method sendMessage ] {
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetSet ] {
- Parameters [2] {
- Parameter #0 [ <required> $message ]
- Parameter #1 [ <required> $dst_worker_id ]
+ Parameter #0 [ <required> $offset ]
+ Parameter #1 [ <required> $value ]
}
}
- Method [ <internal:swoole> public method addProcess ] {
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetUnset ] {
- Parameters [1] {
- Parameter #0 [ <required> swoole_process $process ]
+ Parameter #0 [ <required> $offset ]
}
}
- Method [ <internal:swoole> public method stats ] {
+ Method [ <internal:swoole, prototype Iterator> public method rewind ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method getSocket ] {
+ Method [ <internal:swoole, prototype Iterator> public method next ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $port ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method bind ] {
+ Method [ <internal:swoole, prototype Iterator> public method current ] {
- - Parameters [2] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $uid ]
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole, prototype Iterator> public method key ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole, prototype Iterator> public method valid ] {
+
+ - Parameters [0] {
}
}
}
}
- Class [ <internal:swoole> final class Swoole\Server\Task ] {
+ Class [ <internal:swoole> class Swoole\Table\Row implements ArrayAccess ] {
- Constants [0] {
}
@@ -1104,24 +1545,50 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static methods [0] {
}
- - Properties [4] {
- Property [ <default> public $data ]
- Property [ <default> public $id ]
- Property [ <default> public $worker_id ]
- Property [ <default> public $flags ]
+ - Properties [2] {
+ Property [ <default> public $key ]
+ Property [ <default> public $value ]
}
- - Methods [1] {
- Method [ <internal:swoole> public method finish ] {
+ - Methods [5] {
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] {
- Parameters [1] {
- Parameter #0 [ <required> $data ]
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $offset ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
+ Method [ <internal:swoole, dtor> public method __destruct ] {
+
+ - Parameters [0] {
}
}
}
}
- Class [ <internal:swoole> <iterateable> class Swoole\Connection\Iterator implements Iterator, Traversable, ArrayAccess, Countable ] {
+ Class [ <internal:swoole> class Swoole\Timer ] {
- Constants [0] {
}
@@ -1129,95 +1596,465 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static properties [0] {
}
+ - Static methods [8] {
+ Method [ <internal:swoole> static public method tick ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ Parameter #2 [ <optional> ...$params ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method after ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ Parameter #2 [ <optional> ...$params ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $timer_id ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method info ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $timer_id ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method stats ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method list ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method clear ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $timer_id ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method clearAll ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:swoole> <iterateable> class Swoole\Timer\Iterator extends ArrayIterator implements Countable, Serializable, SeekableIterator, ArrayAccess, Traversable, Iterator ] {
+
+ - Constants [2] {
+ Constant [ public integer STD_PROP_LIST ] { 1 }
+ Constant [ public integer ARRAY_AS_PROPS ] { 2 }
+ }
+
+ - Static properties [0] {
+ }
+
- Static methods [0] {
}
- Properties [0] {
}
- - Methods [12] {
- Method [ <internal:swoole, ctor> public method __construct ] {
+ - Methods [24] {
+ Method [ <internal:SPL, inherits ArrayIterator, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $array ]
+ Parameter #1 [ <optional> $ar_flags ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $index ]
+ Parameter #1 [ <required> $newval ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method append ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method getArrayCopy ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, dtor> public method __destruct ] {
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Countable> public method count ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, prototype Iterator> public method rewind ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method getFlags ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, prototype Iterator> public method next ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method setFlags ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $flags ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method asort ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, prototype Iterator> public method current ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method ksort ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, prototype Iterator> public method key ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method uasort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $cmp_function ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method uksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $cmp_function ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method natsort ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, prototype Iterator> public method valid ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method natcasesort ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, prototype Countable> public method count ] {
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $serialized ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method serialize ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] {
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method rewind ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method current ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method key ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method next ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method valid ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype SeekableIterator> public method seek ] {
- Parameters [1] {
- Parameter #0 [ <required> $fd ]
+ Parameter #0 [ <required> $position ]
}
}
+ }
+ }
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetGet ] {
+ Class [ <internal:swoole> class Swoole\Coroutine ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [27] {
+ Method [ <internal:swoole> static public method create ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> callable $func ]
+ Parameter #1 [ <optional> ...$params ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method defer ] {
- Parameters [1] {
- Parameter #0 [ <required> $fd ]
+ Parameter #0 [ <required> $callback ]
}
}
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetSet ] {
+ Method [ <internal:swoole> static public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $options ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $cid ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method yield ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method suspend ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method resume ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $cid ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method stats ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method getCid ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method getuid ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method getPcid ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method getContext ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $cid ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method getBackTrace ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> $cid ]
+ Parameter #1 [ <optional> $options ]
+ Parameter #2 [ <optional> $limit ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method list ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method listCoroutines ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method enableScheduler ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method disableScheduler ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method exec ] {
- Parameters [2] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $value ]
+ Parameter #0 [ <required> $command ]
+ Parameter #1 [ <optional> $get_error_stream ]
}
}
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetUnset ] {
+ Method [ <internal:swoole> static public method gethostbyname ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $domain_name ]
+ Parameter #1 [ <optional> $family ]
+ Parameter #2 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method sleep ] {
- Parameters [1] {
- Parameter #0 [ <required> $fd ]
+ Parameter #0 [ <required> $seconds ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method fread ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $handle ]
+ Parameter #1 [ <optional> $length ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method fgets ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $handle ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method fwrite ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $handle ]
+ Parameter #1 [ <required> $string ]
+ Parameter #2 [ <optional> $length ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method readFile ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $filename ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method writeFile ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $filename ]
+ Parameter #1 [ <required> $data ]
+ Parameter #2 [ <optional> $flags ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method getaddrinfo ] {
+
+ - Parameters [6] {
+ Parameter #0 [ <required> $hostname ]
+ Parameter #1 [ <optional> $family ]
+ Parameter #2 [ <optional> $socktype ]
+ Parameter #3 [ <optional> $protocol ]
+ Parameter #4 [ <optional> $service ]
+ Parameter #5 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method statvfs ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $path ]
}
}
}
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
}
- Class [ <internal:swoole> class Swoole\Server\Port ] {
+ Class [ <internal:swoole> <iterateable> class Swoole\Coroutine\Iterator extends ArrayIterator implements Countable, Serializable, SeekableIterator, ArrayAccess, Traversable, Iterator ] {
- - Constants [0] {
+ - Constants [2] {
+ Constant [ public integer STD_PROP_LIST ] { 1 }
+ Constant [ public integer ARRAY_AS_PROPS ] { 2 }
}
- Static properties [0] {
@@ -1226,78 +2063,174 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static methods [0] {
}
- - Properties [16] {
- Property [ <default> private $onConnect ]
- Property [ <default> private $onReceive ]
- Property [ <default> private $onClose ]
- Property [ <default> private $onPacket ]
- Property [ <default> private $onBufferFull ]
- Property [ <default> private $onBufferEmpty ]
- Property [ <default> private $onRequest ]
- Property [ <default> private $onHandShake ]
- Property [ <default> private $onOpen ]
- Property [ <default> private $onMessage ]
- Property [ <default> public $host ]
- Property [ <default> public $port ]
- Property [ <default> public $type ]
- Property [ <default> public $sock ]
- Property [ <default> public $setting ]
- Property [ <default> public $connections ]
+ - Properties [0] {
}
- - Methods [6] {
- Method [ <internal:swoole, ctor> private method __construct ] {
+ - Methods [24] {
+ Method [ <internal:SPL, inherits ArrayIterator, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $array ]
+ Parameter #1 [ <optional> $ar_flags ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $index ]
+ Parameter #1 [ <required> $newval ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method append ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method getArrayCopy ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, dtor> public method __destruct ] {
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Countable> public method count ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method set ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method getFlags ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method setFlags ] {
- Parameters [1] {
- Parameter #0 [ <required> array $settings ]
+ Parameter #0 [ <required> $flags ]
}
}
- Method [ <internal:swoole> public method on ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method asort ] {
- - Parameters [2] {
- Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> callable $callback ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method getCallback ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method ksort ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method uasort ] {
- Parameters [1] {
- Parameter #0 [ <required> $event_name ]
+ Parameter #0 [ <required> $cmp_function ]
}
}
- Method [ <internal:swoole> public method getSocket ] {
+ Method [ <internal:SPL, inherits ArrayIterator> public method uksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $cmp_function ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method natsort ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method natcasesort ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $serialized ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method rewind ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method current ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method key ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method next ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method valid ] {
- Parameters [0] {
}
}
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype SeekableIterator> public method seek ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $position ]
+ }
+ }
}
}
- Class [ <internal:swoole> class Swoole\Client ] {
+ Class [ <internal:swoole> <iterateable> class Swoole\Coroutine\Context extends ArrayObject implements Countable, Serializable, ArrayAccess, Traversable, IteratorAggregate ] {
- - Constants [7] {
- Constant [ public integer MSG_OOB ] { 1 }
- Constant [ public integer MSG_PEEK ] { 2 }
- Constant [ public integer MSG_DONTWAIT ] { 64 }
- Constant [ public integer MSG_WAITALL ] { 256 }
- Constant [ public integer SHUT_RDWR ] { 2 }
- Constant [ public integer SHUT_RD ] { 0 }
- Constant [ public integer SHUT_WR ] { 1 }
+ - Constants [2] {
+ Constant [ public integer STD_PROP_LIST ] { 1 }
+ Constant [ public integer ARRAY_AS_PROPS ] { 2 }
}
- Static properties [0] {
@@ -1306,180 +2239,342 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static methods [0] {
}
- - Properties [14] {
- Property [ <default> public $errCode ]
- Property [ <default> public $sock ]
- Property [ <default> public $reuse ]
- Property [ <default> public $reuseCount ]
- Property [ <default> public $type ]
- Property [ <default> public $id ]
- Property [ <default> public $setting ]
- Property [ <default> private $onConnect ]
- Property [ <default> private $onError ]
- Property [ <default> private $onReceive ]
- Property [ <default> private $onClose ]
- Property [ <default> private $onBufferFull ]
- Property [ <default> private $onBufferEmpty ]
- Property [ <default> private $onSSLReady ]
+ - Properties [0] {
}
- - Methods [23] {
- Method [ <internal:swoole, ctor> public method __construct ] {
+ - Methods [22] {
+ Method [ <internal:SPL, inherits ArrayObject, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> $input ]
+ Parameter #1 [ <optional> $flags ]
+ Parameter #2 [ <optional> $iterator_class ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetSet ] {
- Parameters [2] {
- Parameter #0 [ <required> $type ]
- Parameter #1 [ <optional> $async ]
+ Parameter #0 [ <required> $index ]
+ Parameter #1 [ <required> $newval ]
}
}
- Method [ <internal:swoole, dtor> public method __destruct ] {
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetUnset ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
}
}
- Method [ <internal:swoole> public method set ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method append ] {
- Parameters [1] {
- Parameter #0 [ <required> array $settings ]
+ Parameter #0 [ <required> $value ]
}
}
- Method [ <internal:swoole> public method connect ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method getArrayCopy ] {
- - Parameters [4] {
- Parameter #0 [ <required> $host ]
- Parameter #1 [ <optional> $port ]
- Parameter #2 [ <optional> $timeout ]
- Parameter #3 [ <optional> $sock_flag ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method recv ] {
+ Method [ <internal:SPL, inherits ArrayObject, prototype Countable> public method count ] {
- - Parameters [2] {
- Parameter #0 [ <optional> $size ]
- Parameter #1 [ <optional> $flag ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method send ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method getFlags ] {
- - Parameters [2] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $flag ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method pipe ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method setFlags ] {
- Parameters [1] {
- Parameter #0 [ <required> $dst_socket ]
+ Parameter #0 [ <required> $flags ]
}
}
- Method [ <internal:swoole> public method sendfile ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method asort ] {
- - Parameters [3] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <optional> $offset ]
- Parameter #2 [ <optional> $length ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method sendto ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method ksort ] {
- - Parameters [3] {
- Parameter #0 [ <required> $ip ]
- Parameter #1 [ <required> $port ]
- Parameter #2 [ <required> $data ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method sleep ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method uasort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $cmp_function ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method uksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $cmp_function ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method natsort ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method wakeup ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method natcasesort ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method pause ] {
+ Method [ <internal:SPL, inherits ArrayObject, prototype Serializable> public method unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $serialized ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype Serializable> public method serialize ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method resume ] {
+ Method [ <internal:SPL, inherits ArrayObject, prototype IteratorAggregate> public method getIterator ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method shutdown ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method exchangeArray ] {
- Parameters [1] {
- Parameter #0 [ <required> $how ]
+ Parameter #0 [ <required> $array ]
}
}
- Method [ <internal:swoole> public method enableSSL ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method setIteratorClass ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable $callback ]
+ Parameter #0 [ <required> $iteratorClass ]
}
}
- Method [ <internal:swoole> public method getPeerCert ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method getIteratorClass ] {
- Parameters [0] {
}
}
+ }
+ }
- Method [ <internal:swoole> public method verifyPeerCert ] {
+ Class [ <internal:swoole> final class Swoole\Coroutine\Scheduler ] {
- - Parameters [0] {
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [1] {
+ Property [ <default> private $_list ]
+ }
+
+ - Methods [4] {
+ Method [ <internal:swoole> public method add ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> callable $func ]
+ Parameter #1 [ <optional> ...$params ]
}
}
- Method [ <internal:swoole> public method isConnected ] {
+ Method [ <internal:swoole> public method parallel ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $n ]
+ Parameter #1 [ <optional> callable $func ]
+ Parameter #2 [ <optional> ...$params ]
+ }
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ }
+
+ Method [ <internal:swoole> public method start ] {
- Parameters [0] {
}
}
+ }
+ }
- Method [ <internal:swoole> public method getsockname ] {
+ Class [ <internal:swoole> class Swoole\ExitException extends Swoole\Exception implements Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [6] {
+ Property [ <default> protected $message ]
+ Property [ <default> protected $code ]
+ Property [ <default> protected $file ]
+ Property [ <default> protected $line ]
+ Property [ <default> private $flags ]
+ Property [ <default> private $status ]
+ }
+
+ - Methods [12] {
+ Method [ <internal:swoole> public method getFlags ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method getpeername ] {
+ Method [ <internal:swoole> public method getStatus ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method close ] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> $message ]
+ Parameter #1 [ <optional> $code ]
+ Parameter #2 [ <optional> $previous ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Channel ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [2] {
+ Property [ <default> public $capacity ]
+ Property [ <default> public $errCode ]
+ }
+
+ - Methods [8] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $force ]
+ Parameter #0 [ <optional> $size ]
}
}
- Method [ <internal:swoole> public method on ] {
+ Method [ <internal:swoole> public method push ] {
- Parameters [2] {
- Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> callable $callback ]
+ Parameter #0 [ <required> $data ]
+ Parameter #1 [ <optional> $timeout ]
}
}
- Method [ <internal:swoole> public method getSocket ] {
+ Method [ <internal:swoole> public method pop ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method isEmpty ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method isFull ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method stats ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method length ] {
- Parameters [0] {
}
@@ -1487,6 +2582,37 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
+ Class [ <internal:swoole> class Swoole\Runtime ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [2] {
+ Method [ <internal:swoole> static public method enableStrictMode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method enableCoroutine ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $enable ]
+ Parameter #1 [ <optional> $flags ]
+ }
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
Class [ <internal:swoole> class Swoole\Coroutine\Socket ] {
- Constants [0] {
@@ -1504,7 +2630,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
Property [ <default> public $errMsg ]
}
- - Methods [18] {
+ - Methods [21] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [3] {
@@ -1553,6 +2679,13 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
+ Method [ <internal:swoole> public method recvPacket ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout ]
+ }
+ }
+
Method [ <internal:swoole> public method send ] {
- Parameters [2] {
@@ -1561,6 +2694,15 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
+ Method [ <internal:swoole> public method sendFile ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $filename ]
+ Parameter #1 [ <optional> $offset ]
+ Parameter #2 [ <optional> $length ]
+ }
+ }
+
Method [ <internal:swoole> public method recvAll ] {
- Parameters [2] {
@@ -1602,6 +2744,13 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
+ Method [ <internal:swoole> public method setProtocol ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ }
+
Method [ <internal:swoole> public method setOption ] {
- Parameters [3] {
@@ -1618,25 +2767,26 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole> public method close ] {
+ Method [ <internal:swoole> public method cancel ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $event ]
}
}
- Method [ <internal:swoole> public method getpeername ] {
+ Method [ <internal:swoole> public method close ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method getsockname ] {
+ Method [ <internal:swoole> public method getpeername ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method getSocket ] {
+ Method [ <internal:swoole> public method getsockname ] {
- Parameters [0] {
}
@@ -1701,6 +2851,205 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
+ Class [ <internal:swoole> class Swoole\Client ] {
+
+ - Constants [7] {
+ Constant [ public integer MSG_OOB ] { 1 }
+ Constant [ public integer MSG_PEEK ] { 2 }
+ Constant [ public integer MSG_DONTWAIT ] { 64 }
+ Constant [ public integer MSG_WAITALL ] { 256 }
+ Constant [ public integer SHUT_RDWR ] { 2 }
+ Constant [ public integer SHUT_RD ] { 0 }
+ Constant [ public integer SHUT_WR ] { 1 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [14] {
+ Property [ <default> public $errCode ]
+ Property [ <default> public $sock ]
+ Property [ <default> public $reuse ]
+ Property [ <default> public $reuseCount ]
+ Property [ <default> public $type ]
+ Property [ <default> public $id ]
+ Property [ <default> public $setting ]
+ Property [ <default> private $onConnect ]
+ Property [ <default> private $onError ]
+ Property [ <default> private $onReceive ]
+ Property [ <default> private $onClose ]
+ Property [ <default> private $onBufferFull ]
+ Property [ <default> private $onBufferEmpty ]
+ Property [ <default> private $onSSLReady ]
+ }
+
+ - Methods [23] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $type ]
+ Parameter #1 [ <optional> $async ]
+ }
+ }
+
+ Method [ <internal:swoole, dtor> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ }
+
+ Method [ <internal:swoole> public method connect ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $host ]
+ Parameter #1 [ <optional> $port ]
+ Parameter #2 [ <optional> $timeout ]
+ Parameter #3 [ <optional> $sock_flag ]
+ }
+ }
+
+ Method [ <internal:swoole> public method recv ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $size ]
+ Parameter #1 [ <optional> $flag ]
+ }
+ }
+
+ Method [ <internal:swoole> public method send ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $data ]
+ Parameter #1 [ <optional> $flag ]
+ }
+ }
+
+ Method [ <internal:swoole> public method pipe ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $dst_socket ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sendfile ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $filename ]
+ Parameter #1 [ <optional> $offset ]
+ Parameter #2 [ <optional> $length ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sendto ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $ip ]
+ Parameter #1 [ <required> $port ]
+ Parameter #2 [ <required> $data ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sleep ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method wakeup ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method pause ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method resume ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method shutdown ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $how ]
+ }
+ }
+
+ Method [ <internal:swoole> public method enableSSL ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> callable $callback ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getPeerCert ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method verifyPeerCert ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method isConnected ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method getsockname ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method getpeername ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $force ]
+ }
+ }
+
+ Method [ <internal:swoole> public method on ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $event_name ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getSocket ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+
Class [ <internal:swoole> class Swoole\Coroutine\Client ] {
- Constants [4] {
@@ -1716,10 +3065,11 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static methods [0] {
}
- - Properties [6] {
+ - Properties [7] {
Property [ <default> public $errCode ]
Property [ <default> public $errMsg ]
- Property [ <default> public $sock ]
+ Property [ <default> public $fd ]
+ Property [ <default> private $socket ]
Property [ <default> public $type ]
Property [ <default> public $setting ]
Property [ <default> public $connected ]
@@ -1846,11 +3196,534 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole> public method getSocket ] {
+ Method [ <internal:swoole> public method exportSocket ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Http\Client ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [18] {
+ Property [ <default> public $errCode ]
+ Property [ <default> public $errMsg ]
+ Property [ <default> public $connected ]
+ Property [ <default> public $host ]
+ Property [ <default> public $port ]
+ Property [ <default> public $ssl ]
+ Property [ <default> public $setting ]
+ Property [ <default> public $requestMethod ]
+ Property [ <default> public $requestHeaders ]
+ Property [ <default> public $requestBody ]
+ Property [ <default> public $uploadFiles ]
+ Property [ <default> public $downloadFile ]
+ Property [ <default> public $downloadOffset ]
+ Property [ <default> public $statusCode ]
+ Property [ <default> public $headers ]
+ Property [ <default> public $set_cookie_headers ]
+ Property [ <default> public $cookies ]
+ Property [ <default> public $body ]
+ }
+
+ - Methods [24] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $host ]
+ Parameter #1 [ <optional> $port ]
+ Parameter #2 [ <optional> $ssl ]
+ }
+ }
+
+ Method [ <internal:swoole, dtor> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getDefer ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method setDefer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $defer ]
+ }
+ }
+
+ Method [ <internal:swoole> public method setMethod ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $method ]
+ }
+ }
+
+ Method [ <internal:swoole> public method setHeaders ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $headers ]
+ }
+ }
+
+ Method [ <internal:swoole> public method setBasicAuth ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $username ]
+ Parameter #1 [ <required> $password ]
+ }
+ }
+
+ Method [ <internal:swoole> public method setCookies ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $cookies ]
+ }
+ }
+
+ Method [ <internal:swoole> public method setData ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $data ]
+ }
+ }
+
+ Method [ <internal:swoole> public method addFile ] {
+
+ - Parameters [6] {
+ Parameter #0 [ <required> $path ]
+ Parameter #1 [ <required> $name ]
+ Parameter #2 [ <optional> $type ]
+ Parameter #3 [ <optional> $filename ]
+ Parameter #4 [ <optional> $offset ]
+ Parameter #5 [ <optional> $length ]
+ }
+ }
+
+ Method [ <internal:swoole> public method addData ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $path ]
+ Parameter #1 [ <required> $name ]
+ Parameter #2 [ <optional> $type ]
+ Parameter #3 [ <optional> $filename ]
+ }
+ }
+
+ Method [ <internal:swoole> public method execute ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $path ]
+ }
+ }
+
+ Method [ <internal:swoole> public method get ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $path ]
+ }
+ }
+
+ Method [ <internal:swoole> public method post ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $path ]
+ Parameter #1 [ <required> $data ]
+ }
+ }
+
+ Method [ <internal:swoole> public method download ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $path ]
+ Parameter #1 [ <required> $file ]
+ Parameter #2 [ <optional> $offset ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getBody ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method getHeaders ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method getCookies ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method getStatusCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method upgrade ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $path ]
+ }
+ }
+
+ Method [ <internal:swoole> public method push ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $data ]
+ Parameter #1 [ <optional> $opcode ]
+ Parameter #2 [ <optional> $finish ]
+ }
+ }
+
+ Method [ <internal:swoole> public method recv ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Http\Client\Exception extends Swoole\Exception implements Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ <default> protected $message ]
+ Property [ <default> protected $code ]
+ Property [ <default> protected $file ]
+ Property [ <default> protected $line ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> $message ]
+ Parameter #1 [ <optional> $code ]
+ Parameter #2 [ <optional> $previous ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\MySQL ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [9] {
+ Property [ <default> public $serverInfo ]
+ Property [ <default> public $sock ]
+ Property [ <default> public $connected ]
+ Property [ <default> public $connect_errno ]
+ Property [ <default> public $connect_error ]
+ Property [ <default> public $affected_rows ]
+ Property [ <default> public $insert_id ]
+ Property [ <default> public $error ]
+ Property [ <default> public $errno ]
+ }
+
+ - Methods [16] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole, dtor> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method getDefer ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method setDefer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $defer ]
+ }
+ }
+
+ Method [ <internal:swoole> public method connect ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> array $server_config ]
+ }
+ }
+
+ Method [ <internal:swoole> public method query ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $sql ]
+ Parameter #1 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method fetch ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method fetchAll ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method nextResult ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method prepare ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $query ]
+ Parameter #1 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method recv ] {
- Parameters [0] {
}
}
+
+ Method [ <internal:swoole> public method begin ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method commit ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method rollback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method escape ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $string ]
+ Parameter #1 [ <optional> $flags ]
+ }
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\MySQL\Statement ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [5] {
+ Property [ <default> public $id ]
+ Property [ <default> public $affected_rows ]
+ Property [ <default> public $insert_id ]
+ Property [ <default> public $error ]
+ Property [ <default> public $errno ]
+ }
+
+ - Methods [6] {
+ Method [ <internal:swoole> public method execute ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $params ]
+ Parameter #1 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method fetch ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method fetchAll ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method nextResult ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method recv ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\MySQL\Exception extends Swoole\Exception implements Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ <default> protected $message ]
+ Property [ <default> protected $code ]
+ Property [ <default> protected $file ]
+ Property [ <default> protected $line ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> $message ]
+ Parameter #1 [ <optional> $code ]
+ Parameter #2 [ <optional> $previous ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ }
}
}
@@ -3149,133 +5022,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Class [ <internal:swoole> class Swoole\Coroutine\PostgreSQL ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [1] {
- Property [ <default> public $error ]
- }
-
- - Methods [14] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method connect ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $conninfo ]
- }
- }
-
- Method [ <internal:swoole> public method query ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $query ]
- }
- }
-
- Method [ <internal:swoole> public method prepare ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $stmtname ]
- Parameter #1 [ <required> $query ]
- }
- }
-
- Method [ <internal:swoole> public method execute ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $stmtname ]
- Parameter #1 [ <required> $pv_param_arr ]
- }
- }
-
- Method [ <internal:swoole> public method fetchAll ] {
-
- - Parameters [2] {
- Parameter #0 [ <optional> $result ]
- Parameter #1 [ <optional> $result_type ]
- }
- }
-
- Method [ <internal:swoole> public method affectedRows ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $result ]
- }
- }
-
- Method [ <internal:swoole> public method numRows ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $result ]
- }
- }
-
- Method [ <internal:swoole> public method metaData ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $table_name ]
- }
- }
-
- Method [ <internal:swoole> public method fetchObject ] {
-
- - Parameters [5] {
- Parameter #0 [ <required> $result ]
- Parameter #1 [ <optional> $row ]
- Parameter #2 [ <optional> $class_name ]
- Parameter #3 [ <optional> $l ]
- Parameter #4 [ <optional> $ctor_params ]
- }
- }
-
- Method [ <internal:swoole> public method fetchAssoc ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $result ]
- Parameter #1 [ <optional> $row ]
- }
- }
-
- Method [ <internal:swoole> public method fetchArray ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $result ]
- Parameter #1 [ <optional> $row ]
- Parameter #2 [ <optional> $result_type ]
- }
- }
-
- Method [ <internal:swoole> public method fetchRow ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $result ]
- Parameter #1 [ <optional> $row ]
- Parameter #2 [ <optional> $result_type ]
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
- }
- }
-
- Class [ <internal:swoole> class Swoole\Coroutine\MySQL ] {
+ Class [ <internal:swoole> class Swoole\Coroutine\Http2\Client ] {
- Constants [0] {
}
@@ -3287,21 +5034,24 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
- Properties [9] {
- Property [ <default> public $serverInfo ]
+ Property [ <default> public $errCode ]
+ Property [ <default> public $errMsg ]
Property [ <default> public $sock ]
+ Property [ <default> public $type ]
+ Property [ <default> public $setting ]
Property [ <default> public $connected ]
- Property [ <default> public $connect_error ]
- Property [ <default> public $connect_errno ]
- Property [ <default> public $affected_rows ]
- Property [ <default> public $insert_id ]
- Property [ <default> public $error ]
- Property [ <default> public $errno ]
+ Property [ <default> public $host ]
+ Property [ <default> public $port ]
+ Property [ <default> public $ssl ]
}
- - Methods [14] {
+ - Methods [12] {
Method [ <internal:swoole, ctor> public method __construct ] {
- - Parameters [0] {
+ - Parameters [3] {
+ Parameter #0 [ <required> $host ]
+ Parameter #1 [ <optional> $port ]
+ Parameter #2 [ <optional> $ssl ]
}
}
@@ -3311,137 +5061,71 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole> public method connect ] {
+ Method [ <internal:swoole> public method set ] {
- Parameters [1] {
- Parameter #0 [ <required> array $server_config ]
- }
- }
-
- Method [ <internal:swoole> public method query ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $sql ]
- Parameter #1 [ <optional> $timeout ]
- }
- }
-
- Method [ <internal:swoole> public method recv ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> array $settings ]
}
}
- Method [ <internal:swoole> public method nextResult ] {
+ Method [ <internal:swoole> public method connect ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method escape ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $string ]
- Parameter #1 [ <optional> $flags ]
- }
- }
-
- Method [ <internal:swoole> public method begin ] {
+ Method [ <internal:swoole> public method stats ] {
- Parameters [1] {
- Parameter #0 [ <optional> $timeout ]
+ Parameter #0 [ <optional> $key ]
}
}
- Method [ <internal:swoole> public method commit ] {
+ Method [ <internal:swoole> public method isStreamExist ] {
- Parameters [1] {
- Parameter #0 [ <optional> $timeout ]
+ Parameter #0 [ <required> $stream_id ]
}
}
- Method [ <internal:swoole> public method rollback ] {
+ Method [ <internal:swoole> public method send ] {
- Parameters [1] {
- Parameter #0 [ <optional> $timeout ]
+ Parameter #0 [ <required> $request ]
}
}
- Method [ <internal:swoole> public method prepare ] {
+ Method [ <internal:swoole> public method write ] {
- - Parameters [2] {
- Parameter #0 [ <required> $statement ]
- Parameter #1 [ <optional> $timeout ]
+ - Parameters [3] {
+ Parameter #0 [ <required> $stream_id ]
+ Parameter #1 [ <required> $data ]
+ Parameter #2 [ <optional> $end_stream ]
}
}
- Method [ <internal:swoole> public method setDefer ] {
+ Method [ <internal:swoole> public method recv ] {
- Parameters [1] {
- Parameter #0 [ <optional> $defer ]
- }
- }
-
- Method [ <internal:swoole> public method getDefer ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method close ] {
-
- - Parameters [0] {
+ Parameter #0 [ <optional> $timeout ]
}
}
- }
- }
-
- Class [ <internal:swoole> class Swoole\Coroutine\MySQL\Statement ] {
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [4] {
- Property [ <default> public $affected_rows ]
- Property [ <default> public $insert_id ]
- Property [ <default> public $error ]
- Property [ <default> public $errno ]
- }
-
- - Methods [5] {
- Method [ <internal:swoole> public method execute ] {
+ Method [ <internal:swoole> public method goaway ] {
- Parameters [2] {
- Parameter #0 [ <optional> $params ]
- Parameter #1 [ <optional> $timeout ]
- }
- }
-
- Method [ <internal:swoole> public method fetch ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method fetchAll ] {
-
- - Parameters [0] {
+ Parameter #0 [ <optional> $error_code ]
+ Parameter #1 [ <optional> $debug_data ]
}
}
- Method [ <internal:swoole> public method nextResult ] {
+ Method [ <internal:swoole> public method ping ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole, dtor> public method __destruct ] {
+ Method [ <internal:swoole> public method close ] {
- Parameters [0] {
}
@@ -3449,7 +5133,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Class [ <internal:swoole> class Swoole\Coroutine\MySQL\Exception extends Swoole\Exception implements Throwable ] {
+ Class [ <internal:swoole> class Swoole\Coroutine\Http2\Client\Exception extends Swoole\Exception implements Throwable ] {
- Constants [0] {
}
@@ -3506,7 +5190,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Class [ <internal:swoole> class Swoole\Coroutine\Http\Client ] {
+ Class [ <internal:swoole> class Swoole\Http2\Request ] {
- Constants [0] {
}
@@ -3517,176 +5201,20 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static methods [0] {
}
- - Properties [18] {
- Property [ <default> public $errCode ]
- Property [ <default> public $errMsg ]
- Property [ <default> public $connected ]
- Property [ <default> public $host ]
- Property [ <default> public $port ]
- Property [ <default> public $ssl ]
- Property [ <default> public $setting ]
- Property [ <default> public $requestMethod ]
- Property [ <default> public $requestHeaders ]
- Property [ <default> public $requestBody ]
- Property [ <default> public $uploadFiles ]
- Property [ <default> public $downloadFile ]
- Property [ <default> public $downloadOffset ]
- Property [ <default> public $statusCode ]
+ - Properties [6] {
+ Property [ <default> public $path ]
+ Property [ <default> public $method ]
Property [ <default> public $headers ]
- Property [ <default> public $set_cookie_headers ]
Property [ <default> public $cookies ]
- Property [ <default> public $body ]
+ Property [ <default> public $data ]
+ Property [ <default> public $pipeline ]
}
- - Methods [19] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $host ]
- Parameter #1 [ <optional> $port ]
- Parameter #2 [ <optional> $ssl ]
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method set ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> array $settings ]
- }
- }
-
- Method [ <internal:swoole> public method getDefer ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method setDefer ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $defer ]
- }
- }
-
- Method [ <internal:swoole> public method setMethod ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $method ]
- }
- }
-
- Method [ <internal:swoole> public method setHeaders ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> array $headers ]
- }
- }
-
- Method [ <internal:swoole> public method setCookies ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> array $cookies ]
- }
- }
-
- Method [ <internal:swoole> public method setData ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $data ]
- }
- }
-
- Method [ <internal:swoole> public method execute ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $path ]
- }
- }
-
- Method [ <internal:swoole> public method get ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $path ]
- }
- }
-
- Method [ <internal:swoole> public method post ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $data ]
- }
- }
-
- Method [ <internal:swoole> public method download ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $file ]
- Parameter #2 [ <optional> $offset ]
- }
- }
-
- Method [ <internal:swoole> public method upgrade ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $path ]
- }
- }
-
- Method [ <internal:swoole> public method addFile ] {
-
- - Parameters [6] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $name ]
- Parameter #2 [ <optional> $type ]
- Parameter #3 [ <optional> $filename ]
- Parameter #4 [ <optional> $offset ]
- Parameter #5 [ <optional> $length ]
- }
- }
-
- Method [ <internal:swoole> public method addData ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $name ]
- Parameter #2 [ <optional> $type ]
- Parameter #3 [ <optional> $filename ]
- }
- }
-
- Method [ <internal:swoole> public method recv ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $timeout ]
- }
- }
-
- Method [ <internal:swoole> public method push ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $opcode ]
- Parameter #2 [ <optional> $finish ]
- }
- }
-
- Method [ <internal:swoole> public method close ] {
-
- - Parameters [0] {
- }
- }
+ - Methods [0] {
}
}
- Class [ <internal:swoole> class Swoole\Coroutine\Http\Client\Exception extends Swoole\Exception implements Throwable ] {
+ Class [ <internal:swoole> class Swoole\Http2\Response ] {
- Constants [0] {
}
@@ -3697,53 +5225,22 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static methods [0] {
}
- - Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ - Properties [8] {
+ Property [ <default> public $streamId ]
+ Property [ <default> public $errCode ]
+ Property [ <default> public $statusCode ]
+ Property [ <default> public $pipeline ]
+ Property [ <default> public $headers ]
+ Property [ <default> public $set_cookie_headers ]
+ Property [ <default> public $cookies ]
+ Property [ <default> public $data ]
}
- - Methods [10] {
- Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
-
- - Parameters [3] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
- }
- }
-
- Method [ <internal:Core, inherits Exception> public method __wakeup ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
- }
+ - Methods [0] {
}
}
- Class [ <internal:swoole> class Swoole\Coroutine ] {
+ Class [ <internal:swoole> class Swoole\Server ] {
- Constants [0] {
}
@@ -3751,540 +5248,360 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static properties [0] {
}
- - Static methods [25] {
- Method [ <internal:swoole> static public method create ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> callable $func ]
- Parameter #1 [ <optional> ...$params ]
- }
- }
-
- Method [ <internal:swoole> static public method exec ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $command ]
- Parameter #1 [ <optional> $get_error_stream ]
- }
- }
-
- Method [ <internal:swoole> static public method gethostbyname ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $domain_name ]
- Parameter #1 [ <optional> $family ]
- Parameter #2 [ <optional> $timeout ]
- }
- }
-
- Method [ <internal:swoole> static public method defer ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $callback ]
- }
- }
-
- Method [ <internal:swoole> static public method set ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $options ]
- }
- }
-
- Method [ <internal:swoole> static public method exists ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $cid ]
- }
- }
-
- Method [ <internal:swoole> static public method yield ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> static public method suspend ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> static public method resume ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $cid ]
- }
- }
-
- Method [ <internal:swoole> static public method stats ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> static public method getCid ] {
+ - Static methods [0] {
+ }
- - Parameters [0] {
- }
- }
+ - Properties [23] {
+ Property [ <default> private $onStart ]
+ Property [ <default> private $onShutdown ]
+ Property [ <default> private $onWorkerStart ]
+ Property [ <default> private $onWorkerStop ]
+ Property [ <default> private $onWorkerExit ]
+ Property [ <default> private $onWorkerError ]
+ Property [ <default> private $onTask ]
+ Property [ <default> private $onFinish ]
+ Property [ <default> private $onManagerStart ]
+ Property [ <default> private $onManagerStop ]
+ Property [ <default> private $onPipeMessage ]
+ Property [ <default> public $setting ]
+ Property [ <default> public $connections ]
+ Property [ <default> public $host ]
+ Property [ <default> public $port ]
+ Property [ <default> public $type ]
+ Property [ <default> public $mode ]
+ Property [ <default> public $ports ]
+ Property [ <default> public $master_pid ]
+ Property [ <default> public $manager_pid ]
+ Property [ <default> public $worker_id ]
+ Property [ <default> public $taskworker ]
+ Property [ <default> public $worker_pid ]
+ }
- Method [ <internal:swoole> static public method getuid ] {
+ - Methods [42] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
- - Parameters [0] {
+ - Parameters [4] {
+ Parameter #0 [ <required> $host ]
+ Parameter #1 [ <optional> $port ]
+ Parameter #2 [ <optional> $mode ]
+ Parameter #3 [ <optional> $sock_type ]
}
}
- Method [ <internal:swoole> static public method getPcid ] {
+ Method [ <internal:swoole, dtor> public method __destruct ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> static public method getContext ] {
+ Method [ <internal:swoole> public method listen ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $cid ]
+ - Parameters [3] {
+ Parameter #0 [ <required> $host ]
+ Parameter #1 [ <required> $port ]
+ Parameter #2 [ <required> $sock_type ]
}
}
- Method [ <internal:swoole> static public method sleep ] {
+ Method [ <internal:swoole> public method addlistener ] {
- - Parameters [1] {
- Parameter #0 [ <required> $seconds ]
+ - Parameters [3] {
+ Parameter #0 [ <required> $host ]
+ Parameter #1 [ <required> $port ]
+ Parameter #2 [ <required> $sock_type ]
}
}
- Method [ <internal:swoole> static public method fread ] {
+ Method [ <internal:swoole> public method on ] {
- Parameters [2] {
- Parameter #0 [ <required> $handle ]
- Parameter #1 [ <optional> $length ]
+ Parameter #0 [ <required> $event_name ]
+ Parameter #1 [ <required> callable $callback ]
}
}
- Method [ <internal:swoole> static public method fgets ] {
+ Method [ <internal:swoole> public method getCallback ] {
- Parameters [1] {
- Parameter #0 [ <required> $handle ]
- }
- }
-
- Method [ <internal:swoole> static public method fwrite ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $handle ]
- Parameter #1 [ <required> $string ]
- Parameter #2 [ <optional> $length ]
+ Parameter #0 [ <required> $event_name ]
}
}
- Method [ <internal:swoole> static public method readFile ] {
+ Method [ <internal:swoole> public method set ] {
- Parameters [1] {
- Parameter #0 [ <required> $filename ]
- }
- }
-
- Method [ <internal:swoole> static public method writeFile ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <required> $data ]
- Parameter #2 [ <optional> $flags ]
- }
- }
-
- Method [ <internal:swoole> static public method getaddrinfo ] {
-
- - Parameters [5] {
- Parameter #0 [ <required> $hostname ]
- Parameter #1 [ <optional> $family ]
- Parameter #2 [ <optional> $socktype ]
- Parameter #3 [ <optional> $protocol ]
- Parameter #4 [ <optional> $service ]
+ Parameter #0 [ <required> array $settings ]
}
}
- Method [ <internal:swoole> static public method statvfs ] {
+ Method [ <internal:swoole> public method start ] {
- - Parameters [1] {
- Parameter #0 [ <required> $path ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> static public method getBackTrace ] {
+ Method [ <internal:swoole> public method send ] {
- Parameters [3] {
- Parameter #0 [ <optional> $cid ]
- Parameter #1 [ <optional> $options ]
- Parameter #2 [ <optional> $limit ]
- }
- }
-
- Method [ <internal:swoole> static public method list ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <required> $send_data ]
+ Parameter #2 [ <optional> $server_socket ]
}
}
- Method [ <internal:swoole> static public method listCoroutines ] {
+ Method [ <internal:swoole> public method sendto ] {
- - Parameters [0] {
+ - Parameters [4] {
+ Parameter #0 [ <required> $ip ]
+ Parameter #1 [ <required> $port ]
+ Parameter #2 [ <required> $send_data ]
+ Parameter #3 [ <optional> $server_socket ]
}
}
- }
-
- - Properties [0] {
- }
-
- - Methods [0] {
- }
- }
-
- Class [ <internal:swoole> <iterateable> class Swoole\Coroutine\Iterator extends ArrayIterator implements Countable, Serializable, SeekableIterator, ArrayAccess, Traversable, Iterator ] {
-
- - Constants [2] {
- Constant [ public integer STD_PROP_LIST ] { 1 }
- Constant [ public integer ARRAY_AS_PROPS ] { 2 }
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
- }
- - Methods [24] {
- Method [ <internal:SPL, inherits ArrayIterator, ctor> public method __construct ] {
+ Method [ <internal:swoole> public method sendwait ] {
- Parameters [2] {
- Parameter #0 [ <optional> $array ]
- Parameter #1 [ <optional> $ar_flags ]
+ Parameter #0 [ <required> $conn_fd ]
+ Parameter #1 [ <required> $send_data ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetExists ] {
+ Method [ <internal:swoole> public method exists ] {
- Parameters [1] {
- Parameter #0 [ <required> $index ]
+ Parameter #0 [ <required> $fd ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetGet ] {
+ Method [ <internal:swoole> public method exist ] {
- Parameters [1] {
- Parameter #0 [ <required> $index ]
+ Parameter #0 [ <required> $fd ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetSet ] {
+ Method [ <internal:swoole> public method protect ] {
- Parameters [2] {
- Parameter #0 [ <required> $index ]
- Parameter #1 [ <required> $newval ]
- }
- }
-
- Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetUnset ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $index ]
- }
- }
-
- Method [ <internal:SPL, inherits ArrayIterator> public method append ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $value ]
- }
- }
-
- Method [ <internal:SPL, inherits ArrayIterator> public method getArrayCopy ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <optional> $is_protected ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator, prototype Countable> public method count ] {
+ Method [ <internal:swoole> public method sendfile ] {
- - Parameters [0] {
+ - Parameters [4] {
+ Parameter #0 [ <required> $conn_fd ]
+ Parameter #1 [ <required> $filename ]
+ Parameter #2 [ <optional> $offset ]
+ Parameter #3 [ <optional> $length ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator> public method getFlags ] {
+ Method [ <internal:swoole> public method close ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <optional> $reset ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator> public method setFlags ] {
+ Method [ <internal:swoole> public method confirm ] {
- Parameters [1] {
- Parameter #0 [ <required> $flags ]
- }
- }
-
- Method [ <internal:SPL, inherits ArrayIterator> public method asort ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:SPL, inherits ArrayIterator> public method ksort ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> $fd ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator> public method uasort ] {
+ Method [ <internal:swoole> public method pause ] {
- Parameters [1] {
- Parameter #0 [ <required> $cmp_function ]
+ Parameter #0 [ <required> $fd ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator> public method uksort ] {
+ Method [ <internal:swoole> public method resume ] {
- Parameters [1] {
- Parameter #0 [ <required> $cmp_function ]
- }
- }
-
- Method [ <internal:SPL, inherits ArrayIterator> public method natsort ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:SPL, inherits ArrayIterator> public method natcasesort ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> $fd ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method unserialize ] {
+ Method [ <internal:swoole> public method task ] {
- - Parameters [1] {
- Parameter #0 [ <required> $serialized ]
+ - Parameters [3] {
+ Parameter #0 [ <required> $data ]
+ Parameter #1 [ <optional> $worker_id ]
+ Parameter #2 [ <optional> callable or NULL $finish_callback ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method serialize ] {
+ Method [ <internal:swoole> public method taskwait ] {
- - Parameters [0] {
+ - Parameters [3] {
+ Parameter #0 [ <required> $data ]
+ Parameter #1 [ <optional> $timeout ]
+ Parameter #2 [ <optional> $worker_id ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method rewind ] {
+ Method [ <internal:swoole> public method taskWaitMulti ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> array $tasks ]
+ Parameter #1 [ <optional> $timeout ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method current ] {
+ Method [ <internal:swoole> public method taskCo ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> array $tasks ]
+ Parameter #1 [ <optional> $timeout ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method key ] {
+ Method [ <internal:swoole> public method finish ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <required> $data ]
}
}
- Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method next ] {
+ Method [ <internal:swoole> public method reload ] {
- Parameters [0] {
}
}
- Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method valid ] {
+ Method [ <internal:swoole> public method shutdown ] {
- Parameters [0] {
}
}
- Method [ <internal:SPL, inherits ArrayIterator, prototype SeekableIterator> public method seek ] {
+ Method [ <internal:swoole> public method stop ] {
- Parameters [1] {
- Parameter #0 [ <required> $position ]
- }
- }
- }
- }
-
- Class [ <internal:swoole> <iterateable> class Swoole\Coroutine\Context extends ArrayObject implements Countable, Serializable, ArrayAccess, Traversable, IteratorAggregate ] {
-
- - Constants [2] {
- Constant [ public integer STD_PROP_LIST ] { 1 }
- Constant [ public integer ARRAY_AS_PROPS ] { 2 }
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
- }
-
- - Methods [22] {
- Method [ <internal:SPL, inherits ArrayObject, ctor> public method __construct ] {
-
- - Parameters [3] {
- Parameter #0 [ <optional> $input ]
- Parameter #1 [ <optional> $flags ]
- Parameter #2 [ <optional> $iterator_class ]
+ Parameter #0 [ <optional> $worker_id ]
}
}
- Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetExists ] {
+ Method [ <internal:swoole> public method getLastError ] {
- - Parameters [1] {
- Parameter #0 [ <required> $index ]
+ - Parameters [0] {
}
}
- Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetGet ] {
+ Method [ <internal:swoole> public method heartbeat ] {
- Parameters [1] {
- Parameter #0 [ <required> $index ]
+ Parameter #0 [ <required> $reactor_id ]
}
}
- Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetSet ] {
+ Method [ <internal:swoole> public method getClientInfo ] {
- Parameters [2] {
- Parameter #0 [ <required> $index ]
- Parameter #1 [ <required> $newval ]
- }
- }
-
- Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetUnset ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $index ]
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <optional> $reactor_id ]
}
}
- Method [ <internal:SPL, inherits ArrayObject> public method append ] {
+ Method [ <internal:swoole> public method getClientList ] {
- - Parameters [1] {
- Parameter #0 [ <required> $value ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $start_fd ]
+ Parameter #1 [ <optional> $find_count ]
}
}
- Method [ <internal:SPL, inherits ArrayObject> public method getArrayCopy ] {
+ Method [ <internal:swoole> public method connection_info ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <optional> $reactor_id ]
}
}
- Method [ <internal:SPL, inherits ArrayObject, prototype Countable> public method count ] {
+ Method [ <internal:swoole> public method connection_list ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $start_fd ]
+ Parameter #1 [ <optional> $find_count ]
}
}
- Method [ <internal:SPL, inherits ArrayObject> public method getFlags ] {
+ Method [ <internal:swoole> public method sendMessage ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $message ]
+ Parameter #1 [ <required> $dst_worker_id ]
}
}
- Method [ <internal:SPL, inherits ArrayObject> public method setFlags ] {
+ Method [ <internal:swoole> public method addProcess ] {
- Parameters [1] {
- Parameter #0 [ <required> $flags ]
- }
- }
-
- Method [ <internal:SPL, inherits ArrayObject> public method asort ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> swoole_process $process ]
}
}
- Method [ <internal:SPL, inherits ArrayObject> public method ksort ] {
+ Method [ <internal:swoole> public method stats ] {
- Parameters [0] {
}
}
- Method [ <internal:SPL, inherits ArrayObject> public method uasort ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $cmp_function ]
- }
- }
-
- Method [ <internal:SPL, inherits ArrayObject> public method uksort ] {
+ Method [ <internal:swoole> public method getSocket ] {
- Parameters [1] {
- Parameter #0 [ <required> $cmp_function ]
- }
- }
-
- Method [ <internal:SPL, inherits ArrayObject> public method natsort ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:SPL, inherits ArrayObject> public method natcasesort ] {
-
- - Parameters [0] {
+ Parameter #0 [ <optional> $port ]
}
}
- Method [ <internal:SPL, inherits ArrayObject, prototype Serializable> public method unserialize ] {
+ Method [ <internal:swoole> public method bind ] {
- - Parameters [1] {
- Parameter #0 [ <required> $serialized ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <required> $uid ]
}
}
- Method [ <internal:SPL, inherits ArrayObject, prototype Serializable> public method serialize ] {
+ Method [ <internal:swoole, inherits Swoole\Timer> public method after ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $ms ]
+ Parameter #1 [ <required> callable $callback ]
}
}
- Method [ <internal:SPL, inherits ArrayObject, prototype IteratorAggregate> public method getIterator ] {
+ Method [ <internal:swoole, inherits Swoole\Timer> public method tick ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $ms ]
+ Parameter #1 [ <required> callable $callback ]
}
}
- Method [ <internal:SPL, inherits ArrayObject> public method exchangeArray ] {
+ Method [ <internal:swoole, inherits Swoole\Timer> public method clearTimer ] {
- Parameters [1] {
- Parameter #0 [ <required> $array ]
+ Parameter #0 [ <required> $timer_id ]
}
}
- Method [ <internal:SPL, inherits ArrayObject> public method setIteratorClass ] {
+ Method [ <internal:swoole, inherits Swoole\Event> public method defer ] {
- Parameters [1] {
- Parameter #0 [ <required> $iteratorClass ]
- }
- }
-
- Method [ <internal:SPL, inherits ArrayObject> public method getIteratorClass ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> callable $callback ]
}
}
}
}
- Class [ <internal:swoole> class Swoole\ExitException extends Swoole\Exception implements Throwable ] {
+ Class [ <internal:swoole> final class Swoole\Server\Task ] {
- Constants [0] {
}
@@ -4296,141 +5613,40 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
- Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ Property [ <default> public $data ]
+ Property [ <default> public $id ]
+ Property [ <default> public $worker_id ]
+ Property [ <default> public $flags ]
}
- - Methods [12] {
- Method [ <internal:swoole> public method getFlags ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method getStatus ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+ - Methods [1] {
+ Method [ <internal:swoole> public method finish ] {
- - Parameters [3] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $data ]
}
}
-
- Method [ <internal:Core, inherits Exception> public method __wakeup ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
- }
}
}
- Class [ <internal:swoole> class Swoole\Process ] {
+ Class [ <internal:swoole> <iterateable> class Swoole\Connection\Iterator implements Iterator, Traversable, ArrayAccess, Countable ] {
- - Constants [5] {
- Constant [ public integer IPC_NOWAIT ] { 256 }
- Constant [ public integer PIPE_MASTER ] { 1 }
- Constant [ public integer PIPE_WORKER ] { 2 }
- Constant [ public integer PIPE_READ ] { 3 }
- Constant [ public integer PIPE_WRITE ] { 4 }
+ - Constants [0] {
}
- Static properties [0] {
}
- - Static methods [6] {
- Method [ <internal:swoole> static public method wait ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $blocking ]
- }
- }
-
- Method [ <internal:swoole> static public method signal ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $signal_no ]
- Parameter #1 [ <required> $callback ]
- }
- }
-
- Method [ <internal:swoole> static public method alarm ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $usec ]
- Parameter #1 [ <optional> $type ]
- }
- }
-
- Method [ <internal:swoole> static public method kill ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $pid ]
- Parameter #1 [ <optional> $signal_no ]
- }
- }
-
- Method [ <internal:swoole> static public method daemon ] {
-
- - Parameters [2] {
- Parameter #0 [ <optional> $nochdir ]
- Parameter #1 [ <optional> $noclose ]
- }
- }
-
- Method [ <internal:swoole> static public method setaffinity ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> array $cpu_settings ]
- }
- }
+ - Static methods [0] {
}
- - Properties [6] {
- Property [ <default> public $pipe ]
- Property [ <default> public $callback ]
- Property [ <default> public $msgQueueId ]
- Property [ <default> public $msgQueueKey ]
- Property [ <default> public $pid ]
- Property [ <default> public $id ]
+ - Properties [0] {
}
- - Methods [17] {
+ - Methods [12] {
Method [ <internal:swoole, ctor> public method __construct ] {
- - Parameters [4] {
- Parameter #0 [ <required> callable $callback ]
- Parameter #1 [ <optional> $redirect_stdin_and_stdout ]
- Parameter #2 [ <optional> $pipe_type ]
- Parameter #3 [ <optional> $enable_coroutine ]
+ - Parameters [0] {
}
}
@@ -4440,112 +5656,74 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole> public method setTimeout ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $seconds ]
- }
- }
-
- Method [ <internal:swoole> public method setBlocking ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $blocking ]
- }
- }
-
- Method [ <internal:swoole> public method useQueue ] {
-
- - Parameters [3] {
- Parameter #0 [ <optional> $key ]
- Parameter #1 [ <optional> $mode ]
- Parameter #2 [ <optional> $capacity ]
- }
- }
-
- Method [ <internal:swoole> public method statQueue ] {
+ Method [ <internal:swoole, prototype Iterator> public method rewind ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method freeQueue ] {
+ Method [ <internal:swoole, prototype Iterator> public method next ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method start ] {
+ Method [ <internal:swoole, prototype Iterator> public method current ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method write ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $data ]
- }
- }
-
- Method [ <internal:swoole> public method close ] {
+ Method [ <internal:swoole, prototype Iterator> public method key ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method read ] {
+ Method [ <internal:swoole, prototype Iterator> public method valid ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $size ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method push ] {
+ Method [ <internal:swoole, prototype Countable> public method count ] {
- - Parameters [1] {
- Parameter #0 [ <required> $data ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method pop ] {
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] {
- Parameters [1] {
- Parameter #0 [ <optional> $size ]
+ Parameter #0 [ <required> $fd ]
}
}
- Method [ <internal:swoole> public method exit ] {
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetGet ] {
- Parameters [1] {
- Parameter #0 [ <optional> $exit_code ]
+ Parameter #0 [ <required> $fd ]
}
}
- Method [ <internal:swoole> public method exec ] {
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetSet ] {
- Parameters [2] {
- Parameter #0 [ <required> $exec_file ]
- Parameter #1 [ <required> $args ]
- }
- }
-
- Method [ <internal:swoole> public method exportSocket ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <required> $value ]
}
}
- Method [ <internal:swoole> public method name ] {
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetUnset ] {
- Parameters [1] {
- Parameter #0 [ <required> $process_name ]
+ Parameter #0 [ <required> $fd ]
}
}
}
}
- Class [ <internal:swoole> class Swoole\Process\Pool ] {
+ Class [ <internal:swoole> class Swoole\Server\Port ] {
- Constants [0] {
}
@@ -4556,112 +5734,33 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static methods [0] {
}
- - Properties [1] {
- Property [ <default> public $master_pid ]
- }
-
- - Methods [8] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $worker_num ]
- Parameter #1 [ <optional> $ipc_type ]
- Parameter #2 [ <optional> $msgqueue_key ]
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method on ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> callable $callback ]
- }
- }
-
- Method [ <internal:swoole> public method getProcess ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method listen ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $host ]
- Parameter #1 [ <optional> $port ]
- Parameter #2 [ <optional> $backlog ]
- }
- }
-
- Method [ <internal:swoole> public method write ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $data ]
- }
- }
-
- Method [ <internal:swoole> public method start ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method shutdown ] {
-
- - Parameters [0] {
- }
- }
- }
- }
-
- Class [ <internal:swoole> <iterateable> class Swoole\Table implements Iterator, Traversable, ArrayAccess, Countable ] {
-
- - Constants [3] {
- Constant [ public integer TYPE_INT ] { 1 }
- Constant [ public integer TYPE_STRING ] { 7 }
- Constant [ public integer TYPE_FLOAT ] { 6 }
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
+ - Properties [16] {
+ Property [ <default> private $onConnect ]
+ Property [ <default> private $onReceive ]
+ Property [ <default> private $onClose ]
+ Property [ <default> private $onPacket ]
+ Property [ <default> private $onBufferFull ]
+ Property [ <default> private $onBufferEmpty ]
+ Property [ <default> private $onRequest ]
+ Property [ <default> private $onHandShake ]
+ Property [ <default> private $onOpen ]
+ Property [ <default> private $onMessage ]
+ Property [ <default> public $host ]
+ Property [ <default> public $port ]
+ Property [ <default> public $type ]
+ Property [ <default> public $sock ]
+ Property [ <default> public $setting ]
+ Property [ <default> public $connections ]
}
- - Methods [22] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $table_size ]
- Parameter #1 [ <optional> $conflict_proportion ]
- }
- }
-
- Method [ <internal:swoole> public method column ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $name ]
- Parameter #1 [ <required> $type ]
- Parameter #2 [ <optional> $size ]
- }
- }
-
- Method [ <internal:swoole> public method create ] {
+ - Methods [6] {
+ Method [ <internal:swoole, ctor> private method __construct ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method destroy ] {
+ Method [ <internal:swoole, dtor> public method __destruct ] {
- Parameters [0] {
}
@@ -4669,125 +5768,27 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
Method [ <internal:swoole> public method set ] {
- - Parameters [2] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> array $value ]
- }
- }
-
- Method [ <internal:swoole> public method get ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <optional> $field ]
- }
- }
-
- Method [ <internal:swoole, prototype Countable> public method count ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method del ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $key ]
- }
- }
-
- Method [ <internal:swoole> public method exists ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $key ]
- }
- }
-
- Method [ <internal:swoole> public method exist ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $key ]
- }
- }
-
- Method [ <internal:swoole> public method incr ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> $column ]
- Parameter #2 [ <optional> $incrby ]
- }
- }
-
- Method [ <internal:swoole> public method decr ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> $column ]
- Parameter #2 [ <optional> $decrby ]
- }
- }
-
- Method [ <internal:swoole> public method getMemorySize ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] {
-
- Parameters [1] {
- Parameter #0 [ <required> $offset ]
- }
- }
-
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetGet ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $offset ]
+ Parameter #0 [ <required> array $settings ]
}
}
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetSet ] {
+ Method [ <internal:swoole> public method on ] {
- Parameters [2] {
- Parameter #0 [ <required> $offset ]
- Parameter #1 [ <required> $value ]
+ Parameter #0 [ <required> $event_name ]
+ Parameter #1 [ <required> callable $callback ]
}
}
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetUnset ] {
+ Method [ <internal:swoole> public method getCallback ] {
- Parameters [1] {
- Parameter #0 [ <required> $offset ]
- }
- }
-
- Method [ <internal:swoole, prototype Iterator> public method rewind ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole, prototype Iterator> public method next ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole, prototype Iterator> public method current ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole, prototype Iterator> public method key ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> $event_name ]
}
}
- Method [ <internal:swoole, prototype Iterator> public method valid ] {
+ Method [ <internal:swoole> public method getSocket ] {
- Parameters [0] {
}
@@ -4795,7 +5796,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Class [ <internal:swoole> class Swoole\Table\Row implements ArrayAccess ] {
+ Class [ <internal:swoole> class Swoole\Http\Request ] {
- Constants [0] {
}
@@ -4806,38 +5807,29 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static methods [0] {
}
- - Properties [2] {
- Property [ <default> public $key ]
- Property [ <default> public $value ]
+ - Properties [10] {
+ Property [ <default> public $fd ]
+ Property [ <default> public $streamId ]
+ Property [ <default> public $header ]
+ Property [ <default> public $server ]
+ Property [ <default> public $request ]
+ Property [ <default> public $cookie ]
+ Property [ <default> public $get ]
+ Property [ <default> public $files ]
+ Property [ <default> public $post ]
+ Property [ <default> public $tmpfiles ]
}
- - Methods [5] {
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $offset ]
- }
- }
-
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetGet ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $offset ]
- }
- }
-
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetSet ] {
+ - Methods [3] {
+ Method [ <internal:swoole> public method rawContent ] {
- - Parameters [2] {
- Parameter #0 [ <required> $offset ]
- Parameter #1 [ <required> $value ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetUnset ] {
+ Method [ <internal:swoole> public method getData ] {
- - Parameters [1] {
- Parameter #0 [ <required> $offset ]
+ - Parameters [0] {
}
}
@@ -4849,7 +5841,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Class [ <internal:swoole> class Swoole\Runtime ] {
+ Class [ <internal:swoole> class Swoole\Http\Response ] {
- Constants [0] {
}
@@ -4857,236 +5849,175 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static properties [0] {
}
- - Static methods [2] {
- Method [ <internal:swoole> static public method enableStrictMode ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> static public method enableCoroutine ] {
+ - Static methods [1] {
+ Method [ <internal:swoole> static public method create ] {
- - Parameters [2] {
- Parameter #0 [ <optional> $enable ]
- Parameter #1 [ <optional> $flags ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $fd ]
}
}
}
- - Properties [0] {
- }
-
- - Methods [0] {
- }
- }
-
- Class [ <internal:swoole> class Swoole\Lock ] {
-
- - Constants [5] {
- Constant [ public integer FILELOCK ] { 2 }
- Constant [ public integer MUTEX ] { 3 }
- Constant [ public integer SEM ] { 4 }
- Constant [ public integer RWLOCK ] { 1 }
- Constant [ public integer SPINLOCK ] { 5 }
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [1] {
- Property [ <default> public $errCode ]
+ - Properties [5] {
+ Property [ <default> public $fd ]
+ Property [ <default> public $socket ]
+ Property [ <default> public $header ]
+ Property [ <default> public $cookie ]
+ Property [ <default> public $trailer ]
}
- - Methods [9] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [2] {
- Parameter #0 [ <optional> $type ]
- Parameter #1 [ <optional> $filename ]
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method lock ] {
+ - Methods [19] {
+ Method [ <internal:swoole> public method initHeader ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method lockwait ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $timeout ]
- }
- }
-
- Method [ <internal:swoole> public method trylock ] {
+ Method [ <internal:swoole> public method cookie ] {
- - Parameters [0] {
+ - Parameters [7] {
+ Parameter #0 [ <required> $name ]
+ Parameter #1 [ <optional> $value ]
+ Parameter #2 [ <optional> $expires ]
+ Parameter #3 [ <optional> $path ]
+ Parameter #4 [ <optional> $domain ]
+ Parameter #5 [ <optional> $secure ]
+ Parameter #6 [ <optional> $httponly ]
}
}
- Method [ <internal:swoole> public method lock_read ] {
+ Method [ <internal:swoole> public method setCookie ] {
- - Parameters [0] {
+ - Parameters [7] {
+ Parameter #0 [ <required> $name ]
+ Parameter #1 [ <optional> $value ]
+ Parameter #2 [ <optional> $expires ]
+ Parameter #3 [ <optional> $path ]
+ Parameter #4 [ <optional> $domain ]
+ Parameter #5 [ <optional> $secure ]
+ Parameter #6 [ <optional> $httponly ]
}
}
- Method [ <internal:swoole> public method trylock_read ] {
+ Method [ <internal:swoole> public method rawcookie ] {
- - Parameters [0] {
+ - Parameters [7] {
+ Parameter #0 [ <required> $name ]
+ Parameter #1 [ <optional> $value ]
+ Parameter #2 [ <optional> $expires ]
+ Parameter #3 [ <optional> $path ]
+ Parameter #4 [ <optional> $domain ]
+ Parameter #5 [ <optional> $secure ]
+ Parameter #6 [ <optional> $httponly ]
}
}
- Method [ <internal:swoole> public method unlock ] {
+ Method [ <internal:swoole> public method status ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $http_code ]
+ Parameter #1 [ <optional> $reason ]
}
}
- Method [ <internal:swoole> public method destroy ] {
+ Method [ <internal:swoole> public method setStatusCode ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $http_code ]
+ Parameter #1 [ <optional> $reason ]
}
}
- }
- }
-
- Class [ <internal:swoole> class Swoole\Atomic ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
- }
- - Methods [8] {
- Method [ <internal:swoole, ctor> public method __construct ] {
+ Method [ <internal:swoole> public method header ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $value ]
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ Parameter #2 [ <optional> $ucwords ]
}
}
- Method [ <internal:swoole> public method add ] {
+ Method [ <internal:swoole> public method setHeader ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $add_value ]
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ Parameter #2 [ <optional> $ucwords ]
}
}
- Method [ <internal:swoole> public method sub ] {
+ Method [ <internal:swoole> public method trailer ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $sub_value ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
}
}
- Method [ <internal:swoole> public method get ] {
+ Method [ <internal:swoole> public method ping ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method set ] {
+ Method [ <internal:swoole> public method write ] {
- Parameters [1] {
- Parameter #0 [ <required> $value ]
+ Parameter #0 [ <required> $content ]
}
}
- Method [ <internal:swoole> public method wait ] {
+ Method [ <internal:swoole> public method end ] {
- Parameters [1] {
- Parameter #0 [ <optional> $timeout ]
+ Parameter #0 [ <optional> $content ]
}
}
- Method [ <internal:swoole> public method wakeup ] {
+ Method [ <internal:swoole> public method sendfile ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $count ]
+ - Parameters [3] {
+ Parameter #0 [ <required> $filename ]
+ Parameter #1 [ <optional> $offset ]
+ Parameter #2 [ <optional> $length ]
}
}
- Method [ <internal:swoole> public method cmpset ] {
+ Method [ <internal:swoole> public method redirect ] {
- Parameters [2] {
- Parameter #0 [ <required> $cmp_value ]
- Parameter #1 [ <required> $new_value ]
- }
- }
- }
- }
-
- Class [ <internal:swoole> class Swoole\Atomic\Long ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
- }
-
- - Methods [6] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $value ]
+ Parameter #0 [ <required> $location ]
+ Parameter #1 [ <optional> $http_code ]
}
}
- Method [ <internal:swoole> public method add ] {
+ Method [ <internal:swoole> public method detach ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $add_value ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method sub ] {
+ Method [ <internal:swoole> public method upgrade ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $sub_value ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method get ] {
+ Method [ <internal:swoole> public method push ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method set ] {
+ Method [ <internal:swoole> public method recv ] {
- - Parameters [1] {
- Parameter #0 [ <required> $value ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method cmpset ] {
+ Method [ <internal:swoole, dtor> public method __destruct ] {
- - Parameters [2] {
- Parameter #0 [ <required> $cmp_value ]
- Parameter #1 [ <required> $new_value ]
+ - Parameters [0] {
}
}
}
@@ -5344,7 +6275,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method getClientInfo ] {
- Parameters [2] {
Parameter #0 [ <required> $fd ]
@@ -5352,7 +6283,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method connection_list ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method getClientList ] {
- Parameters [2] {
Parameter #0 [ <required> $start_fd ]
@@ -5360,7 +6291,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method getClientInfo ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] {
- Parameters [2] {
Parameter #0 [ <required> $fd ]
@@ -5368,7 +6299,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method getClientList ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method connection_list ] {
- Parameters [2] {
Parameter #0 [ <required> $start_fd ]
@@ -5376,37 +6307,6 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method after ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> callable $callback ]
- Parameter #2 [ <optional> $param ]
- }
- }
-
- Method [ <internal:swoole, inherits Swoole\Server> public method tick ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> callable $callback ]
- }
- }
-
- Method [ <internal:swoole, inherits Swoole\Server> public method clearTimer ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $timer_id ]
- }
- }
-
- Method [ <internal:swoole, inherits Swoole\Server> public method defer ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> callable $callback ]
- }
- }
-
Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] {
- Parameters [2] {
@@ -5442,188 +6342,40 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
Parameter #1 [ <required> $uid ]
}
}
- }
- }
-
- Class [ <internal:swoole> class Swoole\Http\Request ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [10] {
- Property [ <default> public $fd ]
- Property [ <default> public $streamId ]
- Property [ <default> public $header ]
- Property [ <default> public $server ]
- Property [ <default> public $request ]
- Property [ <default> public $cookie ]
- Property [ <default> public $get ]
- Property [ <default> public $files ]
- Property [ <default> public $post ]
- Property [ <default> public $tmpfiles ]
- }
-
- - Methods [3] {
- Method [ <internal:swoole> public method rawContent ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method getData ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
- }
- }
-
- Class [ <internal:swoole> class Swoole\Http\Response ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [1] {
- Method [ <internal:swoole> static public method create ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $fd ]
- }
- }
- }
-
- - Properties [4] {
- Property [ <default> public $fd ]
- Property [ <default> public $header ]
- Property [ <default> public $cookie ]
- Property [ <default> public $trailer ]
- }
-
- - Methods [13] {
- Method [ <internal:swoole> public method initHeader ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method cookie ] {
-
- - Parameters [7] {
- Parameter #0 [ <required> $name ]
- Parameter #1 [ <optional> $value ]
- Parameter #2 [ <optional> $expires ]
- Parameter #3 [ <optional> $path ]
- Parameter #4 [ <optional> $domain ]
- Parameter #5 [ <optional> $secure ]
- Parameter #6 [ <optional> $httponly ]
- }
- }
- Method [ <internal:swoole> public method rawcookie ] {
-
- - Parameters [7] {
- Parameter #0 [ <required> $name ]
- Parameter #1 [ <optional> $value ]
- Parameter #2 [ <optional> $expires ]
- Parameter #3 [ <optional> $path ]
- Parameter #4 [ <optional> $domain ]
- Parameter #5 [ <optional> $secure ]
- Parameter #6 [ <optional> $httponly ]
- }
- }
-
- Method [ <internal:swoole> public method status ] {
+ Method [ <internal:swoole, inherits Swoole\Timer> public method after ] {
- Parameters [2] {
- Parameter #0 [ <required> $http_code ]
- Parameter #1 [ <optional> $reason ]
- }
- }
-
- Method [ <internal:swoole> public method header ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> $value ]
- Parameter #2 [ <optional> $ucwords ]
+ Parameter #0 [ <required> $ms ]
+ Parameter #1 [ <required> callable $callback ]
}
}
- Method [ <internal:swoole> public method trailer ] {
+ Method [ <internal:swoole, inherits Swoole\Timer> public method tick ] {
- Parameters [2] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> $value ]
- }
- }
-
- Method [ <internal:swoole> public method ping ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> $ms ]
+ Parameter #1 [ <required> callable $callback ]
}
}
- Method [ <internal:swoole> public method write ] {
+ Method [ <internal:swoole, inherits Swoole\Timer> public method clearTimer ] {
- Parameters [1] {
- Parameter #0 [ <required> $content ]
+ Parameter #0 [ <required> $timer_id ]
}
}
- Method [ <internal:swoole> public method end ] {
+ Method [ <internal:swoole, inherits Swoole\Event> public method defer ] {
- Parameters [1] {
- Parameter #0 [ <optional> $content ]
- }
- }
-
- Method [ <internal:swoole> public method sendfile ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <optional> $offset ]
- Parameter #2 [ <optional> $length ]
- }
- }
-
- Method [ <internal:swoole> public method redirect ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $location ]
- Parameter #1 [ <optional> $http_code ]
- }
- }
-
- Method [ <internal:swoole> public method detach ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> callable $callback ]
}
}
}
}
- Class [ <internal:swoole> class Swoole\Buffer ] {
+ Class [ <internal:swoole> final class Swoole\Coroutine\Http\Server ] {
- Constants [0] {
}
@@ -5634,77 +6386,57 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
- Static methods [0] {
}
- - Properties [2] {
- Property [ <default> public $capacity ]
- Property [ <default> public $length ]
+ - Properties [7] {
+ Property [ <default> public $fd ]
+ Property [ <default> public $host ]
+ Property [ <default> public $port ]
+ Property [ <default> public $ssl ]
+ Property [ <default> public $settings ]
+ Property [ <default> public $errCode ]
+ Property [ <default> public $errMsg ]
}
- - Methods [10] {
+ - Methods [7] {
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 ] {
+ Method [ <internal:swoole, dtor> public method __destruct ] {
- 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 ] {
+ Method [ <internal:swoole> public method set ] {
- - Parameters [2] {
- Parameter #0 [ <required> $offset ]
- Parameter #1 [ <required> $data ]
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
}
}
- Method [ <internal:swoole> public method read ] {
+ Method [ <internal:swoole> public method handle ] {
- Parameters [2] {
- Parameter #0 [ <required> $offset ]
- Parameter #1 [ <required> $length ]
- }
- }
-
- Method [ <internal:swoole> public method append ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $data ]
+ Parameter #0 [ <required> $pattern ]
+ Parameter #1 [ <required> callable $callback ]
}
}
- Method [ <internal:swoole> public method expand ] {
+ Method [ <internal:swoole> public method onAccept ] {
- - Parameters [1] {
- Parameter #0 [ <required> $size ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method recycle ] {
+ Method [ <internal:swoole> public method start ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method clear ] {
+ Method [ <internal:swoole> public method shutdown ] {
- Parameters [0] {
}
@@ -6004,7 +6736,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method getClientInfo ] {
- Parameters [2] {
Parameter #0 [ <required> $fd ]
@@ -6012,7 +6744,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method connection_list ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method getClientList ] {
- Parameters [2] {
Parameter #0 [ <required> $start_fd ]
@@ -6020,7 +6752,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method getClientInfo ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] {
- Parameters [2] {
Parameter #0 [ <required> $fd ]
@@ -6028,7 +6760,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method getClientList ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method connection_list ] {
- Parameters [2] {
Parameter #0 [ <required> $start_fd ]
@@ -6036,70 +6768,69 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method after ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] {
- - Parameters [3] {
- Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> callable $callback ]
- Parameter #2 [ <optional> $param ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $message ]
+ Parameter #1 [ <required> $dst_worker_id ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method tick ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method addProcess ] {
- - Parameters [2] {
- Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> callable $callback ]
+ - Parameters [1] {
+ Parameter #0 [ <required> swoole_process $process ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method clearTimer ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method stats ] {
- - Parameters [1] {
- Parameter #0 [ <required> $timer_id ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method defer ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method getSocket ] {
- Parameters [1] {
- Parameter #0 [ <required> callable $callback ]
+ Parameter #0 [ <optional> $port ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method bind ] {
- Parameters [2] {
- Parameter #0 [ <required> $message ]
- Parameter #1 [ <required> $dst_worker_id ]
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <required> $uid ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method addProcess ] {
+ Method [ <internal:swoole, inherits Swoole\Timer> public method after ] {
- - Parameters [1] {
- Parameter #0 [ <required> swoole_process $process ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $ms ]
+ Parameter #1 [ <required> callable $callback ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method stats ] {
+ Method [ <internal:swoole, inherits Swoole\Timer> public method tick ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $ms ]
+ Parameter #1 [ <required> callable $callback ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method getSocket ] {
+ Method [ <internal:swoole, inherits Swoole\Timer> public method clearTimer ] {
- Parameters [1] {
- Parameter #0 [ <optional> $port ]
+ Parameter #0 [ <required> $timer_id ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method bind ] {
+ Method [ <internal:swoole, inherits Swoole\Event> public method defer ] {
- - Parameters [2] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $uid ]
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
}
}
}
@@ -6193,327 +6924,6 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Class [ <internal:swoole> class Swoole\Coroutine\Channel ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [2] {
- Property [ <default> public $capacity ]
- Property [ <default> public $errCode ]
- }
-
- - Methods [8] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $size ]
- }
- }
-
- Method [ <internal:swoole> public method push ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $timeout ]
- }
- }
-
- Method [ <internal:swoole> public method pop ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $timeout ]
- }
- }
-
- Method [ <internal:swoole> public method isEmpty ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method isFull ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method close ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method stats ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method length ] {
-
- - Parameters [0] {
- }
- }
- }
- }
-
- Class [ <internal:swoole> class Swoole\Coroutine\Http2\Client ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [8] {
- Property [ <default> public $errCode ]
- Property [ <default> public $errMsg ]
- Property [ <default> public $sock ]
- Property [ <default> public $type ]
- Property [ <default> public $setting ]
- Property [ <default> public $connected ]
- Property [ <default> public $host ]
- Property [ <default> public $port ]
- }
-
- - Methods [12] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $host ]
- Parameter #1 [ <optional> $port ]
- Parameter #2 [ <optional> $ssl ]
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method set ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> array $settings ]
- }
- }
-
- Method [ <internal:swoole> public method connect ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method stats ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $key ]
- }
- }
-
- Method [ <internal:swoole> public method isStreamExist ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $stream_id ]
- }
- }
-
- Method [ <internal:swoole> public method send ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $request ]
- }
- }
-
- Method [ <internal:swoole> public method write ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $stream_id ]
- Parameter #1 [ <required> $data ]
- Parameter #2 [ <optional> $end_stream ]
- }
- }
-
- Method [ <internal:swoole> public method recv ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $timeout ]
- }
- }
-
- Method [ <internal:swoole> public method goaway ] {
-
- - Parameters [2] {
- Parameter #0 [ <optional> $error_code ]
- Parameter #1 [ <optional> $debug_data ]
- }
- }
-
- Method [ <internal:swoole> public method ping ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method close ] {
-
- - Parameters [0] {
- }
- }
- }
- }
-
- Class [ <internal:swoole> class Swoole\Coroutine\Http2\Client\Exception extends Swoole\Exception implements Throwable ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
- }
-
- - Methods [10] {
- Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
-
- - Parameters [3] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
- }
- }
-
- Method [ <internal:Core, inherits Exception> public method __wakeup ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
- }
- }
- }
-
- Class [ <internal:swoole> class Swoole\Http2\Request ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [6] {
- Property [ <default> public $path ]
- Property [ <default> public $method ]
- Property [ <default> public $headers ]
- Property [ <default> public $cookies ]
- Property [ <default> public $data ]
- Property [ <default> public $pipeline ]
- }
-
- - Methods [0] {
- }
- }
-
- Class [ <internal:swoole> class Swoole\Http2\Response ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [8] {
- Property [ <default> public $streamId ]
- Property [ <default> public $errCode ]
- Property [ <default> public $statusCode ]
- Property [ <default> public $pipeline ]
- Property [ <default> public $headers ]
- Property [ <default> public $set_cookie_headers ]
- Property [ <default> public $cookies ]
- Property [ <default> public $data ]
- }
-
- - Methods [0] {
- }
- }
-
- Class [ <internal:swoole> class Swoole\Serialize ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [2] {
- Method [ <internal:swoole> static public method pack ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $flag ]
- }
- }
-
- Method [ <internal:swoole> static public method unpack ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $string ]
- Parameter #1 [ <optional> $flag ]
- }
- }
- }
-
- - Properties [0] {
- }
-
- - Methods [0] {
- }
- }
-
Class [ <internal:swoole> class Swoole\Redis\Server extends Swoole\Server ] {
- Constants [7] {
@@ -6793,7 +7203,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method getClientInfo ] {
- Parameters [2] {
Parameter #0 [ <required> $fd ]
@@ -6801,7 +7211,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method connection_list ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method getClientList ] {
- Parameters [2] {
Parameter #0 [ <required> $start_fd ]
@@ -6809,7 +7219,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method getClientInfo ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] {
- Parameters [2] {
Parameter #0 [ <required> $fd ]
@@ -6817,7 +7227,7 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method getClientList ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method connection_list ] {
- Parameters [2] {
Parameter #0 [ <required> $start_fd ]
@@ -6825,70 +7235,69 @@ Extension [ <persistent> extension #155 swoole version 4.3.5 ] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method after ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] {
- - Parameters [3] {
- Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> callable $callback ]
- Parameter #2 [ <optional> $param ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $message ]
+ Parameter #1 [ <required> $dst_worker_id ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method tick ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method addProcess ] {
- - Parameters [2] {
- Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> callable $callback ]
+ - Parameters [1] {
+ Parameter #0 [ <required> swoole_process $process ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method clearTimer ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method stats ] {
- - Parameters [1] {
- Parameter #0 [ <required> $timer_id ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method defer ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method getSocket ] {
- Parameters [1] {
- Parameter #0 [ <required> callable $callback ]
+ Parameter #0 [ <optional> $port ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] {
+ Method [ <internal:swoole, inherits Swoole\Server> public method bind ] {
- Parameters [2] {
- Parameter #0 [ <required> $message ]
- Parameter #1 [ <required> $dst_worker_id ]
+ Parameter #0 [ <required> $fd ]
+ Parameter #1 [ <required> $uid ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method addProcess ] {
+ Method [ <internal:swoole, inherits Swoole\Timer> public method after ] {
- - Parameters [1] {
- Parameter #0 [ <required> swoole_process $process ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $ms ]
+ Parameter #1 [ <required> callable $callback ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method stats ] {
+ Method [ <internal:swoole, inherits Swoole\Timer> public method tick ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $ms ]
+ Parameter #1 [ <required> callable $callback ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method getSocket ] {
+ Method [ <internal:swoole, inherits Swoole\Timer> public method clearTimer ] {
- Parameters [1] {
- Parameter #0 [ <optional> $port ]
+ Parameter #0 [ <required> $timer_id ]
}
}
- Method [ <internal:swoole, inherits Swoole\Server> public method bind ] {
+ Method [ <internal:swoole, inherits Swoole\Event> public method defer ] {
- - Parameters [2] {
- Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $uid ]
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
}
}
}
diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec
index ba10a55..db8f067 100644
--- a/php-pecl-swoole4.spec
+++ b/php-pecl-swoole4.spec
@@ -20,11 +20,6 @@
# After 20-sockets
%global ini_name 40-%{pecl_name}.ini
-%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
-%global with_pgsql 1
-%else
-%global with_pgsql 0
-%endif
%global with_nghttpd2 1
%if 0%{?fedora} >= 25 || 0%{?rhel} >= 8
%global with_brotli 1
@@ -35,7 +30,7 @@
Summary: PHP's asynchronous concurrent distributed networking framework
Name: %{?sub_prefix}php-pecl-%{pecl_name}4
-Version: 4.3.5
+Version: 4.4.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# Extension is ASL 2.0
# Hiredis is BSD
@@ -49,19 +44,12 @@ BuildRequires: devtoolset-6-toolchain
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?dtsprefix}gcc-c++
%endif
-BuildRequires: %{?scl_prefix}php-devel > 7
+BuildRequires: %{?scl_prefix}php-devel > 7.1
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-sockets
BuildRequires: %{?scl_prefix}php-mysqlnd
BuildRequires: pcre-devel
BuildRequires: openssl-devel
-%if %{with_pgsql}
-%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
-BuildRequires: libpq-devel > 9.5
-%else
-BuildRequires: postgresql-devel > 9.5
-%endif
-%endif
%if %{with_brotli}
BuildRequires: brotli-devel
%endif
@@ -97,10 +85,8 @@ Conflicts: %{?sub_prefix}php-pecl-%{pecl_name}2 < 4
%endif
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-%if "%{php_version}" > "7.1"
Obsoletes: php71u-pecl-%{pecl_name}4 <= %{version}
Obsoletes: php71w-pecl-%{pecl_name}4 <= %{version}
-%endif
%if "%{php_version}" > "7.2"
Obsoletes: php72u-pecl-%{pecl_name}4 <= %{version}
Obsoletes: php72w-pecl-%{pecl_name}4 <= %{version}
@@ -194,6 +180,8 @@ extension=%{pecl_name}.so
; Configuration
;swoole.enable_coroutine = On
+;swoole.enable_library = On
+;swoole.enable_preemptive_scheduler = Off
;swoole.display_errors = On
:swoole.use_shortname = On
;swoole.fast_serialize = Off
@@ -215,11 +203,7 @@ peclbuild() {
--enable-trace-log \
--enable-openssl \
--enable-http2 \
-%if %{with_pgsql}
- --enable-coroutine-postgresql \
-%endif
--enable-mysqlnd \
- --enable-scheduler-tick \
--with-libdir=%{_lib} \
--with-php-config=$1
@@ -343,6 +327,12 @@ cd ../ZTS
%changelog
+* Sun Jul 7 2019 Remi Collet <remi@remirepo.net> - 4.4.0-1
+- update to 4.4.0
+- raise dependency on PHP 7.1
+- drop `Serialize` module
+- drop `PostgreSQL` module
+
* Fri Jun 14 2019 Remi Collet <remi@remirepo.net> - 4.3.5-1
- update to 4.3.5