summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION9855
1 files changed, 9855 insertions, 0 deletions
diff --git a/REFLECTION b/REFLECTION
new file mode 100644
index 0000000..c3d8b64
--- /dev/null
+++ b/REFLECTION
@@ -0,0 +1,9855 @@
+Extension [ <persistent> extension #94 swoole version 5.1.3 ] {
+
+ - Dependencies {
+ Dependency [ json (Required) ]
+ Dependency [ mysqlnd (Required) ]
+ Dependency [ sockets (Required) ]
+ Dependency [ curl (Required) ]
+ Dependency [ pdo (Required) ]
+ }
+
+ - INI {
+ Entry [ swoole.enable_coroutine <ALL> ]
+ Current = 'On'
+ }
+ Entry [ swoole.enable_library <ALL> ]
+ Current = 'On'
+ }
+ Entry [ swoole.enable_fiber_mock <ALL> ]
+ Current = 'Off'
+ }
+ Entry [ swoole.enable_preemptive_scheduler <ALL> ]
+ Current = 'Off'
+ }
+ Entry [ swoole.display_errors <ALL> ]
+ Current = 'On'
+ }
+ Entry [ swoole.use_shortname <SYSTEM> ]
+ Current = 'On'
+ }
+ Entry [ swoole.unixsock_buffer_size <ALL> ]
+ Current = '8388608'
+ }
+ }
+
+ - Constants [421] {
+ Constant [ string SWOOLE_VERSION ] { 5.1.3 }
+ Constant [ int SWOOLE_VERSION_ID ] { 50103 }
+ Constant [ int SWOOLE_MAJOR_VERSION ] { 5 }
+ Constant [ int SWOOLE_MINOR_VERSION ] { 1 }
+ Constant [ int SWOOLE_RELEASE_VERSION ] { 3 }
+ Constant [ string SWOOLE_EXTRA_VERSION ] { }
+ Constant [ bool SWOOLE_DEBUG ] { }
+ Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 }
+ Constant [ bool SWOOLE_HAVE_ZLIB ] { 1 }
+ Constant [ bool SWOOLE_HAVE_BROTLI ] { 1 }
+ Constant [ bool SWOOLE_USE_HTTP2 ] { 1 }
+ Constant [ bool SWOOLE_USE_SHORTNAME ] { 1 }
+ Constant [ int SWOOLE_SOCK_TCP ] { 1 }
+ Constant [ int SWOOLE_SOCK_TCP6 ] { 3 }
+ Constant [ int SWOOLE_SOCK_UDP ] { 2 }
+ Constant [ int SWOOLE_SOCK_UDP6 ] { 4 }
+ Constant [ int SWOOLE_SOCK_UNIX_DGRAM ] { 6 }
+ Constant [ int SWOOLE_SOCK_UNIX_STREAM ] { 5 }
+ Constant [ int SWOOLE_TCP ] { 1 }
+ Constant [ int SWOOLE_TCP6 ] { 3 }
+ Constant [ int SWOOLE_UDP ] { 2 }
+ Constant [ int SWOOLE_UDP6 ] { 4 }
+ Constant [ int SWOOLE_UNIX_DGRAM ] { 6 }
+ Constant [ int SWOOLE_UNIX_STREAM ] { 5 }
+ Constant [ bool SWOOLE_SOCK_SYNC ] { }
+ Constant [ bool SWOOLE_SOCK_ASYNC ] { 1 }
+ Constant [ int SWOOLE_SYNC ] { 2048 }
+ Constant [ int SWOOLE_ASYNC ] { 1024 }
+ Constant [ int SWOOLE_KEEP ] { 4096 }
+ Constant [ int SWOOLE_SSL ] { 512 }
+ Constant [ int SWOOLE_SSLv3_METHOD ] { 1 }
+ Constant [ int SWOOLE_SSLv3_SERVER_METHOD ] { 2 }
+ Constant [ int SWOOLE_SSLv3_CLIENT_METHOD ] { 3 }
+ Constant [ int SWOOLE_TLSv1_METHOD ] { 6 }
+ Constant [ int SWOOLE_TLSv1_SERVER_METHOD ] { 7 }
+ Constant [ int SWOOLE_TLSv1_CLIENT_METHOD ] { 8 }
+ Constant [ int SWOOLE_TLSv1_1_METHOD ] { 9 }
+ Constant [ int SWOOLE_TLSv1_1_SERVER_METHOD ] { 10 }
+ Constant [ int SWOOLE_TLSv1_1_CLIENT_METHOD ] { 11 }
+ Constant [ int SWOOLE_TLSv1_2_METHOD ] { 12 }
+ Constant [ int SWOOLE_TLSv1_2_SERVER_METHOD ] { 13 }
+ Constant [ int SWOOLE_TLSv1_2_CLIENT_METHOD ] { 14 }
+ Constant [ int SWOOLE_DTLS_SERVER_METHOD ] { 16 }
+ Constant [ int SWOOLE_DTLS_CLIENT_METHOD ] { 15 }
+ Constant [ int SWOOLE_SSLv23_METHOD ] { 0 }
+ Constant [ int SWOOLE_SSLv23_SERVER_METHOD ] { 4 }
+ Constant [ int SWOOLE_SSLv23_CLIENT_METHOD ] { 5 }
+ Constant [ int SWOOLE_TLS_METHOD ] { 0 }
+ Constant [ int SWOOLE_TLS_SERVER_METHOD ] { 4 }
+ Constant [ int SWOOLE_TLS_CLIENT_METHOD ] { 5 }
+ Constant [ int SWOOLE_SSL_TLSv1 ] { 8 }
+ Constant [ int SWOOLE_SSL_TLSv1_1 ] { 16 }
+ Constant [ int SWOOLE_SSL_TLSv1_2 ] { 32 }
+ Constant [ int SWOOLE_SSL_TLSv1_3 ] { 64 }
+ Constant [ int SWOOLE_SSL_DTLS ] { 128 }
+ Constant [ int SWOOLE_SSL_SSLv2 ] { 2 }
+ Constant [ int SWOOLE_EVENT_READ ] { 512 }
+ Constant [ int SWOOLE_EVENT_WRITE ] { 1024 }
+ Constant [ int SWOOLE_STRERROR_SYSTEM ] { 0 }
+ Constant [ int SWOOLE_STRERROR_GAI ] { 1 }
+ Constant [ int SWOOLE_STRERROR_DNS ] { 2 }
+ Constant [ int SWOOLE_STRERROR_SWOOLE ] { 9 }
+ Constant [ int SWOOLE_ERROR_MALLOC_FAIL ] { 501 }
+ Constant [ int SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 }
+ Constant [ int SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 }
+ Constant [ int SWOOLE_ERROR_NAME_TOO_LONG ] { 504 }
+ Constant [ int SWOOLE_ERROR_INVALID_PARAMS ] { 505 }
+ Constant [ int SWOOLE_ERROR_QUEUE_FULL ] { 506 }
+ Constant [ int SWOOLE_ERROR_OPERATION_NOT_SUPPORT ] { 507 }
+ Constant [ int SWOOLE_ERROR_PROTOCOL_ERROR ] { 508 }
+ Constant [ int SWOOLE_ERROR_WRONG_OPERATION ] { 509 }
+ Constant [ int SWOOLE_ERROR_PHP_RUNTIME_NOTICE ] { 510 }
+ Constant [ int SWOOLE_ERROR_FILE_NOT_EXIST ] { 700 }
+ Constant [ int SWOOLE_ERROR_FILE_TOO_LARGE ] { 701 }
+ Constant [ int SWOOLE_ERROR_FILE_EMPTY ] { 702 }
+ Constant [ int SWOOLE_ERROR_DNSLOOKUP_DUPLICATE_REQUEST ] { 710 }
+ Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_FAILED ] { 711 }
+ Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_TIMEOUT ] { 712 }
+ Constant [ int SWOOLE_ERROR_DNSLOOKUP_UNSUPPORTED ] { 713 }
+ Constant [ int SWOOLE_ERROR_DNSLOOKUP_NO_SERVER ] { 714 }
+ Constant [ int SWOOLE_ERROR_BAD_IPV6_ADDRESS ] { 720 }
+ Constant [ int SWOOLE_ERROR_UNREGISTERED_SIGNAL ] { 721 }
+ Constant [ int SWOOLE_ERROR_EVENT_SOCKET_REMOVED ] { 800 }
+ Constant [ int SWOOLE_ERROR_SESSION_CLOSED_BY_SERVER ] { 1001 }
+ Constant [ int SWOOLE_ERROR_SESSION_CLOSED_BY_CLIENT ] { 1002 }
+ Constant [ int SWOOLE_ERROR_SESSION_CLOSING ] { 1003 }
+ Constant [ int SWOOLE_ERROR_SESSION_CLOSED ] { 1004 }
+ Constant [ int SWOOLE_ERROR_SESSION_NOT_EXIST ] { 1005 }
+ Constant [ int SWOOLE_ERROR_SESSION_INVALID_ID ] { 1006 }
+ Constant [ int SWOOLE_ERROR_SESSION_DISCARD_TIMEOUT_DATA ] { 1007 }
+ Constant [ int SWOOLE_ERROR_SESSION_DISCARD_DATA ] { 1008 }
+ Constant [ int SWOOLE_ERROR_OUTPUT_BUFFER_OVERFLOW ] { 1009 }
+ Constant [ int SWOOLE_ERROR_OUTPUT_SEND_YIELD ] { 1010 }
+ Constant [ int SWOOLE_ERROR_SSL_NOT_READY ] { 1011 }
+ Constant [ int SWOOLE_ERROR_SSL_CANNOT_USE_SENFILE ] { 1012 }
+ Constant [ int SWOOLE_ERROR_SSL_EMPTY_PEER_CERTIFICATE ] { 1013 }
+ Constant [ int SWOOLE_ERROR_SSL_VERIFY_FAILED ] { 1014 }
+ Constant [ int SWOOLE_ERROR_SSL_BAD_CLIENT ] { 1015 }
+ Constant [ int SWOOLE_ERROR_SSL_BAD_PROTOCOL ] { 1016 }
+ Constant [ int SWOOLE_ERROR_SSL_RESET ] { 1017 }
+ Constant [ int SWOOLE_ERROR_SSL_HANDSHAKE_FAILED ] { 1018 }
+ Constant [ int SWOOLE_ERROR_PACKAGE_LENGTH_TOO_LARGE ] { 1201 }
+ Constant [ int SWOOLE_ERROR_PACKAGE_LENGTH_NOT_FOUND ] { 1202 }
+ Constant [ int SWOOLE_ERROR_DATA_LENGTH_TOO_LARGE ] { 1203 }
+ Constant [ int SWOOLE_ERROR_PACKAGE_MALFORMED_DATA ] { 1204 }
+ Constant [ int SWOOLE_ERROR_TASK_PACKAGE_TOO_BIG ] { 2001 }
+ Constant [ int SWOOLE_ERROR_TASK_DISPATCH_FAIL ] { 2002 }
+ Constant [ int SWOOLE_ERROR_TASK_TIMEOUT ] { 2003 }
+ Constant [ int SWOOLE_ERROR_HTTP2_STREAM_ID_TOO_BIG ] { 3001 }
+ Constant [ int SWOOLE_ERROR_HTTP2_STREAM_NO_HEADER ] { 3002 }
+ Constant [ int SWOOLE_ERROR_HTTP2_STREAM_NOT_FOUND ] { 3003 }
+ Constant [ int SWOOLE_ERROR_HTTP2_STREAM_IGNORE ] { 3004 }
+ Constant [ int SWOOLE_ERROR_HTTP2_SEND_CONTROL_FRAME_FAILED ] { 3005 }
+ Constant [ int SWOOLE_ERROR_AIO_BAD_REQUEST ] { 4001 }
+ Constant [ int SWOOLE_ERROR_AIO_CANCELED ] { 4002 }
+ Constant [ int SWOOLE_ERROR_AIO_TIMEOUT ] { 4003 }
+ Constant [ int SWOOLE_ERROR_CLIENT_NO_CONNECTION ] { 5001 }
+ Constant [ int SWOOLE_ERROR_SOCKET_CLOSED ] { 6001 }
+ Constant [ int SWOOLE_ERROR_SOCKET_POLL_TIMEOUT ] { 6002 }
+ Constant [ int SWOOLE_ERROR_SOCKS5_UNSUPPORT_VERSION ] { 7001 }
+ Constant [ int SWOOLE_ERROR_SOCKS5_UNSUPPORT_METHOD ] { 7002 }
+ Constant [ int SWOOLE_ERROR_SOCKS5_AUTH_FAILED ] { 7003 }
+ Constant [ int SWOOLE_ERROR_SOCKS5_SERVER_ERROR ] { 7004 }
+ Constant [ int SWOOLE_ERROR_SOCKS5_HANDSHAKE_FAILED ] { 7005 }
+ Constant [ int SWOOLE_ERROR_HTTP_PROXY_HANDSHAKE_ERROR ] { 7101 }
+ Constant [ int SWOOLE_ERROR_HTTP_INVALID_PROTOCOL ] { 7102 }
+ Constant [ int SWOOLE_ERROR_HTTP_PROXY_HANDSHAKE_FAILED ] { 7103 }
+ Constant [ int SWOOLE_ERROR_HTTP_PROXY_BAD_RESPONSE ] { 7104 }
+ Constant [ int SWOOLE_ERROR_HTTP_CONFLICT_HEADER ] { 7105 }
+ Constant [ int SWOOLE_ERROR_HTTP_CONTEXT_UNAVAILABLE ] { 7106 }
+ Constant [ int SWOOLE_ERROR_WEBSOCKET_BAD_CLIENT ] { 8501 }
+ Constant [ int SWOOLE_ERROR_WEBSOCKET_BAD_OPCODE ] { 8502 }
+ Constant [ int SWOOLE_ERROR_WEBSOCKET_UNCONNECTED ] { 8503 }
+ Constant [ int SWOOLE_ERROR_WEBSOCKET_HANDSHAKE_FAILED ] { 8504 }
+ Constant [ int SWOOLE_ERROR_WEBSOCKET_PACK_FAILED ] { 8505 }
+ Constant [ int SWOOLE_ERROR_WEBSOCKET_UNPACK_FAILED ] { 8506 }
+ Constant [ int SWOOLE_ERROR_WEBSOCKET_INCOMPLETE_PACKET ] { 8507 }
+ Constant [ int SWOOLE_ERROR_SERVER_MUST_CREATED_BEFORE_CLIENT ] { 9001 }
+ Constant [ int SWOOLE_ERROR_SERVER_TOO_MANY_SOCKET ] { 9002 }
+ Constant [ int SWOOLE_ERROR_SERVER_WORKER_TERMINATED ] { 9003 }
+ Constant [ int SWOOLE_ERROR_SERVER_INVALID_LISTEN_PORT ] { 9004 }
+ Constant [ int SWOOLE_ERROR_SERVER_TOO_MANY_LISTEN_PORT ] { 9005 }
+ Constant [ int SWOOLE_ERROR_SERVER_PIPE_BUFFER_FULL ] { 9006 }
+ Constant [ int SWOOLE_ERROR_SERVER_NO_IDLE_WORKER ] { 9007 }
+ Constant [ int SWOOLE_ERROR_SERVER_ONLY_START_ONE ] { 9008 }
+ Constant [ int SWOOLE_ERROR_SERVER_SEND_IN_MASTER ] { 9009 }
+ Constant [ int SWOOLE_ERROR_SERVER_INVALID_REQUEST ] { 9010 }
+ Constant [ int SWOOLE_ERROR_SERVER_CONNECT_FAIL ] { 9011 }
+ Constant [ int SWOOLE_ERROR_SERVER_INVALID_COMMAND ] { 9012 }
+ Constant [ int SWOOLE_ERROR_SERVER_IS_NOT_REGULAR_FILE ] { 9013 }
+ Constant [ int SWOOLE_ERROR_SERVER_SEND_TO_WOKER_TIMEOUT ] { 9014 }
+ Constant [ int SWOOLE_ERROR_SERVER_WORKER_EXIT_TIMEOUT ] { 9101 }
+ Constant [ int SWOOLE_ERROR_SERVER_WORKER_ABNORMAL_PIPE_DATA ] { 9102 }
+ Constant [ int SWOOLE_ERROR_SERVER_WORKER_UNPROCESSED_DATA ] { 9103 }
+ Constant [ int SWOOLE_ERROR_CO_OUT_OF_COROUTINE ] { 10001 }
+ Constant [ int SWOOLE_ERROR_CO_HAS_BEEN_BOUND ] { 10002 }
+ Constant [ int SWOOLE_ERROR_CO_HAS_BEEN_DISCARDED ] { 10003 }
+ Constant [ int SWOOLE_ERROR_CO_MUTEX_DOUBLE_UNLOCK ] { 10004 }
+ Constant [ int SWOOLE_ERROR_CO_BLOCK_OBJECT_LOCKED ] { 10005 }
+ Constant [ int SWOOLE_ERROR_CO_BLOCK_OBJECT_WAITING ] { 10006 }
+ Constant [ int SWOOLE_ERROR_CO_YIELD_FAILED ] { 10007 }
+ Constant [ int SWOOLE_ERROR_CO_GETCONTEXT_FAILED ] { 10008 }
+ Constant [ int SWOOLE_ERROR_CO_SWAPCONTEXT_FAILED ] { 10009 }
+ Constant [ int SWOOLE_ERROR_CO_MAKECONTEXT_FAILED ] { 10010 }
+ Constant [ int SWOOLE_ERROR_CO_IOCPINIT_FAILED ] { 10011 }
+ Constant [ int SWOOLE_ERROR_CO_PROTECT_STACK_FAILED ] { 10012 }
+ Constant [ int SWOOLE_ERROR_CO_STD_THREAD_LINK_ERROR ] { 10013 }
+ Constant [ int SWOOLE_ERROR_CO_DISABLED_MULTI_THREAD ] { 10014 }
+ Constant [ int SWOOLE_ERROR_CO_CANNOT_CANCEL ] { 10015 }
+ Constant [ int SWOOLE_ERROR_CO_NOT_EXISTS ] { 10016 }
+ Constant [ int SWOOLE_ERROR_CO_CANCELED ] { 10017 }
+ Constant [ int SWOOLE_ERROR_CO_TIMEDOUT ] { 10018 }
+ Constant [ int SWOOLE_ERROR_CO_SOCKET_CLOSE_WAIT ] { 10019 }
+ Constant [ int SWOOLE_TRACE_SERVER ] { 2 }
+ Constant [ int SWOOLE_TRACE_CLIENT ] { 4 }
+ Constant [ int SWOOLE_TRACE_BUFFER ] { 8 }
+ Constant [ int SWOOLE_TRACE_CONN ] { 16 }
+ Constant [ int SWOOLE_TRACE_EVENT ] { 32 }
+ Constant [ int SWOOLE_TRACE_WORKER ] { 64 }
+ Constant [ int SWOOLE_TRACE_MEMORY ] { 128 }
+ Constant [ int SWOOLE_TRACE_REACTOR ] { 256 }
+ Constant [ int SWOOLE_TRACE_PHP ] { 512 }
+ Constant [ int SWOOLE_TRACE_HTTP ] { 1024 }
+ Constant [ int SWOOLE_TRACE_HTTP2 ] { 2048 }
+ Constant [ int SWOOLE_TRACE_EOF_PROTOCOL ] { 4096 }
+ Constant [ int SWOOLE_TRACE_LENGTH_PROTOCOL ] { 8192 }
+ Constant [ int SWOOLE_TRACE_CLOSE ] { 16384 }
+ Constant [ int SWOOLE_TRACE_WEBSOCKET ] { 32768 }
+ Constant [ int SWOOLE_TRACE_REDIS_CLIENT ] { 65536 }
+ Constant [ int SWOOLE_TRACE_MYSQL_CLIENT ] { 131072 }
+ Constant [ int SWOOLE_TRACE_HTTP_CLIENT ] { 262144 }
+ Constant [ int SWOOLE_TRACE_AIO ] { 524288 }
+ Constant [ int SWOOLE_TRACE_SSL ] { 1048576 }
+ Constant [ int SWOOLE_TRACE_NORMAL ] { 2097152 }
+ Constant [ int SWOOLE_TRACE_CHANNEL ] { 4194304 }
+ Constant [ int SWOOLE_TRACE_TIMER ] { 8388608 }
+ Constant [ int SWOOLE_TRACE_SOCKET ] { 16777216 }
+ Constant [ int SWOOLE_TRACE_COROUTINE ] { 33554432 }
+ Constant [ int SWOOLE_TRACE_CONTEXT ] { 67108864 }
+ Constant [ int SWOOLE_TRACE_CO_HTTP_SERVER ] { 134217728 }
+ Constant [ int SWOOLE_TRACE_TABLE ] { 268435456 }
+ Constant [ int SWOOLE_TRACE_CO_CURL ] { 536870912 }
+ Constant [ int SWOOLE_TRACE_CARES ] { 1073741824 }
+ Constant [ int SWOOLE_TRACE_ZLIB ] { 2147483648 }
+ Constant [ int SWOOLE_TRACE_CO_PGSQL ] { 4294967296 }
+ Constant [ int SWOOLE_TRACE_CO_ODBC ] { 8589934592 }
+ Constant [ int SWOOLE_TRACE_CO_ORACLE ] { 17179869184 }
+ Constant [ int SWOOLE_TRACE_CO_SQLITE ] { 34359738368 }
+ Constant [ int SWOOLE_TRACE_ALL ] { 9223372036854775807 }
+ Constant [ int SWOOLE_LOG_DEBUG ] { 0 }
+ Constant [ int SWOOLE_LOG_TRACE ] { 1 }
+ Constant [ int SWOOLE_LOG_INFO ] { 2 }
+ Constant [ int SWOOLE_LOG_NOTICE ] { 3 }
+ Constant [ int SWOOLE_LOG_WARNING ] { 4 }
+ Constant [ int SWOOLE_LOG_ERROR ] { 5 }
+ Constant [ int SWOOLE_LOG_NONE ] { 6 }
+ Constant [ int SWOOLE_LOG_ROTATION_SINGLE ] { 0 }
+ Constant [ int SWOOLE_LOG_ROTATION_MONTHLY ] { 1 }
+ Constant [ int SWOOLE_LOG_ROTATION_DAILY ] { 2 }
+ Constant [ int SWOOLE_LOG_ROTATION_HOURLY ] { 3 }
+ Constant [ int SWOOLE_LOG_ROTATION_EVERY_MINUTE ] { 4 }
+ Constant [ int SWOOLE_IPC_NONE ] { 0 }
+ Constant [ int SWOOLE_IPC_UNIXSOCK ] { 1 }
+ Constant [ int SWOOLE_IPC_SOCKET ] { 3 }
+ Constant [ int SWOOLE_IOV_MAX ] { 1024 }
+ Constant [ int SWOOLE_FILELOCK ] { 2 }
+ Constant [ int SWOOLE_MUTEX ] { 3 }
+ Constant [ int SWOOLE_SEM ] { 4 }
+ Constant [ int SWOOLE_RWLOCK ] { 1 }
+ Constant [ int SWOOLE_SPINLOCK ] { 5 }
+ Constant [ int SWOOLE_MSGQUEUE_ORIENT ] { 1 }
+ Constant [ int SWOOLE_MSGQUEUE_BALANCE ] { 2 }
+ Constant [ int SWOOLE_TIMER_MIN_MS ] { 1 }
+ Constant [ float SWOOLE_TIMER_MIN_SEC ] { 0.001 }
+ Constant [ int SWOOLE_TIMER_MAX_MS ] { 9223372036854775807 }
+ Constant [ float SWOOLE_TIMER_MAX_SEC ] { 9.2233720368548E+15 }
+ Constant [ int SWOOLE_DEFAULT_MAX_CORO_NUM ] { 100000 }
+ Constant [ int SWOOLE_CORO_MAX_NUM_LIMIT ] { 9223372036854775807 }
+ Constant [ int SWOOLE_CORO_INIT ] { 0 }
+ Constant [ int SWOOLE_CORO_WAITING ] { 1 }
+ Constant [ int SWOOLE_CORO_RUNNING ] { 2 }
+ Constant [ int SWOOLE_CORO_END ] { 3 }
+ Constant [ int SWOOLE_EXIT_IN_COROUTINE ] { 2 }
+ Constant [ int SWOOLE_EXIT_IN_SERVER ] { 4 }
+ Constant [ int SWOOLE_CHANNEL_OK ] { 0 }
+ Constant [ int SWOOLE_CHANNEL_TIMEOUT ] { -1 }
+ Constant [ int SWOOLE_CHANNEL_CLOSED ] { -2 }
+ Constant [ int SWOOLE_CHANNEL_CANCELED ] { -3 }
+ Constant [ int SWOOLE_HOOK_TCP ] { 2 }
+ Constant [ int SWOOLE_HOOK_UDP ] { 4 }
+ Constant [ int SWOOLE_HOOK_UNIX ] { 8 }
+ Constant [ int SWOOLE_HOOK_UDG ] { 16 }
+ Constant [ int SWOOLE_HOOK_SSL ] { 32 }
+ Constant [ int SWOOLE_HOOK_TLS ] { 64 }
+ Constant [ int SWOOLE_HOOK_STREAM_FUNCTION ] { 128 }
+ Constant [ int SWOOLE_HOOK_STREAM_SELECT ] { 128 }
+ Constant [ int SWOOLE_HOOK_FILE ] { 256 }
+ Constant [ int SWOOLE_HOOK_STDIO ] { 32768 }
+ Constant [ int SWOOLE_HOOK_SLEEP ] { 512 }
+ Constant [ int SWOOLE_HOOK_PROC ] { 1024 }
+ Constant [ int SWOOLE_HOOK_CURL ] { 2048 }
+ Constant [ int SWOOLE_HOOK_NATIVE_CURL ] { 4096 }
+ Constant [ int SWOOLE_HOOK_BLOCKING_FUNCTION ] { 8192 }
+ Constant [ int SWOOLE_HOOK_SOCKETS ] { 16384 }
+ Constant [ int SWOOLE_HOOK_PDO_PGSQL ] { 65536 }
+ Constant [ int SWOOLE_HOOK_PDO_ODBC ] { 131072 }
+ Constant [ int SWOOLE_HOOK_PDO_SQLITE ] { 524288 }
+ Constant [ int SWOOLE_HOOK_ALL ] { 2147481599 }
+ Constant [ int SOCKET_ECANCELED ] { 125 }
+ Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_CONNECT_FAILED ] { -1 }
+ Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_REQUEST_TIMEOUT ] { -2 }
+ Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_SERVER_RESET ] { -3 }
+ Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_SEND_FAILED ] { -4 }
+ Constant [ int SWOOLE_HTTP2_TYPE_DATA ] { 0 }
+ Constant [ int SWOOLE_HTTP2_TYPE_HEADERS ] { 1 }
+ Constant [ int SWOOLE_HTTP2_TYPE_PRIORITY ] { 2 }
+ Constant [ int SWOOLE_HTTP2_TYPE_RST_STREAM ] { 3 }
+ Constant [ int SWOOLE_HTTP2_TYPE_SETTINGS ] { 4 }
+ Constant [ int SWOOLE_HTTP2_TYPE_PUSH_PROMISE ] { 5 }
+ Constant [ int SWOOLE_HTTP2_TYPE_PING ] { 6 }
+ Constant [ int SWOOLE_HTTP2_TYPE_GOAWAY ] { 7 }
+ Constant [ int SWOOLE_HTTP2_TYPE_WINDOW_UPDATE ] { 8 }
+ Constant [ int SWOOLE_HTTP2_TYPE_CONTINUATION ] { 9 }
+ Constant [ int SWOOLE_HTTP2_ERROR_NO_ERROR ] { 0 }
+ Constant [ int SWOOLE_HTTP2_ERROR_PROTOCOL_ERROR ] { 1 }
+ Constant [ int SWOOLE_HTTP2_ERROR_INTERNAL_ERROR ] { 2 }
+ Constant [ int SWOOLE_HTTP2_ERROR_FLOW_CONTROL_ERROR ] { 3 }
+ Constant [ int SWOOLE_HTTP2_ERROR_SETTINGS_TIMEOUT ] { 4 }
+ Constant [ int SWOOLE_HTTP2_ERROR_STREAM_CLOSED ] { 5 }
+ Constant [ int SWOOLE_HTTP2_ERROR_FRAME_SIZE_ERROR ] { 6 }
+ Constant [ int SWOOLE_HTTP2_ERROR_REFUSED_STREAM ] { 7 }
+ Constant [ int SWOOLE_HTTP2_ERROR_CANCEL ] { 8 }
+ Constant [ int SWOOLE_HTTP2_ERROR_COMPRESSION_ERROR ] { 9 }
+ Constant [ int SWOOLE_HTTP2_ERROR_CONNECT_ERROR ] { 10 }
+ Constant [ int SWOOLE_HTTP2_ERROR_ENHANCE_YOUR_CALM ] { 11 }
+ Constant [ int SWOOLE_HTTP2_ERROR_INADEQUATE_SECURITY ] { 12 }
+ Constant [ int SWOOLE_HTTP2_ERROR_HTTP_1_1_REQUIRED ] { 13 }
+ Constant [ int SWOOLE_MYSQLND_CR_UNKNOWN_ERROR ] { 2000 }
+ Constant [ int SWOOLE_MYSQLND_CR_CONNECTION_ERROR ] { 2002 }
+ Constant [ int SWOOLE_MYSQLND_CR_SERVER_GONE_ERROR ] { 2006 }
+ Constant [ int SWOOLE_MYSQLND_CR_OUT_OF_MEMORY ] { 2008 }
+ Constant [ int SWOOLE_MYSQLND_CR_SERVER_LOST ] { 2013 }
+ Constant [ int SWOOLE_MYSQLND_CR_COMMANDS_OUT_OF_SYNC ] { 2014 }
+ Constant [ int SWOOLE_MYSQLND_CR_CANT_FIND_CHARSET ] { 2019 }
+ Constant [ int SWOOLE_MYSQLND_CR_MALFORMED_PACKET ] { 2027 }
+ Constant [ int SWOOLE_MYSQLND_CR_NOT_IMPLEMENTED ] { 2054 }
+ Constant [ int SWOOLE_MYSQLND_CR_NO_PREPARE_STMT ] { 2030 }
+ Constant [ int SWOOLE_MYSQLND_CR_PARAMS_NOT_BOUND ] { 2031 }
+ Constant [ int SWOOLE_MYSQLND_CR_INVALID_PARAMETER_NO ] { 2034 }
+ Constant [ int SWOOLE_MYSQLND_CR_INVALID_BUFFER_USE ] { 2035 }
+ Constant [ int SWOOLE_REDIS_MODE_MULTI ] { 0 }
+ Constant [ int SWOOLE_REDIS_MODE_PIPELINE ] { 1 }
+ Constant [ int SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 }
+ Constant [ int SWOOLE_REDIS_TYPE_STRING ] { 1 }
+ Constant [ int SWOOLE_REDIS_TYPE_SET ] { 2 }
+ Constant [ int SWOOLE_REDIS_TYPE_LIST ] { 3 }
+ Constant [ int SWOOLE_REDIS_TYPE_ZSET ] { 4 }
+ Constant [ int SWOOLE_REDIS_TYPE_HASH ] { 5 }
+ Constant [ int SWOOLE_REDIS_ERR_IO ] { 1 }
+ Constant [ int SWOOLE_REDIS_ERR_OTHER ] { 2 }
+ Constant [ int SWOOLE_REDIS_ERR_EOF ] { 3 }
+ Constant [ int SWOOLE_REDIS_ERR_PROTOCOL ] { 4 }
+ Constant [ int SWOOLE_REDIS_ERR_OOM ] { 5 }
+ Constant [ int SWOOLE_REDIS_ERR_CLOSED ] { 6 }
+ Constant [ int SWOOLE_REDIS_ERR_NOAUTH ] { 7 }
+ Constant [ int SWOOLE_REDIS_ERR_ALLOC ] { 8 }
+ Constant [ int SWOOLE_BASE ] { 1 }
+ Constant [ int SWOOLE_PROCESS ] { 2 }
+ Constant [ int SWOOLE_IPC_UNSOCK ] { 1 }
+ Constant [ int SWOOLE_IPC_MSGQUEUE ] { 2 }
+ Constant [ int SWOOLE_IPC_PREEMPTIVE ] { 3 }
+ Constant [ int SWOOLE_SERVER_COMMAND_MASTER ] { 2 }
+ Constant [ int SWOOLE_SERVER_COMMAND_MANAGER ] { 32 }
+ Constant [ int SWOOLE_SERVER_COMMAND_REACTOR_THREAD ] { 4 }
+ Constant [ int SWOOLE_SERVER_COMMAND_EVENT_WORKER ] { 8 }
+ Constant [ int SWOOLE_SERVER_COMMAND_WORKER ] { 8 }
+ Constant [ int SWOOLE_SERVER_COMMAND_TASK_WORKER ] { 16 }
+ Constant [ int SWOOLE_DISPATCH_ROUND ] { 1 }
+ Constant [ int SWOOLE_DISPATCH_FDMOD ] { 2 }
+ Constant [ int SWOOLE_DISPATCH_IDLE_WORKER ] { 3 }
+ Constant [ int SWOOLE_DISPATCH_IPMOD ] { 4 }
+ Constant [ int SWOOLE_DISPATCH_UIDMOD ] { 5 }
+ Constant [ int SWOOLE_DISPATCH_USERFUNC ] { 6 }
+ Constant [ int SWOOLE_DISPATCH_STREAM ] { 7 }
+ Constant [ int SWOOLE_DISPATCH_CO_CONN_LB ] { 8 }
+ Constant [ int SWOOLE_DISPATCH_CO_REQ_LB ] { 9 }
+ Constant [ int SWOOLE_DISPATCH_CONCURRENT_LB ] { 10 }
+ Constant [ int SWOOLE_DISPATCH_RESULT_DISCARD_PACKET ] { -1 }
+ Constant [ int SWOOLE_DISPATCH_RESULT_CLOSE_CONNECTION ] { -2 }
+ Constant [ int SWOOLE_DISPATCH_RESULT_USERFUNC_FALLBACK ] { -3 }
+ Constant [ int SWOOLE_TASK_TMPFILE ] { 1 }
+ Constant [ int SWOOLE_TASK_SERIALIZE ] { 2 }
+ Constant [ int SWOOLE_TASK_NONBLOCK ] { 4 }
+ Constant [ int SWOOLE_TASK_CALLBACK ] { 8 }
+ Constant [ int SWOOLE_TASK_WAITALL ] { 16 }
+ Constant [ int SWOOLE_TASK_COROUTINE ] { 32 }
+ Constant [ int SWOOLE_TASK_PEEK ] { 64 }
+ Constant [ int SWOOLE_TASK_NOREPLY ] { 128 }
+ Constant [ int SWOOLE_WORKER_BUSY ] { 1 }
+ Constant [ int SWOOLE_WORKER_IDLE ] { 2 }
+ Constant [ int SWOOLE_WORKER_EXIT ] { 3 }
+ Constant [ int SWOOLE_WEBSOCKET_STATUS_CONNECTION ] { 1 }
+ Constant [ int SWOOLE_WEBSOCKET_STATUS_HANDSHAKE ] { 2 }
+ Constant [ int SWOOLE_WEBSOCKET_STATUS_ACTIVE ] { 3 }
+ Constant [ int SWOOLE_WEBSOCKET_STATUS_CLOSING ] { 4 }
+ Constant [ int SWOOLE_WEBSOCKET_OPCODE_CONTINUATION ] { 0 }
+ Constant [ int SWOOLE_WEBSOCKET_OPCODE_TEXT ] { 1 }
+ Constant [ int SWOOLE_WEBSOCKET_OPCODE_BINARY ] { 2 }
+ Constant [ int SWOOLE_WEBSOCKET_OPCODE_CLOSE ] { 8 }
+ Constant [ int SWOOLE_WEBSOCKET_OPCODE_PING ] { 9 }
+ Constant [ int SWOOLE_WEBSOCKET_OPCODE_PONG ] { 10 }
+ Constant [ int SWOOLE_WEBSOCKET_FLAG_FIN ] { 1 }
+ Constant [ int SWOOLE_WEBSOCKET_FLAG_RSV1 ] { 4 }
+ Constant [ int SWOOLE_WEBSOCKET_FLAG_RSV2 ] { 8 }
+ Constant [ int SWOOLE_WEBSOCKET_FLAG_RSV3 ] { 16 }
+ Constant [ int SWOOLE_WEBSOCKET_FLAG_MASK ] { 32 }
+ Constant [ int SWOOLE_WEBSOCKET_FLAG_COMPRESS ] { 2 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_NORMAL ] { 1000 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_GOING_AWAY ] { 1001 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_PROTOCOL_ERROR ] { 1002 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_DATA_ERROR ] { 1003 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_STATUS_ERROR ] { 1005 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_ABNORMAL ] { 1006 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_MESSAGE_ERROR ] { 1007 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_POLICY_ERROR ] { 1008 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_MESSAGE_TOO_BIG ] { 1009 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_CLOSE_SERVICE_RESTART ] { 1012 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_TRY_AGAIN_LATER ] { 1013 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_BAD_GATEWAY ] { 1014 }
+ Constant [ int SWOOLE_WEBSOCKET_CLOSE_TLS ] { 1015 }
+ Constant [ int WEBSOCKET_STATUS_CONNECTION ] { 1 }
+ Constant [ int WEBSOCKET_STATUS_HANDSHAKE ] { 2 }
+ Constant [ int WEBSOCKET_STATUS_FRAME ] { 3 }
+ Constant [ int WEBSOCKET_STATUS_ACTIVE ] { 3 }
+ Constant [ int WEBSOCKET_STATUS_CLOSING ] { 4 }
+ Constant [ int WEBSOCKET_OPCODE_CONTINUATION ] { 0 }
+ Constant [ int WEBSOCKET_OPCODE_TEXT ] { 1 }
+ Constant [ int WEBSOCKET_OPCODE_BINARY ] { 2 }
+ Constant [ int WEBSOCKET_OPCODE_CLOSE ] { 8 }
+ Constant [ int WEBSOCKET_OPCODE_PING ] { 9 }
+ Constant [ int WEBSOCKET_OPCODE_PONG ] { 10 }
+ Constant [ int WEBSOCKET_CLOSE_NORMAL ] { 1000 }
+ Constant [ int WEBSOCKET_CLOSE_GOING_AWAY ] { 1001 }
+ Constant [ int WEBSOCKET_CLOSE_PROTOCOL_ERROR ] { 1002 }
+ Constant [ int WEBSOCKET_CLOSE_DATA_ERROR ] { 1003 }
+ Constant [ int WEBSOCKET_CLOSE_STATUS_ERROR ] { 1005 }
+ Constant [ int WEBSOCKET_CLOSE_ABNORMAL ] { 1006 }
+ Constant [ int WEBSOCKET_CLOSE_MESSAGE_ERROR ] { 1007 }
+ Constant [ int WEBSOCKET_CLOSE_POLICY_ERROR ] { 1008 }
+ Constant [ int WEBSOCKET_CLOSE_MESSAGE_TOO_BIG ] { 1009 }
+ Constant [ int WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 }
+ Constant [ int WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 }
+ Constant [ int WEBSOCKET_CLOSE_CLOSE_SERVICE_RESTART ] { 1012 }
+ Constant [ int WEBSOCKET_CLOSE_TRY_AGAIN_LATER ] { 1013 }
+ Constant [ int WEBSOCKET_CLOSE_BAD_GATEWAY ] { 1014 }
+ Constant [ int WEBSOCKET_CLOSE_TLS ] { 1015 }
+ Constant [ int SW_PGSQL_ASSOC ] { 1 }
+ Constant [ int SW_PGSQL_NUM ] { 2 }
+ Constant [ int SW_PGSQL_BOTH ] { 3 }
+ }
+
+ - Functions {
+ Function [ <internal:swoole> function swoole_version ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ Function [ <internal:swoole> function swoole_cpu_num ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+ Function [ <internal:swoole> function swoole_last_error ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+ Function [ <internal:swoole> function swoole_async_dns_lookup_coro ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $domain_name ]
+ Parameter #1 [ <optional> float $timeout = 60 ]
+ Parameter #2 [ <optional> int $type = AF_INET ]
+ }
+ - Return [ string|false ]
+ }
+ Function [ <internal:swoole> function swoole_async_set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_coroutine_create ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> callable $func ]
+ Parameter #1 [ <optional> mixed ...$params ]
+ }
+ - Return [ int|false ]
+ }
+ Function [ <internal:swoole> function swoole_coroutine_defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_coroutine_socketpair ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $domain ]
+ Parameter #1 [ <required> int $type ]
+ Parameter #2 [ <required> int $protocol ]
+ }
+ - Return [ array|false ]
+ }
+ Function [ <internal:swoole> function swoole_test_kernel_coroutine ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $count = 100 ]
+ Parameter #1 [ <optional> float $sleep_time = 1.0 ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_client_select ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> array &$read_array ]
+ Parameter #1 [ <required> array &$write_array ]
+ Parameter #2 [ <required> array &$error_array ]
+ Parameter #3 [ <optional> float $timeout = 0.5 ]
+ }
+ - Return [ int|false ]
+ }
+ Function [ <internal:swoole> function swoole_select ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> array &$read_array ]
+ Parameter #1 [ <required> array &$write_array ]
+ Parameter #2 [ <required> array &$error_array ]
+ Parameter #3 [ <optional> float $timeout = 0.5 ]
+ }
+ - Return [ int|false ]
+ }
+ Function [ <internal:swoole> function swoole_set_process_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $process_name ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_get_local_ip ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+ Function [ <internal:swoole> function swoole_get_local_mac ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+ Function [ <internal:swoole> function swoole_strerror ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $errno ]
+ Parameter #1 [ <optional> int $error_type = SWOOLE_STRERROR_SYSTEM ]
+ }
+ - Return [ string ]
+ }
+ Function [ <internal:swoole> function swoole_errno ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+ Function [ <internal:swoole> function swoole_clear_error ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_error_log ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $level ]
+ Parameter #1 [ <required> string $msg ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_error_log_ex ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $level ]
+ Parameter #1 [ <required> int $error ]
+ Parameter #2 [ <required> string $msg ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_ignore_error ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $error ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_hashcode ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $data ]
+ Parameter #1 [ <optional> int $type = 0 ]
+ }
+ - Return [ int|false ]
+ }
+ Function [ <internal:swoole> function swoole_mime_type_add ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $suffix ]
+ Parameter #1 [ <required> string $mime_type ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_mime_type_set ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $suffix ]
+ Parameter #1 [ <required> string $mime_type ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_mime_type_delete ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $suffix ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_mime_type_get ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $filename ]
+ }
+ - Return [ string ]
+ }
+ Function [ <internal:swoole> function swoole_get_mime_type ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $filename ]
+ }
+ - Return [ string ]
+ }
+ Function [ <internal:swoole> function swoole_mime_type_exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $filename ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_mime_type_list ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+ Function [ <internal:swoole> function swoole_clear_dns_cache ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_substr_unserialize ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $str ]
+ Parameter #1 [ <required> int $offset ]
+ Parameter #2 [ <optional> int $length = 0 ]
+ Parameter #3 [ <optional> array $options = [] ]
+ }
+ - Return [ mixed ]
+ }
+ Function [ <internal:swoole> function swoole_substr_json_decode ] {
+
+ - Parameters [6] {
+ Parameter #0 [ <required> string $str ]
+ Parameter #1 [ <required> int $offset ]
+ Parameter #2 [ <optional> int $length = 0 ]
+ Parameter #3 [ <optional> bool $associative = false ]
+ Parameter #4 [ <optional> int $depth = 512 ]
+ Parameter #5 [ <optional> int $flags = 0 ]
+ }
+ - Return [ mixed ]
+ }
+ Function [ <internal:swoole> function swoole_internal_call_user_shutdown_begin ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_get_objects ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false ]
+ }
+ Function [ <internal:swoole> function swoole_get_vm_status ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+ Function [ <internal:swoole> function swoole_get_object_by_handle ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $handle ]
+ }
+ - Return [ object|false ]
+ }
+ Function [ <internal:swoole> function swoole_name_resolver_lookup ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <required> Swoole\NameResolver\Context $ctx ]
+ }
+ - Return [ string ]
+ }
+ Function [ <internal:swoole> function swoole_name_resolver_add ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> Swoole\NameResolver $ns ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_name_resolver_remove ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> Swoole\NameResolver $ns ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function go ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $func ]
+ }
+ - Return [ int|false ]
+ }
+ Function [ <internal:swoole> function defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_event_add ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> mixed $fd ]
+ Parameter #1 [ <optional> ?callable $read_callback = null ]
+ Parameter #2 [ <optional> ?callable $write_callback = null ]
+ Parameter #3 [ <optional> int $events = SWOOLE_EVENT_READ ]
+ }
+ - Return [ int|false ]
+ }
+ Function [ <internal:swoole> function swoole_event_del ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $fd ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_event_set ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> mixed $fd ]
+ Parameter #1 [ <optional> ?callable $read_callback = null ]
+ Parameter #2 [ <optional> ?callable $write_callback = null ]
+ Parameter #3 [ <optional> int $events = 0 ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_event_wait ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_event_isset ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $fd ]
+ Parameter #1 [ <optional> int $events = SWOOLE_EVENT_READ | SWOOLE_EVENT_WRITE ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_event_dispatch ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_event_defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_event_cycle ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> ?callable $callback ]
+ Parameter #1 [ <optional> bool $before = false ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_event_write ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $fd ]
+ Parameter #1 [ <required> string $data ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_event_exit ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_timer_set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_timer_after ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ int|false ]
+ }
+ Function [ <internal:swoole> function swoole_timer_tick ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ int|false ]
+ }
+ Function [ <internal:swoole> function swoole_timer_info ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $timer_id ]
+ }
+ - Return [ ?array ]
+ }
+ Function [ <internal:swoole> function swoole_timer_list ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Swoole\Timer\Iterator ]
+ }
+ Function [ <internal:swoole> function swoole_timer_exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $timer_id ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_timer_stats ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+ Function [ <internal:swoole> function swoole_timer_clear ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $timer_id ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_timer_clear_all ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_close ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_copy_handle ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ }
+ - Return [ CurlHandle|false ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_errno ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ }
+ - Return [ int ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_error ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ }
+ - Return [ string ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_exec ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ }
+ - Return [ string|bool ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_getinfo ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ Parameter #1 [ <optional> ?int $option = null ]
+ }
+ - Return [ mixed ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_init ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> ?string $url = null ]
+ }
+ - Return [ CurlHandle|false ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_setopt ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ Parameter #1 [ <required> int $option ]
+ Parameter #2 [ <required> mixed $value ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_setopt_array ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ Parameter #1 [ <required> array $options ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_reset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_escape ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ Parameter #1 [ <required> string $string ]
+ }
+ - Return [ string|false ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_unescape ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ Parameter #1 [ <required> string $string ]
+ }
+ - Return [ string|false ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_pause ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ Parameter #1 [ <required> int $flags ]
+ }
+ - Return [ int ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_multi_add_handle ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
+ Parameter #1 [ <required> CurlHandle $handle ]
+ }
+ - Return [ int ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_multi_close ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_multi_errno ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
+ }
+ - Return [ int ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_multi_exec ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
+ Parameter #1 [ <required> &$still_running ]
+ }
+ - Return [ int ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_multi_select ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
+ Parameter #1 [ <optional> float $timeout = 1.0 ]
+ }
+ - Return [ int ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_multi_setopt ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
+ Parameter #1 [ <required> int $option ]
+ Parameter #2 [ <required> mixed $value ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_multi_getcontent ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> CurlHandle $handle ]
+ }
+ - Return [ ?string ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_multi_info_read ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
+ Parameter #1 [ <optional> &$queued_messages = null ]
+ }
+ - Return [ array|false ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_multi_init ] {
+
+ - Parameters [0] {
+ }
+ - Return [ CurlMultiHandle ]
+ }
+ Function [ <internal:swoole> function swoole_native_curl_multi_remove_handle ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> CurlMultiHandle $multi_handle ]
+ Parameter #1 [ <required> CurlHandle $handle ]
+ }
+ - Return [ int ]
+ }
+ }
+
+ - Classes [55] {
+ Class [ <internal:swoole> class Swoole\Exception extends Exception implements Throwable, Stringable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Error extends Error implements Throwable, Stringable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Error, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Error> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Event ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [11] {
+ Method [ <internal:swoole> static public method add ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> mixed $fd ]
+ Parameter #1 [ <optional> ?callable $read_callback = null ]
+ Parameter #2 [ <optional> ?callable $write_callback = null ]
+ Parameter #3 [ <optional> int $events = SWOOLE_EVENT_READ ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> static public method del ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method set ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> mixed $fd ]
+ Parameter #1 [ <optional> ?callable $read_callback = null ]
+ Parameter #2 [ <optional> ?callable $write_callback = null ]
+ Parameter #3 [ <optional> int $events = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method isset ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $fd ]
+ Parameter #1 [ <optional> int $events = SWOOLE_EVENT_READ | SWOOLE_EVENT_WRITE ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method dispatch ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method cycle ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> ?callable $callback ]
+ Parameter #1 [ <optional> bool $before = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method write ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $fd ]
+ Parameter #1 [ <required> string $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method wait ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> static public method rshutdown ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> static public method exit ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ 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 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $value = 0 ]
+ }
+ }
+
+ Method [ <internal:swoole> public method add ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $add_value = 1 ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method sub ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $sub_value = 1 ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method get ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $value ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method wait ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = 1.0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method wakeup ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $count = 1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method cmpset ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $cmp_value ]
+ Parameter #1 [ <required> int $new_value ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ 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> int $value = 0 ]
+ }
+ }
+
+ Method [ <internal:swoole> public method add ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $add_value = 1 ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method sub ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $sub_value = 1 ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method get ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $value ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method cmpset ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $cmp_value ]
+ Parameter #1 [ <required> int $new_value ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Lock ] {
+
+ - Constants [5] {
+ Constant [ public int FILELOCK ] { 2 }
+ Constant [ public int MUTEX ] { 3 }
+ Constant [ public int SEM ] { 4 }
+ Constant [ public int RWLOCK ] { 1 }
+ Constant [ public int SPINLOCK ] { 5 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [1] {
+ Property [ public $errCode = 0 ]
+ }
+
+ - Methods [9] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $type = SWOOLE_MUTEX ]
+ Parameter #1 [ <optional> string $filename = '' ]
+ }
+ }
+
+ Method [ <internal:swoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method lock ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method lockwait ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = 1.0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method trylock ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method lock_read ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method trylock_read ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method unlock ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method destroy ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Process ] {
+
+ - Constants [5] {
+ Constant [ public int IPC_NOWAIT ] { 256 }
+ Constant [ public int PIPE_MASTER ] { 1 }
+ Constant [ public int PIPE_WORKER ] { 2 }
+ Constant [ public int PIPE_READ ] { 3 }
+ Constant [ public int PIPE_WRITE ] { 4 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [6] {
+ Method [ <internal:swoole> static public method wait ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $blocking = true ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> static public method signal ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $signal_no ]
+ Parameter #1 [ <optional> ?callable $callback = null ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method alarm ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $usec ]
+ Parameter #1 [ <optional> int $type = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method kill ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $pid ]
+ Parameter #1 [ <optional> int $signal_no = SIGTERM ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method daemon ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> bool $nochdir = true ]
+ Parameter #1 [ <optional> bool $noclose = true ]
+ Parameter #2 [ <optional> array $pipes = [] ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method setAffinity ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $cpu_settings ]
+ }
+ - Return [ bool ]
+ }
+ }
+
+ - Properties [6] {
+ Property [ public $pipe = NULL ]
+ Property [ public $msgQueueId = NULL ]
+ Property [ public $msgQueueKey = NULL ]
+ Property [ public $pid = NULL ]
+ Property [ public $id = NULL ]
+ Property [ private $callback = NULL ]
+ }
+
+ - Methods [20] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> callable $callback ]
+ Parameter #1 [ <optional> bool $redirect_stdin_and_stdout = false ]
+ Parameter #2 [ <optional> int $pipe_type = SOCK_DGRAM ]
+ Parameter #3 [ <optional> bool $enable_coroutine = false ]
+ }
+ }
+
+ Method [ <internal:swoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method setPriority ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $which ]
+ Parameter #1 [ <required> int $priority ]
+ Parameter #2 [ <optional> ?int $who = null ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getPriority ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $which ]
+ Parameter #1 [ <optional> ?int $who = null ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method setTimeout ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> float $seconds ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method setBlocking ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> bool $blocking ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method useQueue ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> int $key = 0 ]
+ Parameter #1 [ <optional> int $mode = 2 ]
+ Parameter #2 [ <optional> int $capacity = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method statQueue ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method freeQueue ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method start ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:swoole> public method write ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $which = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method read ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $size = 8192 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method push ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method pop ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $size = 65536 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method exit ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $exit_code = 0 ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method exec ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $exec_file ]
+ Parameter #1 [ <required> array $args ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method exportSocket ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Swoole\Coroutine\Socket|false ]
+ }
+
+ Method [ <internal:swoole> public method name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $process_name ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Process\Pool ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [2] {
+ Property [ public $master_pid = -1 ]
+ Property [ public $workers = NULL ]
+ }
+
+ - Methods [12] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> int $worker_num ]
+ Parameter #1 [ <optional> int $ipc_type = SWOOLE_IPC_NONE ]
+ Parameter #2 [ <optional> int $msgqueue_key = 0 ]
+ Parameter #3 [ <optional> bool $enable_coroutine = false ]
+ }
+ }
+
+ Method [ <internal:swoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method on ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getProcess ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $work_id = -1 ]
+ }
+ - Return [ Swoole\Process|false ]
+ }
+
+ Method [ <internal:swoole> public method listen ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> int $backlog = 2048 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method write ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method sendMessage ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $data ]
+ Parameter #1 [ <required> int $dst_worker_id ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method detach ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method start ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?false ]
+ }
+
+ Method [ <internal:swoole> public method stop ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method shutdown ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> <iterateable> class Swoole\Table implements Iterator, Traversable, Countable ] {
+
+ - Constants [3] {
+ Constant [ public int TYPE_INT ] { 1 }
+ Constant [ public int TYPE_STRING ] { 3 }
+ Constant [ public int TYPE_FLOAT ] { 2 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [2] {
+ Property [ public $size = NULL ]
+ Property [ public $memorySize = NULL ]
+ }
+
+ - Methods [21] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $table_size ]
+ Parameter #1 [ <optional> float $conflict_proportion = 0.2 ]
+ }
+ }
+
+ Method [ <internal:swoole> public method column ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <required> int $type ]
+ Parameter #2 [ <optional> int $size = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method create ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method destroy ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> array $value ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method get ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> ?string $field = null ]
+ }
+ - Return [ array|string|int|float|false ]
+ }
+
+ Method [ <internal:swoole, prototype Countable> public method count ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method del ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method delete ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method exist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method incr ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $column ]
+ Parameter #2 [ <optional> int|float $incrby = 1 ]
+ }
+ - Return [ int|float ]
+ }
+
+ Method [ <internal:swoole> public method decr ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $column ]
+ Parameter #2 [ <optional> int|float $incrby = 1 ]
+ }
+ - Return [ int|float ]
+ }
+
+ Method [ <internal:swoole> public method getSize ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method getMemorySize ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method stats ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, prototype Iterator> public method rewind ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole, prototype Iterator> public method valid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, prototype Iterator> public method next ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole, prototype Iterator> public method current ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:swoole, prototype Iterator> public method key ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Timer ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [9] {
+ Method [ <internal, deprecated:swoole> static public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> static public method tick ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ Parameter #2 [ <optional> mixed ...$params ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> static public method after ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ Parameter #2 [ <optional> mixed ...$params ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> static public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $timer_id ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method info ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $timer_id ]
+ }
+ - Return [ ?array ]
+ }
+
+ Method [ <internal:swoole> static public method stats ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:swoole> static public method list ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Swoole\Timer\Iterator ]
+ }
+
+ Method [ <internal:swoole> static public method clear ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $timer_id ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method clearAll ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:swoole> <iterateable> class Swoole\Timer\Iterator extends ArrayIterator implements Countable, Serializable, ArrayAccess, Iterator, Traversable, SeekableIterator ] {
+
+ - Constants [2] {
+ Constant [ public int STD_PROP_LIST ] { 1 }
+ Constant [ public int ARRAY_AS_PROPS ] { 2 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [27] {
+ Method [ <internal:SPL, inherits ArrayIterator, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> object|array $array = [] ]
+ Parameter #1 [ <optional> int $flags = 0 ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method append ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method getArrayCopy ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Countable> public method count ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ int ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method getFlags ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ int ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method setFlags ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $flags ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method asort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flags = SORT_REGULAR ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method ksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flags = SORT_REGULAR ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method uasort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method uksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method natsort ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method natcasesort ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ string ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method __serialize ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method __unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $data ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method rewind ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method current ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method key ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ string|int|null ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method next ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method valid ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype SeekableIterator> public method seek ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $offset ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method __debugInfo ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [40] {
+ Method [ <internal:swoole> static public method create ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> callable $func ]
+ Parameter #1 [ <optional> mixed ...$param ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> static public method defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> static public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $options ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> static public method getOptions ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?array ]
+ }
+
+ Method [ <internal:swoole> static public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $cid ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method yield ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method cancel ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $cid ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method join ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $cid_array ]
+ Parameter #1 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method isCanceled ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method suspend ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method resume ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $cid ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method stats ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:swoole> static public method getCid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> static public method getuid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> static public method getPcid ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $cid = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> static public method getContext ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $cid = 0 ]
+ }
+ - Return [ ?Swoole\Coroutine\Context ]
+ }
+
+ Method [ <internal:swoole> static public method getBackTrace ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> int $cid = 0 ]
+ Parameter #1 [ <optional> int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT ]
+ Parameter #2 [ <optional> int $limit = 0 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> static public method printBackTrace ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> int $cid = 0 ]
+ Parameter #1 [ <optional> int $options = 0 ]
+ Parameter #2 [ <optional> int $limit = 0 ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> static public method getElapsed ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $cid = 0 ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> static public method getStackUsage ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $cid = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> static public method list ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Swoole\Coroutine\Iterator ]
+ }
+
+ Method [ <internal:swoole> static public method listCoroutines ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Swoole\Coroutine\Iterator ]
+ }
+
+ Method [ <internal:swoole> static public method enableScheduler ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method disableScheduler ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method getExecuteTime ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> static public method gethostbyname ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $domain_name ]
+ Parameter #1 [ <optional> int $type = AF_INET ]
+ Parameter #2 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> static public method dnsLookup ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $domain_name ]
+ Parameter #1 [ <optional> float $timeout = 60 ]
+ Parameter #2 [ <optional> int $type = AF_INET ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> static public method exec ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $command ]
+ Parameter #1 [ <optional> bool $get_error_stream = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> static public method sleep ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> float $seconds ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method getaddrinfo ] {
+
+ - Parameters [6] {
+ Parameter #0 [ <required> string $domain ]
+ Parameter #1 [ <optional> int $family = AF_INET ]
+ Parameter #2 [ <optional> int $socktype = SOCK_STREAM ]
+ Parameter #3 [ <optional> int $protocol = STREAM_IPPROTO_TCP ]
+ Parameter #4 [ <optional> ?string $service = null ]
+ Parameter #5 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ array|bool ]
+ }
+
+ Method [ <internal:swoole> static public method statvfs ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $path ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:swoole> static public method readFile ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <optional> int $flag = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> static public method writeFile ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <required> string $fileContent ]
+ Parameter #2 [ <optional> int $flags = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> static public method wait ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> static public method waitPid ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $pid ]
+ Parameter #1 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> static public method waitSignal ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $signo ]
+ Parameter #1 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method waitEvent ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $socket ]
+ Parameter #1 [ <optional> int $events = SWOOLE_EVENT_READ ]
+ Parameter #2 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal, deprecated:swoole> static public method fread ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $handle ]
+ Parameter #1 [ <optional> int $length = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal, deprecated:swoole> static public method fgets ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $handle ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal, deprecated:swoole> static public method fwrite ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $handle ]
+ Parameter #1 [ <required> string $data ]
+ Parameter #2 [ <optional> int $length = 0 ]
+ }
+ - Return [ int|false ]
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:swoole> <iterateable> class Swoole\Coroutine\Iterator extends ArrayIterator implements Countable, Serializable, ArrayAccess, Iterator, Traversable, SeekableIterator ] {
+
+ - Constants [2] {
+ Constant [ public int STD_PROP_LIST ] { 1 }
+ Constant [ public int ARRAY_AS_PROPS ] { 2 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [27] {
+ Method [ <internal:SPL, inherits ArrayIterator, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> object|array $array = [] ]
+ Parameter #1 [ <optional> int $flags = 0 ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method append ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method getArrayCopy ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Countable> public method count ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ int ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method getFlags ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ int ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method setFlags ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $flags ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method asort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flags = SORT_REGULAR ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method ksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flags = SORT_REGULAR ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method uasort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method uksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method natsort ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method natcasesort ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ string ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method __serialize ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method __unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $data ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method rewind ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method current ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method key ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ string|int|null ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method next ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method valid ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype SeekableIterator> public method seek ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $offset ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method __debugInfo ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> <iterateable> class Swoole\Coroutine\Context extends ArrayObject implements Countable, Serializable, ArrayAccess, Traversable, IteratorAggregate ] {
+
+ - Constants [2] {
+ Constant [ public int STD_PROP_LIST ] { 1 }
+ Constant [ public int ARRAY_AS_PROPS ] { 2 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [25] {
+ Method [ <internal:SPL, inherits ArrayObject, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> object|array $array = [] ]
+ Parameter #1 [ <optional> int $flags = 0 ]
+ Parameter #2 [ <optional> string $iteratorClass = ArrayIterator::class ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method append ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method getArrayCopy ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype Countable> public method count ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ int ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method getFlags ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ int ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method setFlags ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $flags ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method asort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flags = SORT_REGULAR ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method ksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flags = SORT_REGULAR ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method uasort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method uksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method natsort ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method natcasesort ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype Serializable> public method unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ string ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method __serialize ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method __unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $data ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ Iterator ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method exchangeArray ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> object|array $array ]
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method setIteratorClass ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $iteratorClass ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method getIteratorClass ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ string ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method __debugInfo ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\ExitException extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [6] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ Property [ private $flags = 0 ]
+ Property [ private $status = 0 ]
+ }
+
+ - Methods [12] {
+ Method [ <internal:swoole> public method getFlags ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method getStatus ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\System ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [15] {
+ Method [ <internal:swoole> static public method gethostbyname ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $domain_name ]
+ Parameter #1 [ <optional> int $type = AF_INET ]
+ Parameter #2 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> static public method dnsLookup ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $domain_name ]
+ Parameter #1 [ <optional> float $timeout = 60 ]
+ Parameter #2 [ <optional> int $type = AF_INET ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> static public method exec ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $command ]
+ Parameter #1 [ <optional> bool $get_error_stream = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> static public method sleep ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> float $seconds ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method getaddrinfo ] {
+
+ - Parameters [6] {
+ Parameter #0 [ <required> string $domain ]
+ Parameter #1 [ <optional> int $family = AF_INET ]
+ Parameter #2 [ <optional> int $socktype = SOCK_STREAM ]
+ Parameter #3 [ <optional> int $protocol = STREAM_IPPROTO_TCP ]
+ Parameter #4 [ <optional> ?string $service = null ]
+ Parameter #5 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ array|bool ]
+ }
+
+ Method [ <internal:swoole> static public method statvfs ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $path ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:swoole> static public method readFile ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <optional> int $flag = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> static public method writeFile ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <required> string $fileContent ]
+ Parameter #2 [ <optional> int $flags = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> static public method wait ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> static public method waitPid ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $pid ]
+ Parameter #1 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> static public method waitSignal ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $signo ]
+ Parameter #1 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method waitEvent ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $socket ]
+ Parameter #1 [ <optional> int $events = SWOOLE_EVENT_READ ]
+ Parameter #2 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal, deprecated:swoole> static public method fread ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $handle ]
+ Parameter #1 [ <optional> int $length = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal, deprecated:swoole> static public method fwrite ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $handle ]
+ Parameter #1 [ <required> string $data ]
+ Parameter #2 [ <optional> int $length = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal, deprecated:swoole> static public method fgets ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $handle ]
+ }
+ - Return [ string|false ]
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:swoole> final class Swoole\Coroutine\Scheduler ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [5] {
+ Method [ <internal:swoole> public method add ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> callable $func ]
+ Parameter #1 [ <optional> mixed ...$param ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method parallel ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $n ]
+ Parameter #1 [ <required> callable $func ]
+ Parameter #2 [ <optional> mixed ...$param ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method getOptions ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?array ]
+ }
+
+ Method [ <internal:swoole> public method start ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Channel ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [2] {
+ Property [ public $capacity = 0 ]
+ Property [ public $errCode = 0 ]
+ }
+
+ - Methods [8] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $size = 1 ]
+ }
+ }
+
+ Method [ <internal:swoole> public method push ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $data ]
+ Parameter #1 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method pop ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = -1 ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:swoole> public method isEmpty ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method isFull ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method stats ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:swoole> public method length ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Runtime ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [3] {
+ Method [ <internal:swoole> static public method enableCoroutine ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int|bool $enable = SWOOLE_HOOK_ALL ]
+ Parameter #1 [ <optional> int $flags = SWOOLE_HOOK_ALL ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> static public method getHookFlags ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> static public method setHookFlags ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $flags ]
+ }
+ - Return [ bool ]
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Curl\Exception extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Socket ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [1] {
+ Method [ <internal:swoole> static public method import ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $stream ]
+ }
+ - Return [ Swoole\Coroutine\Socket|false ]
+ }
+ }
+
+ - Properties [8] {
+ Property [ public $fd = -1 ]
+ Property [ public $domain = 0 ]
+ Property [ public $type = 0 ]
+ Property [ public $protocol = 0 ]
+ Property [ public $errCode = 0 ]
+ Property [ public $errMsg = '' ]
+ Property [ public $__ext_sockets_nonblock = false ]
+ Property [ public $__ext_sockets_timeout = 0 ]
+ }
+
+ - Methods [32] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $domain ]
+ Parameter #1 [ <required> int $type ]
+ Parameter #2 [ <optional> int $protocol = IPPROTO_IP ]
+ }
+ }
+
+ Method [ <internal:swoole> public method bind ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $address ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method listen ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $backlog = 512 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method accept ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ Swoole\Coroutine\Socket|false ]
+ }
+
+ Method [ <internal:swoole> public method connect ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method checkLiveness ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getBoundCid ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $event ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method peek ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $length = 65536 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method recv ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $length = 65536 ]
+ Parameter #1 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method recvAll ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $length = 65536 ]
+ Parameter #1 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method recvLine ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $length = 65536 ]
+ Parameter #1 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method recvWithBuffer ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $length = 65536 ]
+ Parameter #1 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method recvPacket ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method send ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $data ]
+ Parameter #1 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method readVector ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $io_vector ]
+ Parameter #1 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method readVectorAll ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $io_vector ]
+ Parameter #1 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method writeVector ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $io_vector ]
+ Parameter #1 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method writeVectorAll ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $io_vector ]
+ Parameter #1 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method sendFile ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $file ]
+ Parameter #1 [ <optional> int $offset = 0 ]
+ Parameter #2 [ <optional> int $length = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method sendAll ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $data ]
+ Parameter #1 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method recvfrom ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed &$peername ]
+ Parameter #1 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method sendto ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $addr ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> string $data ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method getOption ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $level ]
+ Parameter #1 [ <required> int $opt_name ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:swoole> public method setProtocol ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method setOption ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $level ]
+ Parameter #1 [ <required> int $opt_name ]
+ Parameter #2 [ <required> mixed $opt_value ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method sslHandshake ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method shutdown ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $how = 2 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method cancel ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $event = SWOOLE_EVENT_READ ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getpeername ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method getsockname ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method isClosed ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Socket\Exception extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Client ] {
+
+ - Constants [7] {
+ Constant [ public int MSG_OOB ] { 1 }
+ Constant [ public int MSG_PEEK ] { 2 }
+ Constant [ public int MSG_DONTWAIT ] { 64 }
+ Constant [ public int MSG_WAITALL ] { 256 }
+ Constant [ public int SHUT_RDWR ] { 2 }
+ Constant [ public int SHUT_RD ] { 0 }
+ Constant [ public int SHUT_WR ] { 1 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [7] {
+ Property [ public $errCode = 0 ]
+ Property [ public $sock = -1 ]
+ Property [ public $reuse = false ]
+ Property [ public $reuseCount = 0 ]
+ Property [ public $type = 0 ]
+ Property [ public $id = NULL ]
+ Property [ public $setting = NULL ]
+ }
+
+ - Methods [17] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $type ]
+ Parameter #1 [ <optional> bool $async = SWOOLE_SOCK_SYNC ]
+ Parameter #2 [ <optional> string $id = '' ]
+ }
+ }
+
+ Method [ <internal:swoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method connect ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> float $timeout = 0.5 ]
+ Parameter #3 [ <optional> int $sock_flag = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method recv ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $size = 65536 ]
+ Parameter #1 [ <optional> int $flag = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method send ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $data ]
+ Parameter #1 [ <optional> int $flag = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method sendfile ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <optional> int $offset = 0 ]
+ Parameter #2 [ <optional> int $length = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method sendto ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $ip ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> string $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method shutdown ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $how ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method enableSSL ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getPeerCert ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string|bool ]
+ }
+
+ Method [ <internal:swoole> public method verifyPeerCert ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method isConnected ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getsockname ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method getpeername ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $force = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getSocket ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Socket|false ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Client\Exception extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Client ] {
+
+ - Constants [4] {
+ Constant [ public int MSG_OOB ] { 1 }
+ Constant [ public int MSG_PEEK ] { 2 }
+ Constant [ public int MSG_DONTWAIT ] { 64 }
+ Constant [ public int MSG_WAITALL ] { 256 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [7] {
+ Property [ public $errCode = 0 ]
+ Property [ public $errMsg = '' ]
+ Property [ public $fd = -1 ]
+ Property [ public $socket = NULL ]
+ Property [ public $type = 1 ]
+ Property [ public $setting = NULL ]
+ Property [ public $connected = false ]
+ }
+
+ - Methods [18] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $type ]
+ }
+ }
+
+ Method [ <internal:swoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method connect ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> float $timeout = 0 ]
+ Parameter #3 [ <optional> int $sock_flag = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method recv ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method peek ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $length = 65535 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method send ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $data ]
+ Parameter #1 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method sendfile ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <optional> int $offset = 0 ]
+ Parameter #2 [ <optional> int $length = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method sendto ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $address ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> string $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method recvfrom ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $length ]
+ Parameter #1 [ <required> mixed &$address ]
+ Parameter #2 [ <optional> mixed &$port = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method enableSSL ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getPeerCert ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method verifyPeerCert ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $allow_self_signed = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method isConnected ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getsockname ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method getpeername ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method exportSocket ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Swoole\Coroutine\Socket|false ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Http\Client ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [19] {
+ Property [ public $socket = NULL ]
+ Property [ public $errCode = 0 ]
+ Property [ public $errMsg = '' ]
+ Property [ public $connected = false ]
+ Property [ public $host = '' ]
+ Property [ public $port = 0 ]
+ Property [ public $ssl = false ]
+ Property [ public $setting = NULL ]
+ Property [ public $requestMethod = NULL ]
+ Property [ public $requestHeaders = NULL ]
+ Property [ public $requestBody = NULL ]
+ Property [ public $uploadFiles = NULL ]
+ Property [ public $downloadFile = NULL ]
+ Property [ public $downloadOffset = 0 ]
+ Property [ public $statusCode = 0 ]
+ Property [ public $headers = NULL ]
+ Property [ public $set_cookie_headers = NULL ]
+ Property [ public $cookies = NULL ]
+ Property [ public $body = '' ]
+ }
+
+ - Methods [28] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> bool $ssl = false ]
+ }
+ }
+
+ Method [ <internal:swoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getDefer ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method setDefer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $defer = true ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method setMethod ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $method ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method setHeaders ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $headers ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method setBasicAuth ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $username ]
+ Parameter #1 [ <required> string $password ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method setCookies ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $cookies ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method setData ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array|string $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method addFile ] {
+
+ - Parameters [6] {
+ Parameter #0 [ <required> string $path ]
+ Parameter #1 [ <required> string $name ]
+ Parameter #2 [ <optional> ?string $type = null ]
+ Parameter #3 [ <optional> ?string $filename = null ]
+ Parameter #4 [ <optional> int $offset = 0 ]
+ Parameter #5 [ <optional> int $length = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method addData ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $path ]
+ Parameter #1 [ <required> string $name ]
+ Parameter #2 [ <optional> ?string $type = null ]
+ Parameter #3 [ <optional> ?string $filename = null ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method execute ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $path ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getpeername ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method getsockname ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method get ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $path ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method post ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $path ]
+ Parameter #1 [ <required> mixed $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method download ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $path ]
+ Parameter #1 [ <required> string $file ]
+ Parameter #2 [ <optional> int $offset = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getBody ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method getHeaders ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false|null ]
+ }
+
+ Method [ <internal:swoole> public method getCookies ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array|false|null ]
+ }
+
+ Method [ <internal:swoole> public method getStatusCode ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method getHeaderOut ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method getPeerCert ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method upgrade ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $path ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method push ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $data ]
+ Parameter #1 [ <optional> int $opcode = SWOOLE_WEBSOCKET_OPCODE_TEXT ]
+ Parameter #2 [ <optional> int $flags = SWOOLE_WEBSOCKET_FLAG_FIN ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method recv ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ Swoole\WebSocket\Frame|bool ]
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Http\Client\Exception extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Http2\Client ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [10] {
+ Property [ public $errCode = 0 ]
+ Property [ public $errMsg = '' ]
+ Property [ public $sock = -1 ]
+ Property [ public $type = 0 ]
+ Property [ public $setting = NULL ]
+ Property [ public $socket = NULL ]
+ Property [ public $connected = false ]
+ Property [ public $host = NULL ]
+ Property [ public $port = 0 ]
+ Property [ public $ssl = false ]
+ }
+
+ - Methods [13] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <optional> int $port = 80 ]
+ Parameter #2 [ <optional> bool $open_ssl = false ]
+ }
+ }
+
+ Method [ <internal:swoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method connect ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method stats ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> string $key = '' ]
+ }
+ - Return [ array|int ]
+ }
+
+ Method [ <internal:swoole> public method isStreamExist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $stream_id ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method send ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> Swoole\Http2\Request $request ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method write ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $stream_id ]
+ Parameter #1 [ <required> mixed $data ]
+ Parameter #2 [ <optional> bool $end_stream = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method recv ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ Swoole\Http2\Response|false ]
+ }
+
+ Method [ <internal:swoole> public method read ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ Swoole\Http2\Response|false ]
+ }
+
+ Method [ <internal:swoole> public method goaway ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $error_code = SWOOLE_HTTP2_ERROR_NO_ERROR ]
+ Parameter #1 [ <optional> string $debug_data = '' ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method ping ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Http2\Client\Exception extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Http2\Request ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [7] {
+ Property [ public $path = '/' ]
+ Property [ public $method = 'GET' ]
+ Property [ public $headers = NULL ]
+ Property [ public $cookies = NULL ]
+ Property [ public $data = '' ]
+ Property [ public $pipeline = false ]
+ Property [ public $usePipelineRead = false ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Http2\Response ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [8] {
+ Property [ public $streamId = 0 ]
+ Property [ public $errCode = 0 ]
+ Property [ public $statusCode = 0 ]
+ Property [ public $pipeline = false ]
+ Property [ public $headers = NULL ]
+ Property [ public $set_cookie_headers = NULL ]
+ Property [ public $cookies = NULL ]
+ Property [ public $data = NULL ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\MySQL ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [10] {
+ Property [ private $socket = NULL ]
+ Property [ public $serverInfo = NULL ]
+ Property [ public $sock = -1 ]
+ Property [ public $connected = false ]
+ Property [ public $connect_errno = 0 ]
+ Property [ public $connect_error = '' ]
+ Property [ public $affected_rows = 0 ]
+ Property [ public $insert_id = 0 ]
+ Property [ public $error = '' ]
+ Property [ public $errno = 0 ]
+ }
+
+ - Methods [16] {
+ Method [ <internal, deprecated:swoole, ctor> public method __construct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> 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 = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method connect ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> array $server_config = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method query ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $sql ]
+ Parameter #1 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ 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 = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method recv ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method begin ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method commit ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method rollback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method escape ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $string ]
+ Parameter #1 [ <optional> $flags = <default> ]
+ }
+ }
+
+ 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 [ public $id = 0 ]
+ Property [ public $affected_rows = 0 ]
+ Property [ public $insert_id = 0 ]
+ Property [ public $error = '' ]
+ Property [ public $errno = 0 ]
+ }
+
+ - Methods [6] {
+ Method [ <internal:swoole> public method execute ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $params = <default> ]
+ Parameter #1 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method fetch ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method fetchAll ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method nextResult ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method recv ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\MySQL\Exception extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\Redis ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [8] {
+ Property [ public $host = '' ]
+ Property [ public $port = 0 ]
+ Property [ public $setting = NULL ]
+ Property [ public $sock = -1 ]
+ Property [ public $connected = false ]
+ Property [ public $errType = 0 ]
+ Property [ public $errCode = 0 ]
+ Property [ public $errMsg = '' ]
+ }
+
+ - Methods [185] {
+ Method [ <internal, deprecated:swoole, ctor> public method __construct ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $config = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method connect ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $host ]
+ Parameter #1 [ <optional> $port = <default> ]
+ Parameter #2 [ <optional> $serialize = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getAuth ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method getDBNum ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method getOptions ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method setOptions ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $options ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getDefer ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method setDefer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $defer ]
+ }
+ }
+
+ Method [ <internal:swoole> public method recv ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method request ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $params ]
+ }
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ Parameter #2 [ <optional> $timeout = <default> ]
+ Parameter #3 [ <optional> $opt = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method setBit ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $offset ]
+ Parameter #2 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method setEx ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $expire ]
+ Parameter #2 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method psetEx ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $expire ]
+ Parameter #2 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lSet ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $index ]
+ Parameter #2 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method get ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method mGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $keys ]
+ }
+ }
+
+ Method [ <internal:swoole> public method del ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $other_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hDel ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ Parameter #2 [ <optional> $other_members = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hSet ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ Parameter #2 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hMSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $pairs ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hSetNx ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ Parameter #2 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method delete ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $other_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method mSet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $pairs ]
+ }
+ }
+
+ Method [ <internal:swoole> public method mSetNx ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $pairs ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getKeys ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $pattern ]
+ }
+ }
+
+ Method [ <internal:swoole> public method keys ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $pattern ]
+ }
+ }
+
+ Method [ <internal:swoole> public method exists ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $other_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method type ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method strLen ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lPop ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method blPop ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $timeout_or_key ]
+ Parameter #2 [ <optional> $extra_args = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method rPop ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method brPop ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $timeout_or_key ]
+ Parameter #2 [ <optional> $extra_args = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method bRPopLPush ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $src ]
+ Parameter #1 [ <required> $dst ]
+ Parameter #2 [ <required> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lSize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lLen ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sSize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method scard ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sPop ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sMembers ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sGetMembers ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sRandMember ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $count = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method persist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method ttl ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method pttl ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zCard ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zSize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hLen ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hKeys ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hVals ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hGetAll ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method debug ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method restore ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $ttl ]
+ Parameter #1 [ <required> $key ]
+ Parameter #2 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method dump ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method renameKey ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $newkey ]
+ }
+ }
+
+ Method [ <internal:swoole> public method rename ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $newkey ]
+ }
+ }
+
+ Method [ <internal:swoole> public method renameNx ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $newkey ]
+ }
+ }
+
+ Method [ <internal:swoole> public method rpoplpush ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $src ]
+ Parameter #1 [ <required> $dst ]
+ }
+ }
+
+ Method [ <internal:swoole> public method randomKey ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method pfadd ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $elements ]
+ }
+ }
+
+ Method [ <internal:swoole> public method pfcount ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method pfmerge ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $dstkey ]
+ Parameter #1 [ <required> $keys ]
+ }
+ }
+
+ Method [ <internal:swoole> public method ping ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method auth ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $password ]
+ }
+ }
+
+ Method [ <internal:swoole> public method unwatch ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method watch ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $other_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method save ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method bgSave ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method lastSave ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method flushDB ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method flushAll ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method dbSize ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method bgrewriteaof ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method time ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method role ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method setRange ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $offset ]
+ Parameter #2 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method setNx ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method append ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lPushx ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lPush ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method rPush ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method rPushx ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sContains ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sismember ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zScore ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zRank ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zRevRank ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hGet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hMGet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $keys ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hExists ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ }
+ }
+
+ Method [ <internal:swoole> public method publish ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $channel ]
+ Parameter #1 [ <required> $message ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zIncrBy ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ Parameter #2 [ <required> $member ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zAdd ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $score ]
+ Parameter #2 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zPopMin ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $count ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zPopMax ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $count ]
+ }
+ }
+
+ Method [ <internal:swoole> public method bzPopMin ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $timeout_or_key ]
+ Parameter #2 [ <optional> $extra_args = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method bzPopMax ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $timeout_or_key ]
+ Parameter #2 [ <optional> $extra_args = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zDeleteRangeByScore ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $min ]
+ Parameter #2 [ <required> $max ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zRemRangeByScore ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $min ]
+ Parameter #2 [ <required> $max ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zCount ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $min ]
+ Parameter #2 [ <required> $max ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zRange ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $start ]
+ Parameter #2 [ <required> $end ]
+ Parameter #3 [ <optional> $scores = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zRevRange ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $start ]
+ Parameter #2 [ <required> $end ]
+ Parameter #3 [ <optional> $scores = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zRangeByScore ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $start ]
+ Parameter #2 [ <required> $end ]
+ Parameter #3 [ <optional> $options = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zRevRangeByScore ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $start ]
+ Parameter #2 [ <required> $end ]
+ Parameter #3 [ <optional> $options = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zRangeByLex ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $min ]
+ Parameter #2 [ <required> $max ]
+ Parameter #3 [ <optional> $offset = <default> ]
+ Parameter #4 [ <optional> $limit = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zRevRangeByLex ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $min ]
+ Parameter #2 [ <required> $max ]
+ Parameter #3 [ <optional> $offset = <default> ]
+ Parameter #4 [ <optional> $limit = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zInter ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $keys ]
+ Parameter #2 [ <optional> $weights = <default> ]
+ Parameter #3 [ <optional> $aggregate = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zinterstore ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $keys ]
+ Parameter #2 [ <optional> $weights = <default> ]
+ Parameter #3 [ <optional> $aggregate = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zUnion ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $keys ]
+ Parameter #2 [ <optional> $weights = <default> ]
+ Parameter #3 [ <optional> $aggregate = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zunionstore ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $keys ]
+ Parameter #2 [ <optional> $weights = <default> ]
+ Parameter #3 [ <optional> $aggregate = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method incrBy ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hIncrBy ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ Parameter #2 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method incr ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method decrBy ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method decr ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getBit ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $offset ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lInsert ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $position ]
+ Parameter #2 [ <required> $pivot ]
+ Parameter #3 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lGet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $index ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lIndex ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $integer ]
+ }
+ }
+
+ Method [ <internal:swoole> public method setTimeout ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method expire ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $integer ]
+ }
+ }
+
+ Method [ <internal:swoole> public method pexpire ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $timestamp ]
+ }
+ }
+
+ Method [ <internal:swoole> public method expireAt ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $timestamp ]
+ }
+ }
+
+ Method [ <internal:swoole> public method pexpireAt ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $timestamp ]
+ }
+ }
+
+ Method [ <internal:swoole> public method move ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $dbindex ]
+ }
+ }
+
+ Method [ <internal:swoole> public method select ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $dbindex ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getRange ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $start ]
+ Parameter #2 [ <required> $end ]
+ }
+ }
+
+ Method [ <internal:swoole> public method listTrim ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $start ]
+ Parameter #2 [ <required> $stop ]
+ }
+ }
+
+ Method [ <internal:swoole> public method ltrim ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $start ]
+ Parameter #2 [ <required> $stop ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lGetRange ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $start ]
+ Parameter #2 [ <required> $end ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lRange ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $start ]
+ Parameter #2 [ <required> $end ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lRem ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ Parameter #2 [ <required> $count ]
+ }
+ }
+
+ Method [ <internal:swoole> public method lRemove ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ Parameter #2 [ <required> $count ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zDeleteRangeByRank ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $start ]
+ Parameter #2 [ <required> $end ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zRemRangeByRank ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $min ]
+ Parameter #2 [ <required> $max ]
+ }
+ }
+
+ Method [ <internal:swoole> public method incrByFloat ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method hIncrByFloat ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ Parameter #2 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method bitCount ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method bitOp ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $operation ]
+ Parameter #1 [ <required> $ret_key ]
+ Parameter #2 [ <required> $key ]
+ Parameter #3 [ <optional> $other_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sAdd ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sMove ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $src ]
+ Parameter #1 [ <required> $dst ]
+ Parameter #2 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sDiff ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $other_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sDiffStore ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $dst ]
+ Parameter #1 [ <required> $key ]
+ Parameter #2 [ <optional> $other_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sUnion ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $other_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sUnionStore ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $dst ]
+ Parameter #1 [ <required> $key ]
+ Parameter #2 [ <optional> $other_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sInter ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $other_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sInterStore ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $dst ]
+ Parameter #1 [ <required> $key ]
+ Parameter #2 [ <optional> $other_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sRemove ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method srem ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zDelete ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ Parameter #2 [ <optional> $other_members = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zRemove ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ Parameter #2 [ <optional> $other_members = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method zRem ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $member ]
+ Parameter #2 [ <optional> $other_members = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method pSubscribe ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $patterns ]
+ }
+ }
+
+ Method [ <internal:swoole> public method subscribe ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $channels ]
+ }
+ }
+
+ Method [ <internal:swoole> public method unsubscribe ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $channels ]
+ }
+ }
+
+ Method [ <internal:swoole> public method pUnSubscribe ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $patterns ]
+ }
+ }
+
+ Method [ <internal:swoole> public method multi ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method exec ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method eval ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $script ]
+ Parameter #1 [ <optional> $args = <default> ]
+ Parameter #2 [ <optional> $num_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method evalSha ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $script_sha ]
+ Parameter #1 [ <optional> $args = <default> ]
+ Parameter #2 [ <optional> $num_keys = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method script ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $cmd ]
+ Parameter #1 [ <optional> $args = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xLen ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xAdd ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $id ]
+ Parameter #2 [ <required> $pairs ]
+ Parameter #3 [ <optional> $options = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xRead ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $streams ]
+ Parameter #1 [ <optional> $options = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xDel ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $id ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xRange ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $start ]
+ Parameter #2 [ <required> $end ]
+ Parameter #3 [ <optional> $count = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xRevRange ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $start ]
+ Parameter #2 [ <required> $end ]
+ Parameter #3 [ <optional> $count = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xTrim ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $options = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xGroupCreate ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $group_name ]
+ Parameter #2 [ <required> $id ]
+ Parameter #3 [ <optional> $mkstream = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xGroupSetId ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $group_name ]
+ Parameter #2 [ <required> $id ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xGroupDestroy ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $group_name ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xGroupCreateConsumer ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $group_name ]
+ Parameter #2 [ <required> $consumer_name ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xGroupDelConsumer ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $group_name ]
+ Parameter #2 [ <required> $consumer_name ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xReadGroup ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $group_name ]
+ Parameter #1 [ <required> $consumer_name ]
+ Parameter #2 [ <required> $streams ]
+ Parameter #3 [ <optional> $options = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xPending ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $group_name ]
+ Parameter #2 [ <optional> $options = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xAck ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $group_name ]
+ Parameter #2 [ <required> $id ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xClaim ] {
+
+ - Parameters [6] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $group_name ]
+ Parameter #2 [ <required> $consumer_name ]
+ Parameter #3 [ <required> $min_idle_time ]
+ Parameter #4 [ <required> $id ]
+ Parameter #5 [ <optional> $options = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xAutoClaim ] {
+
+ - Parameters [6] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $group_name ]
+ Parameter #2 [ <required> $consumer_name ]
+ Parameter #3 [ <required> $min_idle_time ]
+ Parameter #4 [ <required> $start ]
+ Parameter #5 [ <optional> $options = <default> ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xInfoConsumers ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $key ]
+ Parameter #1 [ <required> $group_name ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xInfoGroups ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method xInfoStream ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $key ]
+ }
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Server ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [29] {
+ Property [ private $onStart = NULL ]
+ Property [ private $onBeforeShutdown = NULL ]
+ Property [ private $onShutdown = NULL ]
+ Property [ private $onWorkerStart = NULL ]
+ Property [ private $onWorkerStop = NULL ]
+ Property [ private $onBeforeReload = NULL ]
+ Property [ private $onAfterReload = NULL ]
+ Property [ private $onWorkerExit = NULL ]
+ Property [ private $onWorkerError = NULL ]
+ Property [ private $onTask = NULL ]
+ Property [ private $onFinish = NULL ]
+ Property [ private $onManagerStart = NULL ]
+ Property [ private $onManagerStop = NULL ]
+ Property [ private $onPipeMessage = NULL ]
+ Property [ public $setting = NULL ]
+ Property [ public $connections = NULL ]
+ Property [ public $host = '' ]
+ Property [ public $port = 0 ]
+ Property [ public $type = 0 ]
+ Property [ public $ssl = false ]
+ Property [ public $mode = 0 ]
+ Property [ public $ports = NULL ]
+ Property [ public $master_pid = 0 ]
+ Property [ public $manager_pid = 0 ]
+ Property [ public $worker_id = -1 ]
+ Property [ public $taskworker = false ]
+ Property [ public $worker_pid = 0 ]
+ Property [ public $stats_timer = NULL ]
+ Property [ public $admin_server = NULL ]
+ }
+
+ - Methods [45] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <optional> string $host = '0.0.0.0' ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> int $mode = SWOOLE_BASE ]
+ Parameter #3 [ <optional> int $sock_type = SWOOLE_SOCK_TCP ]
+ }
+ }
+
+ Method [ <internal:swoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method listen ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sock_type ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:swoole> public method addlistener ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sock_type ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:swoole> public method on ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $event_name ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $event_name ]
+ }
+ - Return [ Closure|array|string|null ]
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method start ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method send ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string|int $fd ]
+ Parameter #1 [ <required> string $send_data ]
+ Parameter #2 [ <optional> int $serverSocket = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method sendto ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $ip ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> string $send_data ]
+ Parameter #3 [ <optional> int $server_socket = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method sendwait ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $conn_fd ]
+ Parameter #1 [ <required> string $send_data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method exist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method protect ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $is_protected = true ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method sendfile ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> int $conn_fd ]
+ Parameter #1 [ <required> string $filename ]
+ Parameter #2 [ <optional> int $offset = 0 ]
+ Parameter #3 [ <optional> int $length = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $reset = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method confirm ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method pause ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method resume ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method task ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $data ]
+ Parameter #1 [ <optional> int $taskWorkerIndex = -1 ]
+ Parameter #2 [ <optional> ?callable $finishCallback = null ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method taskwait ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $data ]
+ Parameter #1 [ <optional> float $timeout = 0.5 ]
+ Parameter #2 [ <optional> int $taskWorkerIndex = -1 ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:swoole> public method taskWaitMulti ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $tasks ]
+ Parameter #1 [ <optional> float $timeout = 0.5 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method taskCo ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $tasks ]
+ Parameter #1 [ <optional> float $timeout = 0.5 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method finish ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method reload ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $only_reload_taskworker = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method shutdown ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method stop ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $workerId = -1 ]
+ Parameter #1 [ <optional> bool $waitEvent = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getLastError ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method heartbeat ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $ifCloseConnection = true ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method getClientInfo ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> int $reactor_id = -1 ]
+ Parameter #2 [ <optional> bool $ignoreError = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method getClientList ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $start_fd = 0 ]
+ Parameter #1 [ <optional> int $find_count = 10 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method getWorkerId ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method getWorkerPid ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $worker_id = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method getWorkerStatus ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $worker_id = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method getManagerPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method getMasterPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method connection_info ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> int $reactor_id = -1 ]
+ Parameter #2 [ <optional> bool $ignoreError = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method connection_list ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $start_fd = 0 ]
+ Parameter #1 [ <optional> int $find_count = 10 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method sendMessage ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $message ]
+ Parameter #1 [ <required> int $dst_worker_id ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method command ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <required> int $process_id ]
+ Parameter #2 [ <required> int $process_type ]
+ Parameter #3 [ <required> mixed $data ]
+ Parameter #4 [ <optional> bool $json_decode = true ]
+ }
+ - Return [ array|string|false ]
+ }
+
+ Method [ <internal:swoole> public method addCommand ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <required> int $accepted_process_types ]
+ Parameter #2 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method addProcess ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> Swoole\Process $process ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole> public method stats ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:swoole> public method getSocket ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $port = 0 ]
+ }
+ - Return [ Socket|false ]
+ }
+
+ Method [ <internal:swoole> public method bind ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <required> int $uid ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> final class Swoole\Server\Task ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [2] {
+ Method [ <internal:swoole> static public method pack ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $data ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> static public method unpack ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Return [ mixed ]
+ }
+ }
+
+ - Properties [5] {
+ Property [ public $data = NULL ]
+ Property [ public $dispatch_time = 0.0 ]
+ Property [ public $id = -1 ]
+ Property [ public $worker_id = -1 ]
+ Property [ public $flags = 0 ]
+ }
+
+ - Methods [1] {
+ Method [ <internal:swoole> public method finish ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $data ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Server\Event ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ public $reactor_id = 0 ]
+ Property [ public $fd = 0 ]
+ Property [ public $dispatch_time = 0.0 ]
+ Property [ public $data = NULL ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Server\Packet ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [5] {
+ Property [ public $server_socket = 0 ]
+ Property [ public $server_port = 0 ]
+ Property [ public $dispatch_time = 0.0 ]
+ Property [ public $address = NULL ]
+ Property [ public $port = 0 ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Server\PipeMessage ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [3] {
+ Property [ public $source_worker_id = 0 ]
+ Property [ public $dispatch_time = 0.0 ]
+ Property [ public $data = NULL ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Server\StatusInfo ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [5] {
+ Property [ public $worker_id = 0 ]
+ Property [ public $worker_pid = 0 ]
+ Property [ public $status = 0 ]
+ Property [ public $exit_code = 0 ]
+ Property [ public $signal = 0 ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Server\TaskResult ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ public $task_id = 0 ]
+ Property [ public $task_worker_id = 0 ]
+ Property [ public $dispatch_time = 0.0 ]
+ Property [ public $data = NULL ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:swoole> <iterateable> class Swoole\Connection\Iterator implements Iterator, Traversable, ArrayAccess, Countable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [12] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole, prototype Iterator> public method rewind ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole, prototype Iterator> public method next ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole, prototype Iterator> public method current ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:swoole, prototype Iterator> public method key ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:swoole, prototype Iterator> public method valid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, prototype Countable> public method count ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $fd ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $fd ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $fd ]
+ }
+ - Return [ void ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Server\Port ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [19] {
+ Property [ private $onConnect = NULL ]
+ Property [ private $onReceive = NULL ]
+ Property [ private $onClose = NULL ]
+ Property [ private $onPacket = NULL ]
+ Property [ private $onBufferFull = NULL ]
+ Property [ private $onBufferEmpty = NULL ]
+ Property [ private $onRequest = NULL ]
+ Property [ private $onHandshake = NULL ]
+ Property [ private $onOpen = NULL ]
+ Property [ private $onMessage = NULL ]
+ Property [ private $onDisconnect = NULL ]
+ Property [ private $onBeforeHandshakeResponse = NULL ]
+ Property [ public $host = NULL ]
+ Property [ public $port = 0 ]
+ Property [ public $type = 0 ]
+ Property [ public $sock = -1 ]
+ Property [ public $ssl = false ]
+ Property [ public $setting = NULL ]
+ Property [ public $connections = NULL ]
+ }
+
+ - Methods [6] {
+ Method [ <internal:swoole, ctor> private method __construct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method on ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $event_name ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $event_name ]
+ }
+ - Return [ ?Closure ]
+ }
+
+ Method [ <internal:swoole> public method getSocket ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Socket|false ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Http\Request ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [1] {
+ Method [ <internal:swoole> static public method create ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> array $options = [] ]
+ }
+ - Return [ Swoole\Http\Request ]
+ }
+ }
+
+ - Properties [9] {
+ Property [ public $fd = 0 ]
+ Property [ public $streamId = 0 ]
+ Property [ public $header = NULL ]
+ Property [ public $server = NULL ]
+ Property [ public $cookie = NULL ]
+ Property [ public $get = NULL ]
+ Property [ public $files = NULL ]
+ Property [ public $post = NULL ]
+ Property [ public $tmpfiles = NULL ]
+ }
+
+ - Methods [6] {
+ Method [ <internal:swoole> public method getContent ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method rawContent ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method getData ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method parse ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method isCompleted ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getMethod ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string|false ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Http\Response ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [1] {
+ Method [ <internal:swoole> static public method create ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> object|array|int $server = -1 ]
+ Parameter #1 [ <optional> int $fd = -1 ]
+ }
+ - Return [ Swoole\Http\Response|false ]
+ }
+ }
+
+ - Properties [5] {
+ Property [ public $fd = 0 ]
+ Property [ public $socket = NULL ]
+ Property [ public $header = NULL ]
+ Property [ public $cookie = NULL ]
+ Property [ public $trailer = NULL ]
+ }
+
+ - Methods [21] {
+ Method [ <internal:swoole> public method initHeader ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method isWritable ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method cookie ] {
+
+ - Parameters [9] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <optional> string $value = '' ]
+ Parameter #2 [ <optional> int $expires = 0 ]
+ Parameter #3 [ <optional> string $path = '/' ]
+ Parameter #4 [ <optional> string $domain = '' ]
+ Parameter #5 [ <optional> bool $secure = false ]
+ Parameter #6 [ <optional> bool $httponly = false ]
+ Parameter #7 [ <optional> string $samesite = '' ]
+ Parameter #8 [ <optional> string $priority = '' ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method setCookie ] {
+
+ - Parameters [9] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <optional> string $value = '' ]
+ Parameter #2 [ <optional> int $expires = 0 ]
+ Parameter #3 [ <optional> string $path = '/' ]
+ Parameter #4 [ <optional> string $domain = '' ]
+ Parameter #5 [ <optional> bool $secure = false ]
+ Parameter #6 [ <optional> bool $httponly = false ]
+ Parameter #7 [ <optional> string $samesite = '' ]
+ Parameter #8 [ <optional> string $priority = '' ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method rawcookie ] {
+
+ - Parameters [9] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <optional> string $value = '' ]
+ Parameter #2 [ <optional> int $expires = 0 ]
+ Parameter #3 [ <optional> string $path = '/' ]
+ Parameter #4 [ <optional> string $domain = '' ]
+ Parameter #5 [ <optional> bool $secure = false ]
+ Parameter #6 [ <optional> bool $httponly = false ]
+ Parameter #7 [ <optional> string $samesite = '' ]
+ Parameter #8 [ <optional> string $priority = '' ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method status ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $http_code ]
+ Parameter #1 [ <optional> string $reason = '' ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method setStatusCode ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $http_code ]
+ Parameter #1 [ <optional> string $reason = '' ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method header ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> array|string $value ]
+ Parameter #2 [ <optional> bool $format = true ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method setHeader ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> array|string $value ]
+ Parameter #2 [ <optional> bool $format = true ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method trailer ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $value ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method ping ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method goaway ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $error_code = SWOOLE_HTTP2_ERROR_NO_ERROR ]
+ Parameter #1 [ <optional> string $debug_data = '' ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method write ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $content ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method end ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> ?string $content = null ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method sendfile ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <optional> int $offset = 0 ]
+ Parameter #2 [ <optional> int $length = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method redirect ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $location ]
+ Parameter #1 [ <optional> int $http_code = 302 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method detach ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method upgrade ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method push ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> Swoole\WebSocket\Frame|string $data ]
+ Parameter #1 [ <optional> int $opcode = SWOOLE_WEBSOCKET_OPCODE_TEXT ]
+ Parameter #2 [ <optional> int $flags = SWOOLE_WEBSOCKET_FLAG_FIN ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method recv ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ Swoole\WebSocket\Frame|string|false ]
+ }
+
+ Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Http\Server extends Swoole\Server ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [15] {
+ Property [ public $setting = NULL ]
+ Property [ public $connections = NULL ]
+ Property [ public $host = '' ]
+ Property [ public $port = 0 ]
+ Property [ public $type = 0 ]
+ Property [ public $ssl = false ]
+ Property [ public $mode = 0 ]
+ Property [ public $ports = NULL ]
+ Property [ public $master_pid = 0 ]
+ Property [ public $manager_pid = 0 ]
+ Property [ public $worker_id = -1 ]
+ Property [ public $taskworker = false ]
+ Property [ public $worker_pid = 0 ]
+ Property [ public $stats_timer = NULL ]
+ Property [ public $admin_server = NULL ]
+ }
+
+ - Methods [45] {
+ Method [ <internal:swoole, inherits Swoole\Server, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <optional> string $host = '0.0.0.0' ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> int $mode = SWOOLE_BASE ]
+ Parameter #3 [ <optional> int $sock_type = SWOOLE_SOCK_TCP ]
+ }
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method listen ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sock_type ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method addlistener ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sock_type ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method on ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $event_name ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $event_name ]
+ }
+ - Return [ Closure|array|string|null ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method start ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method send ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string|int $fd ]
+ Parameter #1 [ <required> string $send_data ]
+ Parameter #2 [ <optional> int $serverSocket = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendto ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $ip ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> string $send_data ]
+ Parameter #3 [ <optional> int $server_socket = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendwait ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $conn_fd ]
+ Parameter #1 [ <required> string $send_data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method exist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method protect ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $is_protected = true ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendfile ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> int $conn_fd ]
+ Parameter #1 [ <required> string $filename ]
+ Parameter #2 [ <optional> int $offset = 0 ]
+ Parameter #3 [ <optional> int $length = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method close ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $reset = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method confirm ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method pause ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method resume ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method task ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $data ]
+ Parameter #1 [ <optional> int $taskWorkerIndex = -1 ]
+ Parameter #2 [ <optional> ?callable $finishCallback = null ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method taskwait ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $data ]
+ Parameter #1 [ <optional> float $timeout = 0.5 ]
+ Parameter #2 [ <optional> int $taskWorkerIndex = -1 ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method taskWaitMulti ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $tasks ]
+ Parameter #1 [ <optional> float $timeout = 0.5 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method taskCo ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $tasks ]
+ Parameter #1 [ <optional> float $timeout = 0.5 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method finish ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method reload ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $only_reload_taskworker = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method shutdown ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method stop ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $workerId = -1 ]
+ Parameter #1 [ <optional> bool $waitEvent = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getLastError ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method heartbeat ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $ifCloseConnection = true ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getClientInfo ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> int $reactor_id = -1 ]
+ Parameter #2 [ <optional> bool $ignoreError = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getClientList ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $start_fd = 0 ]
+ Parameter #1 [ <optional> int $find_count = 10 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerId ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerPid ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $worker_id = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerStatus ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $worker_id = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getManagerPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getMasterPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> int $reactor_id = -1 ]
+ Parameter #2 [ <optional> bool $ignoreError = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method connection_list ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $start_fd = 0 ]
+ Parameter #1 [ <optional> int $find_count = 10 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $message ]
+ Parameter #1 [ <required> int $dst_worker_id ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method command ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <required> int $process_id ]
+ Parameter #2 [ <required> int $process_type ]
+ Parameter #3 [ <required> mixed $data ]
+ Parameter #4 [ <optional> bool $json_decode = true ]
+ }
+ - Return [ array|string|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method addCommand ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <required> int $accepted_process_types ]
+ Parameter #2 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method addProcess ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> Swoole\Process $process ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method stats ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getSocket ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $port = 0 ]
+ }
+ - Return [ Socket|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method bind ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <required> int $uid ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> final class Swoole\Coroutine\Http\Server ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [7] {
+ Property [ public $fd = -1 ]
+ Property [ public $host = NULL ]
+ Property [ public $port = -1 ]
+ Property [ public $ssl = false ]
+ Property [ public $settings = NULL ]
+ Property [ public $errCode = 0 ]
+ Property [ public $errMsg = '' ]
+ }
+
+ - Methods [6] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> bool $ssl = false ]
+ Parameter #3 [ <optional> bool $reuse_port = false ]
+ }
+ }
+
+ Method [ <internal:swoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method handle ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $pattern ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> private method onAccept ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> Swoole\Coroutine\Socket $conn ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:swoole> public method start ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method shutdown ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\WebSocket\Server extends Swoole\Http\Server ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [2] {
+ Method [ <internal:swoole> static public method pack ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> Swoole\WebSocket\Frame|string $data ]
+ Parameter #1 [ <optional> int $opcode = WEBSOCKET_OPCODE_TEXT ]
+ Parameter #2 [ <optional> int $flags = SWOOLE_WEBSOCKET_FLAG_FIN ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:swoole> static public method unpack ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Return [ Swoole\WebSocket\Frame ]
+ }
+ }
+
+ - Properties [15] {
+ Property [ public $setting = NULL ]
+ Property [ public $connections = NULL ]
+ Property [ public $host = '' ]
+ Property [ public $port = 0 ]
+ Property [ public $type = 0 ]
+ Property [ public $ssl = false ]
+ Property [ public $mode = 0 ]
+ Property [ public $ports = NULL ]
+ Property [ public $master_pid = 0 ]
+ Property [ public $manager_pid = 0 ]
+ Property [ public $worker_id = -1 ]
+ Property [ public $taskworker = false ]
+ Property [ public $worker_pid = 0 ]
+ Property [ public $stats_timer = NULL ]
+ Property [ public $admin_server = NULL ]
+ }
+
+ - Methods [48] {
+ Method [ <internal:swoole> public method push ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <required> Swoole\WebSocket\Frame|string $data ]
+ Parameter #2 [ <optional> int $opcode = WEBSOCKET_OPCODE_TEXT ]
+ Parameter #3 [ <optional> int $flags = SWOOLE_WEBSOCKET_FLAG_FIN ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method disconnect ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> int $code = SWOOLE_WEBSOCKET_CLOSE_NORMAL ]
+ Parameter #2 [ <optional> string $reason = "" ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method isEstablished ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <optional> string $host = '0.0.0.0' ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> int $mode = SWOOLE_BASE ]
+ Parameter #3 [ <optional> int $sock_type = SWOOLE_SOCK_TCP ]
+ }
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method listen ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sock_type ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method addlistener ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sock_type ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method on ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $event_name ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $event_name ]
+ }
+ - Return [ Closure|array|string|null ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method start ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method send ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string|int $fd ]
+ Parameter #1 [ <required> string $send_data ]
+ Parameter #2 [ <optional> int $serverSocket = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendto ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $ip ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> string $send_data ]
+ Parameter #3 [ <optional> int $server_socket = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendwait ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $conn_fd ]
+ Parameter #1 [ <required> string $send_data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method exist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method protect ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $is_protected = true ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendfile ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> int $conn_fd ]
+ Parameter #1 [ <required> string $filename ]
+ Parameter #2 [ <optional> int $offset = 0 ]
+ Parameter #3 [ <optional> int $length = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method close ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $reset = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method confirm ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method pause ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method resume ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method task ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $data ]
+ Parameter #1 [ <optional> int $taskWorkerIndex = -1 ]
+ Parameter #2 [ <optional> ?callable $finishCallback = null ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method taskwait ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $data ]
+ Parameter #1 [ <optional> float $timeout = 0.5 ]
+ Parameter #2 [ <optional> int $taskWorkerIndex = -1 ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method taskWaitMulti ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $tasks ]
+ Parameter #1 [ <optional> float $timeout = 0.5 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method taskCo ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $tasks ]
+ Parameter #1 [ <optional> float $timeout = 0.5 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method finish ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method reload ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $only_reload_taskworker = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method shutdown ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method stop ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $workerId = -1 ]
+ Parameter #1 [ <optional> bool $waitEvent = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getLastError ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method heartbeat ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $ifCloseConnection = true ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getClientInfo ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> int $reactor_id = -1 ]
+ Parameter #2 [ <optional> bool $ignoreError = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getClientList ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $start_fd = 0 ]
+ Parameter #1 [ <optional> int $find_count = 10 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerId ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerPid ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $worker_id = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerStatus ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $worker_id = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getManagerPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getMasterPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> int $reactor_id = -1 ]
+ Parameter #2 [ <optional> bool $ignoreError = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method connection_list ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $start_fd = 0 ]
+ Parameter #1 [ <optional> int $find_count = 10 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $message ]
+ Parameter #1 [ <required> int $dst_worker_id ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method command ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <required> int $process_id ]
+ Parameter #2 [ <required> int $process_type ]
+ Parameter #3 [ <required> mixed $data ]
+ Parameter #4 [ <optional> bool $json_decode = true ]
+ }
+ - Return [ array|string|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method addCommand ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <required> int $accepted_process_types ]
+ Parameter #2 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method addProcess ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> Swoole\Process $process ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method stats ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getSocket ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $port = 0 ]
+ }
+ - Return [ Socket|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method bind ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <required> int $uid ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\WebSocket\Frame implements Stringable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [2] {
+ Method [ <internal:swoole> static public method pack ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> Swoole\WebSocket\Frame|string $data ]
+ Parameter #1 [ <optional> int $opcode = WEBSOCKET_OPCODE_TEXT ]
+ Parameter #2 [ <optional> int $flags = SWOOLE_WEBSOCKET_FLAG_FIN ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:swoole> static public method unpack ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Return [ Swoole\WebSocket\Frame ]
+ }
+ }
+
+ - Properties [5] {
+ Property [ public $fd = 0 ]
+ Property [ public $data = '' ]
+ Property [ public $opcode = 1 ]
+ Property [ public $flags = 1 ]
+ Property [ public $finish = NULL ]
+ }
+
+ - Methods [1] {
+ Method [ <internal:swoole, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\WebSocket\CloseFrame extends Swoole\WebSocket\Frame implements Stringable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [2] {
+ Method [ <internal:swoole, inherits Swoole\WebSocket\Frame> static public method pack ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> Swoole\WebSocket\Frame|string $data ]
+ Parameter #1 [ <optional> int $opcode = WEBSOCKET_OPCODE_TEXT ]
+ Parameter #2 [ <optional> int $flags = SWOOLE_WEBSOCKET_FLAG_FIN ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\WebSocket\Frame> static public method unpack ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Return [ Swoole\WebSocket\Frame ]
+ }
+ }
+
+ - Properties [7] {
+ Property [ public $fd = 0 ]
+ Property [ public $data = '' ]
+ Property [ public $flags = 1 ]
+ Property [ public $finish = NULL ]
+ Property [ public $opcode = 8 ]
+ Property [ public $code = 1000 ]
+ Property [ public $reason = '' ]
+ }
+
+ - Methods [1] {
+ Method [ <internal:swoole, inherits Swoole\WebSocket\Frame, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Redis\Server extends Swoole\Server ] {
+
+ - Constants [7] {
+ Constant [ public int NIL ] { 1 }
+ Constant [ public int ERROR ] { 0 }
+ Constant [ public int STATUS ] { 2 }
+ Constant [ public int INT ] { 3 }
+ Constant [ public int STRING ] { 4 }
+ Constant [ public int SET ] { 5 }
+ Constant [ public int MAP ] { 6 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [1] {
+ Method [ <internal:swoole> static public method format ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $type ]
+ Parameter #1 [ <optional> mixed $value = null ]
+ }
+ - Return [ string|false ]
+ }
+ }
+
+ - Properties [15] {
+ Property [ public $setting = NULL ]
+ Property [ public $connections = NULL ]
+ Property [ public $host = '' ]
+ Property [ public $port = 0 ]
+ Property [ public $type = 0 ]
+ Property [ public $ssl = false ]
+ Property [ public $mode = 0 ]
+ Property [ public $ports = NULL ]
+ Property [ public $master_pid = 0 ]
+ Property [ public $manager_pid = 0 ]
+ Property [ public $worker_id = -1 ]
+ Property [ public $taskworker = false ]
+ Property [ public $worker_pid = 0 ]
+ Property [ public $stats_timer = NULL ]
+ Property [ public $admin_server = NULL ]
+ }
+
+ - Methods [47] {
+ Method [ <internal:swoole> public method setHandler ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $command ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method getHandler ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $command ]
+ }
+ - Return [ Closure ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <optional> string $host = '0.0.0.0' ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> int $mode = SWOOLE_BASE ]
+ Parameter #3 [ <optional> int $sock_type = SWOOLE_SOCK_TCP ]
+ }
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method listen ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sock_type ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method addlistener ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sock_type ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method on ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $event_name ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $event_name ]
+ }
+ - Return [ Closure|array|string|null ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method start ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method send ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string|int $fd ]
+ Parameter #1 [ <required> string $send_data ]
+ Parameter #2 [ <optional> int $serverSocket = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendto ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $ip ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> string $send_data ]
+ Parameter #3 [ <optional> int $server_socket = -1 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendwait ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $conn_fd ]
+ Parameter #1 [ <required> string $send_data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method exist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method protect ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $is_protected = true ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendfile ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> int $conn_fd ]
+ Parameter #1 [ <required> string $filename ]
+ Parameter #2 [ <optional> int $offset = 0 ]
+ Parameter #3 [ <optional> int $length = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method close ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $reset = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method confirm ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method pause ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method resume ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method task ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $data ]
+ Parameter #1 [ <optional> int $taskWorkerIndex = -1 ]
+ Parameter #2 [ <optional> ?callable $finishCallback = null ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method taskwait ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $data ]
+ Parameter #1 [ <optional> float $timeout = 0.5 ]
+ Parameter #2 [ <optional> int $taskWorkerIndex = -1 ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method taskWaitMulti ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $tasks ]
+ Parameter #1 [ <optional> float $timeout = 0.5 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method taskCo ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $tasks ]
+ Parameter #1 [ <optional> float $timeout = 0.5 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method finish ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method reload ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $only_reload_taskworker = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method shutdown ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method stop ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $workerId = -1 ]
+ Parameter #1 [ <optional> bool $waitEvent = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getLastError ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method heartbeat ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $ifCloseConnection = true ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getClientInfo ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> int $reactor_id = -1 ]
+ Parameter #2 [ <optional> bool $ignoreError = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getClientList ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $start_fd = 0 ]
+ Parameter #1 [ <optional> int $find_count = 10 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerId ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerPid ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $worker_id = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getWorkerStatus ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $worker_id = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getManagerPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getMasterPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> int $reactor_id = -1 ]
+ Parameter #2 [ <optional> bool $ignoreError = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method connection_list ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $start_fd = 0 ]
+ Parameter #1 [ <optional> int $find_count = 10 ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $message ]
+ Parameter #1 [ <required> int $dst_worker_id ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method command ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <required> int $process_id ]
+ Parameter #2 [ <required> int $process_type ]
+ Parameter #3 [ <required> mixed $data ]
+ Parameter #4 [ <optional> bool $json_decode = true ]
+ }
+ - Return [ array|string|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method addCommand ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $name ]
+ Parameter #1 [ <required> int $accepted_process_types ]
+ Parameter #2 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method addProcess ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> Swoole\Process $process ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method stats ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getSocket ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $port = 0 ]
+ }
+ - Return [ Socket|false ]
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method bind ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <required> int $uid ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\NameResolver\Context ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [1] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $family = AF_INET ]
+ Parameter #1 [ <optional> bool $withPort = false ]
+ }
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\PostgreSQL ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [5] {
+ Property [ public $error = NULL ]
+ Property [ public $errCode = 0 ]
+ Property [ public $resultStatus = 0 ]
+ Property [ public $resultDiag = NULL ]
+ Property [ public $notices = NULL ]
+ }
+
+ - Methods [12] {
+ Method [ <internal:swoole, ctor> public method __construct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method connect ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $conninfo ]
+ Parameter #1 [ <optional> float $timeout = 2 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method query ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $query ]
+ }
+ - Return [ Swoole\Coroutine\PostgreSQLStatement|false ]
+ }
+
+ Method [ <internal:swoole> public method prepare ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $query ]
+ }
+ - Return [ Swoole\Coroutine\PostgreSQLStatement|false ]
+ }
+
+ Method [ <internal:swoole> public method metaData ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $table_name ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method escape ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $string ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method escapeLiteral ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $string ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method escapeIdentifier ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $string ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal:swoole> public method createLOB ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method openLOB ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $oid ]
+ Parameter #1 [ <optional> string $mode = "rb" ]
+ }
+ }
+
+ Method [ <internal:swoole> public method unlinkLOB ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $oid ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\Coroutine\PostgreSQLStatement ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [5] {
+ Property [ public $error = NULL ]
+ Property [ public $errCode = 0 ]
+ Property [ public $resultStatus = 0 ]
+ Property [ public $resultDiag = NULL ]
+ Property [ public $notices = NULL ]
+ }
+
+ - Methods [9] {
+ Method [ <internal:swoole> public method execute ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> array $params = [] ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:swoole> public method fetchAll ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $result_type = SW_PGSQL_ASSOC ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method affectedRows ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method numRows ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method fieldCount ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:swoole> public method fetchObject ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> ?int $row = 0 ]
+ Parameter #1 [ <optional> ?string $class_name = null ]
+ Parameter #2 [ <optional> array $ctor_params = [] ]
+ }
+ - Return [ object|false ]
+ }
+
+ Method [ <internal:swoole> public method fetchAssoc ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> ?int $row = 0 ]
+ Parameter #1 [ <optional> int $result_type = SW_PGSQL_ASSOC ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method fetchArray ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> ?int $row = 0 ]
+ Parameter #1 [ <optional> int $result_type = SW_PGSQL_BOTH ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:swoole> public method fetchRow ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> ?int $row = 0 ]
+ Parameter #1 [ <optional> int $result_type = SW_PGSQL_NUM ]
+ }
+ - Return [ array|false ]
+ }
+ }
+ }
+ }
+}
+