diff options
author | Remi Collet <remi@remirepo.net> | 2025-02-03 06:49:27 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-02-03 06:49:27 +0100 |
commit | 8b0f5993eeb5b89003d16596ef59013297966191 (patch) | |
tree | c10d1469e0d07a02861a15556ca1952758c75454 /REFLECTION |
duplicate v22
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 7786 |
1 files changed, 7786 insertions, 0 deletions
diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..a6806a0 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,7786 @@ +Extension [ <persistent> extension #67 openswoole version 22.1.2 ] { + + - Dependencies { + Dependency [ swoole (Conflicts) ] + Dependency [ mysqlnd (Required) ] + Dependency [ sockets (Required) ] + Dependency [ curl (Required) ] + } + + - INI { + Entry [ openswoole.enable_coroutine <ALL> ] + Current = 'On' + } + Entry [ openswoole.enable_preemptive_scheduler <ALL> ] + Current = 'Off' + } + Entry [ openswoole.display_errors <ALL> ] + Current = 'On' + } + Entry [ openswoole.unixsock_buffer_size <ALL> ] + Current = '8388608' + } + } + + - Constants [357] { + Constant [ string OPENSWOOLE_VERSION ] { 22.1.2 } + Constant [ int OPENSWOOLE_VERSION_ID ] { 220102 } + Constant [ int OPENSWOOLE_MAJOR_VERSION ] { 22 } + Constant [ int OPENSWOOLE_MINOR_VERSION ] { 1 } + Constant [ int OPENSWOOLE_RELEASE_VERSION ] { 2 } + Constant [ string OPENSWOOLE_EXTRA_VERSION ] { } + 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_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_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_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_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_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_WORKER_EXIT_TIMEOUT ] { 9012 } + Constant [ int SWOOLE_ERROR_SERVER_WORKER_ABNORMAL_PIPE_DATA ] { 9013 } + Constant [ int SWOOLE_ERROR_SERVER_WORKER_UNPROCESSED_DATA ] { 9014 } + 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_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_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 OPENSWOOLE_STATS_DEFAULT ] { 0 } + Constant [ int OPENSWOOLE_STATS_JSON ] { 1 } + Constant [ int OPENSWOOLE_STATS_OPENMETRICS ] { 2 } + 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_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_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_ALL ] { 2147457023 } + 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_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_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_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_TLS ] { 1015 } + Constant [ int OPENSWOOLE_PGSQL_ASSOC ] { 1 } + Constant [ int OPENSWOOLE_PGSQL_NUM ] { 2 } + Constant [ int OPENSWOOLE_PGSQL_BOTH ] { 3 } + Constant [ int OPENSWOOLE_PGRES_EMPTY_QUERY ] { 0 } + Constant [ int OPENSWOOLE_PGRES_COMMAND_OK ] { 1 } + Constant [ int OPENSWOOLE_PGRES_TUPLES_OK ] { 2 } + Constant [ int OPENSWOOLE_PGRES_BAD_RESPONSE ] { 5 } + Constant [ int OPENSWOOLE_PGRES_NONFATAL_ERROR ] { 6 } + Constant [ int OPENSWOOLE_PGRES_FATAL_ERROR ] { 7 } + Constant [ int OPENSWOOLE_PG_CONNECTION_OK ] { 0 } + Constant [ int OPENSWOOLE_PG_CONNECTION_BAD ] { 1 } + Constant [ int OPENSWOOLE_PG_CONNECTION_STARTED ] { 2 } + Constant [ int OPENSWOOLE_PG_CONNECTION_AWAITING_RESPONSE ] { 4 } + Constant [ int OPENSWOOLE_PG_CONNECTION_AUTH_OK ] { 5 } + Constant [ int OPENSWOOLE_PG_CONNECTION_SETENV ] { 6 } + Constant [ int OPENSWOOLE_PG_CONNECTION_SSL_STARTUP ] { 7 } + Constant [ int OPENSWOOLE_PG_CONNECTION_NEEDED ] { 8 } + } + + - Functions { + Function [ <internal:openswoole> function swoole_coroutine_create ] { + + - Parameters [2] { + Parameter #0 [ <required> callable $func ] + Parameter #1 [ <optional> ...$params ] + } + } + Function [ <internal:openswoole> function swoole_coroutine_defer ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + } + Function [ <internal:openswoole> function swoole_coroutine_socketpair ] { + + - Parameters [3] { + Parameter #0 [ <required> $domain ] + Parameter #1 [ <required> $type ] + Parameter #2 [ <required> $protocol ] + } + } + Function [ <internal:openswoole> function swoole_test_kernel_coroutine ] { + + - Parameters [2] { + Parameter #0 [ <optional> $count = <default> ] + Parameter #1 [ <optional> $sleep_time = <default> ] + } + } + Function [ <internal:openswoole> function swoole_internal_call_user_shutdown_begin ] { + + - Parameters [0] { + } + } + Function [ <internal:openswoole> function go ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $func ] + } + } + Function [ <internal:openswoole> function defer ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + } + Method [ <internal:openswoole> public method swoole_event_add ] { + + - Parameters [4] { + Parameter #0 [ <required> mixed $sock ] + Parameter #1 [ <optional> ?callable $readCallback = null ] + Parameter #2 [ <optional> ?callable $writeCallback = null ] + Parameter #3 [ <optional> int $flags = OpenSwoole\Event::EVENT_READ ] + } + - Return [ int|bool ] + } + Method [ <internal:openswoole> public method swoole_event_del ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $sock ] + } + - Return [ bool ] + } + Method [ <internal:openswoole> public method swoole_event_set ] { + + - Parameters [4] { + Parameter #0 [ <required> mixed $sock ] + Parameter #1 [ <optional> ?callable $readCallback = null ] + Parameter #2 [ <optional> ?callable $writeCallback = null ] + Parameter #3 [ <optional> int $flags = OpenSwoole\Event::EVENT_READ ] + } + - Return [ bool ] + } + Method [ <internal:openswoole> public method swoole_event_isset ] { + + - Parameters [2] { + Parameter #0 [ <required> mixed $sock ] + Parameter #1 [ <optional> int $flags = OpenSwoole\Event::EVENT_READ | OpenSwoole\Event::EVENT_WRITE ] + } + - Return [ bool ] + } + Method [ <internal:openswoole> public method swoole_event_dispatch ] { + + - Parameters [0] { + } + - Return [ bool ] + } + Method [ <internal:openswoole> public method swoole_event_defer ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + - Return [ bool ] + } + Method [ <internal:openswoole> public method swoole_event_cycle ] { + + - Parameters [2] { + Parameter #0 [ <required> callable $callback ] + Parameter #1 [ <optional> bool $before = false ] + } + - Return [ bool ] + } + Method [ <internal:openswoole> public method swoole_event_write ] { + + - Parameters [2] { + Parameter #0 [ <required> mixed $sock ] + Parameter #1 [ <required> string $data ] + } + - Return [ bool ] + } + Method [ <internal:openswoole> public method swoole_event_wait ] { + + - Parameters [0] { + } + - Return [ void ] + } + Method [ <internal:openswoole> public method swoole_event_exit ] { + + - Parameters [0] { + } + - Return [ void ] + } + Method [ <internal:openswoole> public method swoole_timer_after ] { + + - Parameters [2] { + Parameter #0 [ <required> int $ms ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ int|bool ] + } + Method [ <internal:openswoole> public method swoole_timer_tick ] { + + - Parameters [2] { + Parameter #0 [ <required> int $ms ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ int|bool ] + } + Method [ <internal:openswoole> public method swoole_timer_exists ] { + + - Parameters [0] { + } + - Return [ bool ] + } + Method [ <internal:openswoole> public method swoole_timer_info ] { + + - Parameters [0] { + } + - Return [ array|bool ] + } + Method [ <internal:openswoole> public method swoole_timer_stats ] { + + - Parameters [0] { + } + - Return [ array ] + } + Method [ <internal:openswoole> public method swoole_timer_list ] { + + - Parameters [0] { + } + - Return [ ] + } + Method [ <internal:openswoole> public method swoole_timer_clear ] { + + - Parameters [0] { + } + - Return [ bool ] + } + Method [ <internal:openswoole> public method swoole_timer_clear_all ] { + + - Parameters [0] { + } + - Return [ bool ] + } + Function [ <internal:openswoole> function swoole_native_curl_close ] { + + - Parameters [1] { + Parameter #0 [ <required> CurlHandle $handle ] + } + - Return [ void ] + } + Function [ <internal:openswoole> function swoole_native_curl_copy_handle ] { + + - Parameters [1] { + Parameter #0 [ <required> CurlHandle $handle ] + } + - Return [ CurlHandle|false ] + } + Function [ <internal:openswoole> function swoole_native_curl_errno ] { + + - Parameters [1] { + Parameter #0 [ <required> CurlHandle $handle ] + } + - Return [ int ] + } + Function [ <internal:openswoole> function swoole_native_curl_error ] { + + - Parameters [1] { + Parameter #0 [ <required> CurlHandle $handle ] + } + - Return [ string ] + } + Function [ <internal:openswoole> function swoole_native_curl_exec ] { + + - Parameters [1] { + Parameter #0 [ <required> CurlHandle $handle ] + } + - Return [ string|bool ] + } + Function [ <internal:openswoole> function swoole_native_curl_getinfo ] { + + - Parameters [2] { + Parameter #0 [ <required> CurlHandle $handle ] + Parameter #1 [ <optional> ?int $option = null ] + } + - Return [ mixed ] + } + Function [ <internal:openswoole> function swoole_native_curl_init ] { + + - Parameters [1] { + Parameter #0 [ <optional> ?string $url = null ] + } + - Return [ CurlHandle|false ] + } + Function [ <internal:openswoole> 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:openswoole> function swoole_native_curl_setopt_array ] { + + - Parameters [2] { + Parameter #0 [ <required> CurlHandle $handle ] + Parameter #1 [ <required> array $options ] + } + - Return [ bool ] + } + Function [ <internal:openswoole> function swoole_native_curl_reset ] { + + - Parameters [1] { + Parameter #0 [ <required> CurlHandle $handle ] + } + - Return [ void ] + } + Function [ <internal:openswoole> function swoole_native_curl_escape ] { + + - Parameters [2] { + Parameter #0 [ <required> CurlHandle $handle ] + Parameter #1 [ <required> string $string ] + } + - Return [ string|false ] + } + Function [ <internal:openswoole> function swoole_native_curl_unescape ] { + + - Parameters [2] { + Parameter #0 [ <required> CurlHandle $handle ] + Parameter #1 [ <required> string $string ] + } + - Return [ string|false ] + } + Function [ <internal:openswoole> function swoole_native_curl_pause ] { + + - Parameters [2] { + Parameter #0 [ <required> CurlHandle $handle ] + Parameter #1 [ <required> int $flags ] + } + - Return [ int ] + } + Function [ <internal:openswoole> function swoole_native_curl_multi_add_handle ] { + + - Parameters [2] { + Parameter #0 [ <required> CurlMultiHandle $multi_handle ] + Parameter #1 [ <required> CurlHandle $handle ] + } + - Return [ int ] + } + Function [ <internal:openswoole> function swoole_native_curl_multi_close ] { + + - Parameters [1] { + Parameter #0 [ <required> CurlMultiHandle $multi_handle ] + } + - Return [ void ] + } + Function [ <internal:openswoole> function swoole_native_curl_multi_errno ] { + + - Parameters [1] { + Parameter #0 [ <required> CurlMultiHandle $multi_handle ] + } + - Return [ int ] + } + Function [ <internal:openswoole> function swoole_native_curl_multi_exec ] { + + - Parameters [2] { + Parameter #0 [ <required> CurlMultiHandle $multi_handle ] + Parameter #1 [ <required> &$still_running ] + } + - Return [ int ] + } + Function [ <internal:openswoole> 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:openswoole> 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:openswoole> function swoole_native_curl_multi_getcontent ] { + + - Parameters [1] { + Parameter #0 [ <required> CurlHandle $handle ] + } + - Return [ ?string ] + } + Function [ <internal:openswoole> 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:openswoole> function swoole_native_curl_multi_init ] { + + - Parameters [0] { + } + - Return [ CurlMultiHandle ] + } + Function [ <internal:openswoole> function swoole_native_curl_multi_remove_handle ] { + + - Parameters [2] { + Parameter #0 [ <required> CurlMultiHandle $multi_handle ] + Parameter #1 [ <required> CurlHandle $handle ] + } + - Return [ int ] + } + } + + - Classes [50] { + Class [ <internal:openswoole> final class OpenSwoole\Constant ] { + + - Constants [411] { + Constant [ public bool HAVE_DEBUG ] { } + Constant [ public bool HAVE_COMPRESSION ] { 1 } + Constant [ public bool HAVE_ZLIB ] { 1 } + Constant [ public bool HAVE_BROTLI ] { 1 } + Constant [ public bool USE_HTTP2 ] { 1 } + Constant [ public bool USE_POSTGRES ] { 1 } + Constant [ public int SOCK_TCP ] { 1 } + Constant [ public int SOCK_TCP6 ] { 3 } + Constant [ public int SOCK_UDP ] { 2 } + Constant [ public int SOCK_UDP6 ] { 4 } + Constant [ public int SOCK_UNIX_DGRAM ] { 6 } + Constant [ public int SOCK_UNIX_STREAM ] { 5 } + Constant [ public int TCP ] { 1 } + Constant [ public int TCP6 ] { 3 } + Constant [ public int UDP ] { 2 } + Constant [ public int UDP6 ] { 4 } + Constant [ public int UNIX_DGRAM ] { 6 } + Constant [ public int UNIX_STREAM ] { 5 } + Constant [ public bool SOCK_SYNC ] { } + Constant [ public bool SOCK_ASYNC ] { 1 } + Constant [ public int SYNC ] { 2048 } + Constant [ public int ASYNC ] { 1024 } + Constant [ public int KEEP ] { 4096 } + Constant [ public int SSL ] { 512 } + Constant [ public int SSLv3_METHOD ] { 1 } + Constant [ public int SSLv3_SERVER_METHOD ] { 2 } + Constant [ public int SSLv3_CLIENT_METHOD ] { 3 } + Constant [ public int TLSv1_METHOD ] { 6 } + Constant [ public int TLSv1_SERVER_METHOD ] { 7 } + Constant [ public int TLSv1_CLIENT_METHOD ] { 8 } + Constant [ public int TLSv1_1_METHOD ] { 9 } + Constant [ public int TLSv1_1_SERVER_METHOD ] { 10 } + Constant [ public int TLSv1_1_CLIENT_METHOD ] { 11 } + Constant [ public int TLSv1_2_METHOD ] { 12 } + Constant [ public int TLSv1_2_SERVER_METHOD ] { 13 } + Constant [ public int TLSv1_2_CLIENT_METHOD ] { 14 } + Constant [ public int DTLS_SERVER_METHOD ] { 16 } + Constant [ public int DTLS_CLIENT_METHOD ] { 15 } + Constant [ public int SSLv23_METHOD ] { 0 } + Constant [ public int SSLv23_SERVER_METHOD ] { 4 } + Constant [ public int SSLv23_CLIENT_METHOD ] { 5 } + Constant [ public int TLS_METHOD ] { 0 } + Constant [ public int TLS_SERVER_METHOD ] { 4 } + Constant [ public int TLS_CLIENT_METHOD ] { 5 } + Constant [ public int SSL_TLSv1 ] { 8 } + Constant [ public int SSL_TLSv1_1 ] { 16 } + Constant [ public int SSL_TLSv1_2 ] { 32 } + Constant [ public int SSL_TLSv1_3 ] { 64 } + Constant [ public int SSL_DTLS ] { 128 } + Constant [ public int SSL_SSLv2 ] { 2 } + Constant [ public int STRERROR_SYSTEM ] { 0 } + Constant [ public int STRERROR_GAI ] { 1 } + Constant [ public int STRERROR_DNS ] { 2 } + Constant [ public int STRERROR_SWOOLE ] { 9 } + Constant [ public int ERROR_MALLOC_FAIL ] { 501 } + Constant [ public int ERROR_SYSTEM_CALL_FAIL ] { 502 } + Constant [ public int ERROR_PHP_FATAL_ERROR ] { 503 } + Constant [ public int ERROR_NAME_TOO_LONG ] { 504 } + Constant [ public int ERROR_INVALID_PARAMS ] { 505 } + Constant [ public int ERROR_QUEUE_FULL ] { 506 } + Constant [ public int ERROR_OPERATION_NOT_SUPPORT ] { 507 } + Constant [ public int ERROR_PROTOCOL_ERROR ] { 508 } + Constant [ public int ERROR_WRONG_OPERATION ] { 509 } + Constant [ public int ERROR_FILE_NOT_EXIST ] { 700 } + Constant [ public int ERROR_FILE_TOO_LARGE ] { 701 } + Constant [ public int ERROR_FILE_EMPTY ] { 702 } + Constant [ public int ERROR_DNSLOOKUP_DUPLICATE_REQUEST ] { 710 } + Constant [ public int ERROR_DNSLOOKUP_RESOLVE_FAILED ] { 711 } + Constant [ public int ERROR_DNSLOOKUP_RESOLVE_TIMEOUT ] { 712 } + Constant [ public int ERROR_DNSLOOKUP_UNSUPPORTED ] { 713 } + Constant [ public int ERROR_DNSLOOKUP_NO_SERVER ] { 714 } + Constant [ public int ERROR_BAD_IPV6_ADDRESS ] { 720 } + Constant [ public int ERROR_UNREGISTERED_SIGNAL ] { 721 } + Constant [ public int ERROR_EVENT_SOCKET_REMOVED ] { 800 } + Constant [ public int ERROR_SESSION_CLOSED_BY_SERVER ] { 1001 } + Constant [ public int ERROR_SESSION_CLOSED_BY_CLIENT ] { 1002 } + Constant [ public int ERROR_SESSION_CLOSING ] { 1003 } + Constant [ public int ERROR_SESSION_CLOSED ] { 1004 } + Constant [ public int ERROR_SESSION_NOT_EXIST ] { 1005 } + Constant [ public int ERROR_SESSION_INVALID_ID ] { 1006 } + Constant [ public int ERROR_SESSION_DISCARD_TIMEOUT_DATA ] { 1007 } + Constant [ public int ERROR_SESSION_DISCARD_DATA ] { 1008 } + Constant [ public int ERROR_OUTPUT_BUFFER_OVERFLOW ] { 1009 } + Constant [ public int ERROR_OUTPUT_SEND_YIELD ] { 1010 } + Constant [ public int ERROR_SSL_NOT_READY ] { 1011 } + Constant [ public int ERROR_SSL_CANNOT_USE_SENFILE ] { 1012 } + Constant [ public int ERROR_SSL_EMPTY_PEER_CERTIFICATE ] { 1013 } + Constant [ public int ERROR_SSL_VERIFY_FAILED ] { 1014 } + Constant [ public int ERROR_SSL_BAD_CLIENT ] { 1015 } + Constant [ public int ERROR_SSL_BAD_PROTOCOL ] { 1016 } + Constant [ public int ERROR_SSL_RESET ] { 1017 } + Constant [ public int ERROR_SSL_HANDSHAKE_FAILED ] { 1018 } + Constant [ public int ERROR_PACKAGE_LENGTH_TOO_LARGE ] { 1201 } + Constant [ public int ERROR_PACKAGE_LENGTH_NOT_FOUND ] { 1202 } + Constant [ public int ERROR_DATA_LENGTH_TOO_LARGE ] { 1203 } + Constant [ public int ERROR_TASK_PACKAGE_TOO_BIG ] { 2001 } + Constant [ public int ERROR_TASK_DISPATCH_FAIL ] { 2002 } + Constant [ public int ERROR_TASK_TIMEOUT ] { 2003 } + Constant [ public int ERROR_HTTP2_STREAM_ID_TOO_BIG ] { 3001 } + Constant [ public int ERROR_HTTP2_STREAM_NO_HEADER ] { 3002 } + Constant [ public int ERROR_HTTP2_STREAM_NOT_FOUND ] { 3003 } + Constant [ public int ERROR_HTTP2_STREAM_IGNORE ] { 3004 } + Constant [ public int ERROR_AIO_BAD_REQUEST ] { 4001 } + Constant [ public int ERROR_AIO_CANCELED ] { 4002 } + Constant [ public int ERROR_AIO_TIMEOUT ] { 4003 } + Constant [ public int ERROR_CLIENT_NO_CONNECTION ] { 5001 } + Constant [ public int ERROR_SOCKET_CLOSED ] { 6001 } + Constant [ public int ERROR_SOCKET_POLL_TIMEOUT ] { 6002 } + Constant [ public int ERROR_SOCKS5_UNSUPPORT_VERSION ] { 7001 } + Constant [ public int ERROR_SOCKS5_UNSUPPORT_METHOD ] { 7002 } + Constant [ public int ERROR_SOCKS5_AUTH_FAILED ] { 7003 } + Constant [ public int ERROR_SOCKS5_SERVER_ERROR ] { 7004 } + Constant [ public int ERROR_SOCKS5_HANDSHAKE_FAILED ] { 7005 } + Constant [ public int ERROR_HTTP_PROXY_HANDSHAKE_ERROR ] { 7101 } + Constant [ public int ERROR_HTTP_INVALID_PROTOCOL ] { 7102 } + Constant [ public int ERROR_HTTP_PROXY_HANDSHAKE_FAILED ] { 7103 } + Constant [ public int ERROR_HTTP_PROXY_BAD_RESPONSE ] { 7104 } + Constant [ public int ERROR_WEBSOCKET_BAD_CLIENT ] { 8501 } + Constant [ public int ERROR_WEBSOCKET_BAD_OPCODE ] { 8502 } + Constant [ public int ERROR_WEBSOCKET_UNCONNECTED ] { 8503 } + Constant [ public int ERROR_WEBSOCKET_HANDSHAKE_FAILED ] { 8504 } + Constant [ public int ERROR_WEBSOCKET_PACK_FAILED ] { 8505 } + Constant [ public int ERROR_SERVER_MUST_CREATED_BEFORE_CLIENT ] { 9001 } + Constant [ public int ERROR_SERVER_TOO_MANY_SOCKET ] { 9002 } + Constant [ public int ERROR_SERVER_WORKER_TERMINATED ] { 9003 } + Constant [ public int ERROR_SERVER_INVALID_LISTEN_PORT ] { 9004 } + Constant [ public int ERROR_SERVER_TOO_MANY_LISTEN_PORT ] { 9005 } + Constant [ public int ERROR_SERVER_PIPE_BUFFER_FULL ] { 9006 } + Constant [ public int ERROR_SERVER_NO_IDLE_WORKER ] { 9007 } + Constant [ public int ERROR_SERVER_ONLY_START_ONE ] { 9008 } + Constant [ public int ERROR_SERVER_SEND_IN_MASTER ] { 9009 } + Constant [ public int ERROR_SERVER_INVALID_REQUEST ] { 9010 } + Constant [ public int ERROR_SERVER_CONNECT_FAIL ] { 9011 } + Constant [ public int ERROR_SERVER_WORKER_EXIT_TIMEOUT ] { 9012 } + Constant [ public int ERROR_SERVER_WORKER_ABNORMAL_PIPE_DATA ] { 9013 } + Constant [ public int ERROR_SERVER_WORKER_UNPROCESSED_DATA ] { 9014 } + Constant [ public int ERROR_CO_OUT_OF_COROUTINE ] { 10001 } + Constant [ public int ERROR_CO_HAS_BEEN_BOUND ] { 10002 } + Constant [ public int ERROR_CO_HAS_BEEN_DISCARDED ] { 10003 } + Constant [ public int ERROR_CO_MUTEX_DOUBLE_UNLOCK ] { 10004 } + Constant [ public int ERROR_CO_BLOCK_OBJECT_LOCKED ] { 10005 } + Constant [ public int ERROR_CO_BLOCK_OBJECT_WAITING ] { 10006 } + Constant [ public int ERROR_CO_YIELD_FAILED ] { 10007 } + Constant [ public int ERROR_CO_GETCONTEXT_FAILED ] { 10008 } + Constant [ public int ERROR_CO_SWAPCONTEXT_FAILED ] { 10009 } + Constant [ public int ERROR_CO_MAKECONTEXT_FAILED ] { 10010 } + Constant [ public int ERROR_CO_IOCPINIT_FAILED ] { 10011 } + Constant [ public int ERROR_CO_PROTECT_STACK_FAILED ] { 10012 } + Constant [ public int ERROR_CO_STD_THREAD_LINK_ERROR ] { 10013 } + Constant [ public int ERROR_CO_DISABLED_MULTI_THREAD ] { 10014 } + Constant [ public int ERROR_CO_CANNOT_CANCEL ] { 10015 } + Constant [ public int ERROR_CO_NOT_EXISTS ] { 10016 } + Constant [ public int ERROR_CO_CANCELED ] { 10017 } + Constant [ public int ERROR_CO_TIMEDOUT ] { 10018 } + Constant [ public int TRACE_SERVER ] { 2 } + Constant [ public int TRACE_CLIENT ] { 4 } + Constant [ public int TRACE_BUFFER ] { 8 } + Constant [ public int TRACE_CONN ] { 16 } + Constant [ public int TRACE_EVENT ] { 32 } + Constant [ public int TRACE_WORKER ] { 64 } + Constant [ public int TRACE_MEMORY ] { 128 } + Constant [ public int TRACE_REACTOR ] { 256 } + Constant [ public int TRACE_PHP ] { 512 } + Constant [ public int TRACE_HTTP ] { 1024 } + Constant [ public int TRACE_HTTP2 ] { 2048 } + Constant [ public int TRACE_EOF_PROTOCOL ] { 4096 } + Constant [ public int TRACE_LENGTH_PROTOCOL ] { 8192 } + Constant [ public int TRACE_CLOSE ] { 16384 } + Constant [ public int TRACE_WEBSOCKET ] { 32768 } + Constant [ public int TRACE_REDIS_CLIENT ] { 65536 } + Constant [ public int TRACE_MYSQL_CLIENT ] { 131072 } + Constant [ public int TRACE_HTTP_CLIENT ] { 262144 } + Constant [ public int TRACE_AIO ] { 524288 } + Constant [ public int TRACE_SSL ] { 1048576 } + Constant [ public int TRACE_NORMAL ] { 2097152 } + Constant [ public int TRACE_CHANNEL ] { 4194304 } + Constant [ public int TRACE_TIMER ] { 8388608 } + Constant [ public int TRACE_SOCKET ] { 16777216 } + Constant [ public int TRACE_COROUTINE ] { 33554432 } + Constant [ public int TRACE_CONTEXT ] { 67108864 } + Constant [ public int TRACE_CO_HTTP_SERVER ] { 134217728 } + Constant [ public int TRACE_TABLE ] { 268435456 } + Constant [ public int TRACE_CO_CURL ] { 536870912 } + Constant [ public int TRACE_CARES ] { 1073741824 } + Constant [ public int TRACE_ALL ] { 9223372036854775807 } + Constant [ public int LOG_DEBUG ] { 0 } + Constant [ public int LOG_TRACE ] { 1 } + Constant [ public int LOG_INFO ] { 2 } + Constant [ public int LOG_NOTICE ] { 3 } + Constant [ public int LOG_WARNING ] { 4 } + Constant [ public int LOG_ERROR ] { 5 } + Constant [ public int LOG_NONE ] { 6 } + Constant [ public int LOG_ROTATION_SINGLE ] { 0 } + Constant [ public int LOG_ROTATION_MONTHLY ] { 1 } + Constant [ public int LOG_ROTATION_DAILY ] { 2 } + Constant [ public int LOG_ROTATION_HOURLY ] { 3 } + Constant [ public int LOG_ROTATION_EVERY_MINUTE ] { 4 } + Constant [ public int IOV_MAX ] { 1024 } + Constant [ public string EVENT_START ] { start } + Constant [ public string EVENT_SHUTDOWN ] { shutdown } + Constant [ public string EVENT_WORKER_START ] { workerStart } + Constant [ public string EVENT_WORKER_STOP ] { workerStop } + Constant [ public string EVENT_BEFORE_RELOAD ] { beforeReload } + Constant [ public string EVENT_AFTER_RELOAD ] { afterReload } + Constant [ public string EVENT_TASK ] { task } + Constant [ public string EVENT_FINISH ] { finish } + Constant [ public string EVENT_WORKER_EXIT ] { workerExit } + Constant [ public string EVENT_WORKER_ERROR ] { workerError } + Constant [ public string EVENT_MANAGER_START ] { managerStart } + Constant [ public string EVENT_MANAGER_STOP ] { managerStop } + Constant [ public string EVENT_PIPE_MESSAGE ] { pipeMessage } + Constant [ public string EVENT_CONNECT ] { connect } + Constant [ public string EVENT_RECEIVE ] { receive } + Constant [ public string EVENT_CLOSE ] { close } + Constant [ public string EVENT_PACKET ] { packet } + Constant [ public string EVENT_BUFFER_FULL ] { bufferFull } + Constant [ public string EVENT_BUFFER_EMPTY ] { bufferEmpty } + Constant [ public string EVENT_REQUEST ] { request } + Constant [ public string EVENT_HANDSHAKE ] { handshake } + Constant [ public string EVENT_OPEN ] { open } + Constant [ public string EVENT_MESSAGE ] { message } + Constant [ public string EVENT_DISCONNECT ] { disconnect } + Constant [ public string EVENT_ERROR ] { error } + Constant [ public string OPTION_DEBUG_MODE ] { debug_mode } + Constant [ public string OPTION_TRACE_FLAGS ] { trace_flags } + Constant [ public string OPTION_LOG_FILE ] { log_file } + Constant [ public string OPTION_LOG_LEVEL ] { log_level } + Constant [ public string OPTION_LOG_DATE_FORMAT ] { log_date_format } + Constant [ public string OPTION_LOG_DATE_WITH_MICROSECONDS ] { log_date_with_microseconds } + Constant [ public string OPTION_LOG_ROTATION ] { log_rotation } + Constant [ public string OPTION_DISPLAY_ERRORS ] { display_errors } + Constant [ public string OPTION_DNS_SERVER ] { dns_server } + Constant [ public string OPTION_SOCKET_DNS_TIMEOUT ] { socket_dns_timeout } + Constant [ public string OPTION_SOCKET_CONNECT_TIMEOUT ] { socket_connect_timeout } + Constant [ public string OPTION_SOCKET_WRITE_TIMEOUT ] { socket_write_timeout } + Constant [ public string OPTION_SOCKET_SEND_TIMEOUT ] { socket_send_timeout } + Constant [ public string OPTION_SOCKET_READ_TIMEOUT ] { socket_read_timeout } + Constant [ public string OPTION_SOCKET_RECV_TIMEOUT ] { socket_recv_timeout } + Constant [ public string OPTION_SOCKET_BUFFER_SIZE ] { socket_buffer_size } + Constant [ public string OPTION_SOCKET_TIMEOUT ] { socket_timeout } + Constant [ public string OPTION_MAX_CONCURRENCY ] { max_concurrency } + Constant [ public string OPTION_ENABLE_SERVER_TOKEN ] { enable_server_token } + Constant [ public string OPTION_AIO_CORE_WORKER_NUM ] { aio_core_worker_num } + Constant [ public string OPTION_AIO_WORKER_NUM ] { aio_worker_num } + Constant [ public string OPTION_AIO_MAX_WAIT_TIME ] { aio_max_wait_time } + Constant [ public string OPTION_AIO_MAX_IDLE_TIME ] { aio_max_idle_time } + Constant [ public string OPTION_ENABLE_SIGNALFD ] { enable_signalfd } + Constant [ public string OPTION_WAIT_SIGNAL ] { wait_signal } + Constant [ public string OPTION_DNS_CACHE_REFRESH_TIME ] { dns_cache_refresh_time } + Constant [ public string OPTION_THREAD_NUM ] { thread_num } + Constant [ public string OPTION_MIN_THREAD_NUM ] { min_thread_num } + Constant [ public string OPTION_MAX_THREAD_NUM ] { max_thread_num } + Constant [ public string OPTION_SOCKET_DONTWAIT ] { socket_dontwait } + Constant [ public string OPTION_DNS_LOOKUP_RANDOM ] { dns_lookup_random } + Constant [ public string OPTION_USE_ASYNC_RESOLVER ] { use_async_resolver } + Constant [ public string OPTION_ENABLE_COROUTINE ] { enable_coroutine } + Constant [ public string OPTION_SSL_PROTOCOLS ] { ssl_protocols } + Constant [ public string OPTION_SSL_COMPRESS ] { ssl_compress } + Constant [ public string OPTION_SSL_CERT_FILE ] { ssl_cert_file } + Constant [ public string OPTION_SSL_KEY_FILE ] { ssl_key_file } + Constant [ public string OPTION_SSL_PASSPHRASE ] { ssl_passphrase } + Constant [ public string OPTION_SSL_HOST_NAME ] { ssl_host_name } + Constant [ public string OPTION_SSL_VERIFY_PEER ] { ssl_verify_peer } + Constant [ public string OPTION_SSL_ALLOW_SELF_SIGNED ] { ssl_allow_self_signed } + Constant [ public string OPTION_SSL_CAFILE ] { ssl_cafile } + Constant [ public string OPTION_SSL_CAPATH ] { ssl_capath } + Constant [ public string OPTION_SSL_VERIFY_DEPTH ] { ssl_verify_depth } + Constant [ public string OPTION_SSL_CIPHERS ] { ssl_ciphers } + Constant [ public string OPTION_OPEN_EOF_CHECK ] { open_eof_check } + Constant [ public string OPTION_OPEN_EOF_SPLIT ] { open_eof_split } + Constant [ public string OPTION_PACKAGE_EOF ] { package_eof } + Constant [ public string OPTION_OPEN_MQTT_PROTOCOL ] { open_mqtt_protocol } + Constant [ public string OPTION_OPEN_LENGTH_CHECK ] { open_length_check } + Constant [ public string OPTION_PACKAGE_LENGTH_TYPE ] { package_length_type } + Constant [ public string OPTION_PACKAGE_LENGTH_OFFSET ] { package_length_offset } + Constant [ public string OPTION_PACKAGE_BODY_OFFSET ] { package_body_offset } + Constant [ public string OPTION_PACKAGE_LENGTH_FUNC ] { package_length_func } + Constant [ public string OPTION_PACKAGE_MAX_LENGTH ] { package_max_length } + Constant [ public string OPTION_BUFFER_HIGH_WATERMARK ] { buffer_high_watermark } + Constant [ public string OPTION_BUFFER_LOW_WATERMARK ] { buffer_low_watermark } + Constant [ public string OPTION_BIND_PORT ] { bind_port } + Constant [ public string OPTION_BIND_ADDRESS ] { bind_address } + Constant [ public string OPTION_OPEN_TCP_NODELAY ] { open_tcp_nodelay } + Constant [ public string OPTION_SOCKS5_HOST ] { socks5_host } + Constant [ public string OPTION_SOCKS5_PORT ] { socks5_port } + Constant [ public string OPTION_SOCKS5_USERNAME ] { socks5_username } + Constant [ public string OPTION_SOCKS5_PASSWORD ] { socks5_password } + Constant [ public string OPTION_HTTP_PROXY_HOST ] { http_proxy_host } + Constant [ public string OPTION_HTTP_PROXY_PORT ] { http_proxy_port } + Constant [ public string OPTION_HTTP_PROXY_USERNAME ] { http_proxy_username } + Constant [ public string OPTION_HTTP_PROXY_USER ] { http_proxy_user } + Constant [ public string OPTION_HTTP_PROXY_PASSWORD ] { http_proxy_password } + Constant [ public string OPTION_TIMEOUT ] { timeout } + Constant [ public string OPTION_CONNECT_TIMEOUT ] { connect_timeout } + Constant [ public string OPTION_READ_TIMEOUT ] { read_timeout } + Constant [ public string OPTION_WRITE_TIMEOUT ] { write_timeout } + Constant [ public string OPTION_SSL_DISABLE_COMPRESSION ] { ssl_disable_compression } + Constant [ public string OPTION_MAX_CORO_NUM ] { max_coro_num } + Constant [ public string OPTION_MAX_COROUTINE ] { max_coroutine } + Constant [ public string OPTION_ENABLE_DEADLOCK_CHECK ] { enable_deadlock_check } + Constant [ public string OPTION_HOOK_FLAGS ] { hook_flags } + Constant [ public string OPTION_ENABLE_PREEMPTIVE_SCHEDULER ] { enable_preemptive_scheduler } + Constant [ public string OPTION_C_STACK_SIZE ] { c_stack_size } + Constant [ public string OPTION_STACK_SIZE ] { stack_size } + Constant [ public string OPTION_DNS_CACHE_EXPIRE ] { dns_cache_expire } + Constant [ public string OPTION_DNS_CACHE_CAPACITY ] { dns_cache_capacity } + Constant [ public string OPTION_HTTP2_HEADER_TABLE_SIZE ] { http2_header_table_size } + Constant [ public string OPTION_HTTP2_INITIAL_WINDOW_SIZE ] { http2_initial_window_size } + Constant [ public string OPTION_HTTP2_MAX_CONCURRENT_STREAMS ] { http2_max_concurrent_streams } + Constant [ public string OPTION_HTTP2_MAX_FRAME_SIZE ] { http2_max_frame_size } + Constant [ public string OPTION_HTTP2_MAX_HEADER_LIST_SIZE ] { http2_max_header_list_size } + Constant [ public string OPTION_RECONNECT ] { reconnect } + Constant [ public string OPTION_DEFER ] { defer } + Constant [ public string OPTION_LOWERCASE_HEADER ] { lowercase_header } + Constant [ public string OPTION_KEEP_ALIVE ] { keep_alive } + Constant [ public string OPTION_WEBSOCKET_MASK ] { websocket_mask } + Constant [ public string OPTION_HTTP_COMPRESSION ] { http_compression } + Constant [ public string OPTION_BODY_DECOMPRESSION ] { body_decompression } + Constant [ public string OPTION_WEBSOCKET_COMPRESSION ] { websocket_compression } + Constant [ public string OPTION_HTTP_PARSE_COOKIE ] { http_parse_cookie } + Constant [ public string OPTION_HTTP_PARSE_POST ] { http_parse_post } + Constant [ public string OPTION_HTTP_PARSE_FILES ] { http_parse_files } + Constant [ public string OPTION_HTTP_COMPRESSION_LEVEL ] { http_compression_level } + Constant [ public string OPTION_HTTP_GZIP_LEVEL ] { http_gzip_level } + Constant [ public string OPTION_COMPRESSION_MIN_LENGTH ] { compression_min_length } + Constant [ public string OPTION_UPLOAD_TMP_DIR ] { upload_tmp_dir } + Constant [ public string OPTION_HOST ] { host } + Constant [ public string OPTION_PORT ] { port } + Constant [ public string OPTION_SSL ] { ssl } + Constant [ public string OPTION_USER ] { user } + Constant [ public string OPTION_PASSWORD ] { password } + Constant [ public string OPTION_DATABASE ] { database } + Constant [ public string OPTION_CHARSET ] { charset } + Constant [ public string OPTION_STRICT_TYPE ] { strict_type } + Constant [ public string OPTION_FETCH_MODE ] { fetch_mode } + Constant [ public string OPTION_SERIALIZE ] { serialize } + Constant [ public string OPTION_COMPATIBILITY_MODE ] { compatibility_mode } + Constant [ public string OPTION_CHROOT ] { chroot } + Constant [ public string OPTION_GROUP ] { group } + Constant [ public string OPTION_DAEMONIZE ] { daemonize } + Constant [ public string OPTION_PID_FILE ] { pid_file } + Constant [ public string OPTION_REACTOR_NUM ] { reactor_num } + Constant [ public string OPTION_SINGLE_THREAD ] { single_thread } + Constant [ public string OPTION_WORKER_NUM ] { worker_num } + Constant [ public string OPTION_MAX_WAIT_TIME ] { max_wait_time } + Constant [ public string OPTION_MAX_QUEUED_BYTES ] { max_queued_bytes } + Constant [ public string OPTION_SEND_TIMEOUT ] { send_timeout } + Constant [ public string OPTION_DISPATCH_MODE ] { dispatch_mode } + Constant [ public string OPTION_SEND_YIELD ] { send_yield } + Constant [ public string OPTION_DISPATCH_FUNC ] { dispatch_func } + Constant [ public string OPTION_DISCARD_TIMEOUT_REQUEST ] { discard_timeout_request } + Constant [ public string OPTION_ENABLE_UNSAFE_EVENT ] { enable_unsafe_event } + Constant [ public string OPTION_ENABLE_DELAY_RECEIVE ] { enable_delay_receive } + Constant [ public string OPTION_ENABLE_REUSE_PORT ] { enable_reuse_port } + Constant [ public string OPTION_TASK_USE_OBJECT ] { task_use_object } + Constant [ public string OPTION_TASK_OBJECT ] { task_object } + Constant [ public string OPTION_EVENT_OBJECT ] { event_object } + Constant [ public string OPTION_TASK_ENABLE_COROUTINE ] { task_enable_coroutine } + Constant [ public string OPTION_TASK_WORKER_NUM ] { task_worker_num } + Constant [ public string OPTION_TASK_IPC_MODE ] { task_ipc_mode } + Constant [ public string OPTION_TASK_TMPDIR ] { task_tmpdir } + Constant [ public string OPTION_TASK_MAX_REQUEST ] { task_max_request } + Constant [ public string OPTION_TASK_MAX_REQUEST_GRACE ] { task_max_request_grace } + Constant [ public string OPTION_MAX_CONNECTION ] { max_connection } + Constant [ public string OPTION_MAX_CONN ] { max_conn } + Constant [ public string OPTION_START_SESSION_ID ] { start_session_id } + Constant [ public string OPTION_HEARTBEAT_CHECK_INTERVAL ] { heartbeat_check_interval } + Constant [ public string OPTION_HEARTBEAT_IDLE_TIME ] { heartbeat_idle_time } + Constant [ public string OPTION_MAX_REQUEST ] { max_request } + Constant [ public string OPTION_MAX_REQUEST_GRACE ] { max_request_grace } + Constant [ public string OPTION_MAX_REQUEST_EXECUTION_TIME ] { max_request_execution_time } + Constant [ public string OPTION_RELOAD_ASYNC ] { reload_async } + Constant [ public string OPTION_OPEN_CPU_AFFINITY ] { open_cpu_affinity } + Constant [ public string OPTION_CPU_AFFINITY_IGNORE ] { cpu_affinity_ignore } + Constant [ public string OPTION_ENABLE_STATIC_HANDLER ] { enable_static_handler } + Constant [ public string OPTION_DOCUMENT_ROOT ] { document_root } + Constant [ public string OPTION_HTTP_AUTOINDEX ] { http_autoindex } + Constant [ public string OPTION_HTTP_INDEX_FILES ] { http_index_files } + Constant [ public string OPTION_STATIC_HANDLER_LOCATIONS ] { static_handler_locations } + Constant [ public string OPTION_INPUT_BUFFER_SIZE ] { input_buffer_size } + Constant [ public string OPTION_BUFFER_INPUT_SIZE ] { buffer_input_size } + Constant [ public string OPTION_OUTPUT_BUFFER_SIZE ] { output_buffer_size } + Constant [ public string OPTION_BUFFER_OUTPUT_SIZE ] { buffer_output_size } + Constant [ public string OPTION_MESSAGE_QUEUE_KEY ] { message_queue_key } + Constant [ public string OPTION_BACKLOG ] { backlog } + Constant [ public string OPTION_KERNEL_SOCKET_RECV_BUFFER_SIZE ] { kernel_socket_recv_buffer_size } + Constant [ public string OPTION_KERNEL_SOCKET_SEND_BUFFER_SIZE ] { kernel_socket_send_buffer_size } + Constant [ public string OPTION_TCP_DEFER_ACCEPT ] { tcp_defer_accept } + Constant [ public string OPTION_OPEN_TCP_KEEPALIVE ] { open_tcp_keepalive } + Constant [ public string OPTION_OPEN_HTTP_PROTOCOL ] { open_http_protocol } + Constant [ public string OPTION_OPEN_WEBSOCKET_PROTOCOL ] { open_websocket_protocol } + Constant [ public string OPTION_WEBSOCKET_SUBPROTOCOL ] { websocket_subprotocol } + Constant [ public string OPTION_OPEN_WEBSOCKET_CLOSE_FRAME ] { open_websocket_close_frame } + Constant [ public string OPTION_OPEN_WEBSOCKET_PING_FRAME ] { open_websocket_ping_frame } + Constant [ public string OPTION_OPEN_WEBSOCKET_PONG_FRAME ] { open_websocket_pong_frame } + Constant [ public string OPTION_OPEN_HTTP2_PROTOCOL ] { open_http2_protocol } + Constant [ public string OPTION_OPEN_REDIS_PROTOCOL ] { open_redis_protocol } + Constant [ public string OPTION_MAX_IDLE_TIME ] { max_idle_time } + Constant [ public string OPTION_TCP_KEEPIDLE ] { tcp_keepidle } + Constant [ public string OPTION_TCP_KEEPINTERVAL ] { tcp_keepinterval } + Constant [ public string OPTION_TCP_KEEPCOUNT ] { tcp_keepcount } + Constant [ public string OPTION_TCP_USER_TIMEOUT ] { tcp_user_timeout } + Constant [ public string OPTION_TCP_FASTOPEN ] { tcp_fastopen } + Constant [ public string OPTION_PACKAGE_BODY_START ] { package_body_start } + Constant [ public string OPTION_SSL_CLIENT_CERT_FILE ] { ssl_client_cert_file } + Constant [ public string OPTION_SSL_PREFER_SERVER_CIPHERS ] { ssl_prefer_server_ciphers } + Constant [ public string OPTION_SSL_ECDH_CURVE ] { ssl_ecdh_curve } + Constant [ public string OPTION_SSL_DHPARAM ] { ssl_dhparam } + Constant [ public string OPTION_SSL_SNI_CERTS ] { ssl_sni_certs } + Constant [ public string OPTION_OPEN_SSL ] { open_ssl } + Constant [ public string OPTION_OPEN_FASTCGI_PROTOCOL ] { open_fastcgi_protocol } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:openswoole> class OpenSwoole\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:openswoole> class OpenSwoole\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:openswoole> class OpenSwoole\Event ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [10] { + Method [ <internal:openswoole> static public method add ] { + + - Parameters [4] { + Parameter #0 [ <required> mixed $sock ] + Parameter #1 [ <optional> ?callable $readCallback = null ] + Parameter #2 [ <optional> ?callable $writeCallback = null ] + Parameter #3 [ <optional> int $flags = OpenSwoole\Event::EVENT_READ ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> static public method del ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $sock ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method set ] { + + - Parameters [4] { + Parameter #0 [ <required> mixed $sock ] + Parameter #1 [ <optional> ?callable $readCallback = null ] + Parameter #2 [ <optional> ?callable $writeCallback = null ] + Parameter #3 [ <optional> int $flags = OpenSwoole\Event::EVENT_READ ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method isset ] { + + - Parameters [2] { + Parameter #0 [ <required> mixed $sock ] + Parameter #1 [ <optional> int $flags = OpenSwoole\Event::EVENT_READ | OpenSwoole\Event::EVENT_WRITE ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method dispatch ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method defer ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method cycle ] { + + - Parameters [2] { + Parameter #0 [ <required> callable $callback ] + Parameter #1 [ <optional> bool $before = false ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method write ] { + + - Parameters [2] { + Parameter #0 [ <required> mixed $sock ] + Parameter #1 [ <required> string $data ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method wait ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ <internal:openswoole> static public method exit ] { + + - Parameters [0] { + } + - Return [ void ] + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:openswoole> class OpenSwoole\Util ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [18] { + Method [ <internal:openswoole> static public method getVersion ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ <internal:openswoole> static public method getCPUNum ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> static public method getLocalIp ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ <internal:openswoole> static public method getLocalMac ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ <internal:openswoole> static public method getLastErrorCode ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> static public method getErrorMessage ] { + + - Parameters [2] { + Parameter #0 [ <required> int $errorCode ] + Parameter #1 [ <required> ?int $errorType ] + } + - Return [ string ] + } + + Method [ <internal:openswoole> static public method errorCode ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> static public method clearError ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ <internal:openswoole> static public method log ] { + + - Parameters [2] { + Parameter #0 [ <required> int $level ] + Parameter #1 [ <required> string $message ] + } + - Return [ void ] + } + + Method [ <internal:openswoole> static public method hashcode ] { + + - Parameters [2] { + Parameter #0 [ <required> string $content ] + Parameter #1 [ <required> int $type ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> static public method mimeTypeAdd ] { + + - Parameters [2] { + Parameter #0 [ <required> string $suffix ] + Parameter #1 [ <required> string $mimeType ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method mimeTypeSet ] { + + - Parameters [2] { + Parameter #0 [ <required> string $suffix ] + Parameter #1 [ <required> string $mimeType ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method mimeTypeDel ] { + + - Parameters [1] { + Parameter #0 [ <required> string $suffix ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method mimeTypeGet ] { + + - Parameters [1] { + Parameter #0 [ <required> string $filename ] + } + - Return [ string ] + } + + Method [ <internal:openswoole> static public method mimeTypeList ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ <internal:openswoole> static public method mimeTypeExists ] { + + - Parameters [1] { + Parameter #0 [ <required> string $filename ] + } + - Return [ string ] + } + + Method [ <internal:openswoole> static public method setProcessName ] { + + - Parameters [1] { + Parameter #0 [ <required> string $name ] + } + - Return [ void ] + } + + Method [ <internal:openswoole> static public method setAio ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + - Return [ bool ] + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:openswoole> class OpenSwoole\Atomic ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [8] { + Method [ <internal:openswoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $value = 0 ] + } + } + + Method [ <internal:openswoole> public method add ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $value = 1 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method sub ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $value = 1 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method get ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> int $value ] + } + - Return [ ?bool ] + } + + Method [ <internal:openswoole> public method wait ] { + + - Parameters [1] { + Parameter #0 [ <optional> float $timeout = 1.0 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method wakeup ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $count = 1 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method cmpset ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $cmpVal = 0 ] + Parameter #1 [ <optional> int $newVal = 0 ] + } + - Return [ bool ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Atomic\Long ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ <internal:openswoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $value = 0 ] + } + } + + Method [ <internal:openswoole> public method add ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $value = 1 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method sub ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $value = 1 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method get ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> int $value ] + } + - Return [ ?bool ] + } + + Method [ <internal:openswoole> public method cmpset ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $cmpVal = 0 ] + Parameter #1 [ <optional> int $newVal = 0 ] + } + - Return [ bool ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\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:openswoole, ctor> public method __construct ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $type = OpenSwoole\Lock::MUTEX ] + Parameter #1 [ <optional> string $lockFile = "" ] + } + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method lock ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method lockwait ] { + + - Parameters [1] { + Parameter #0 [ <optional> float $timeout = 1.0 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method trylock ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method lock_read ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method trylock_read ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method unlock ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method destroy ] { + + - Parameters [0] { + } + - Return [ void ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\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:openswoole> static public method wait ] { + + - Parameters [1] { + Parameter #0 [ <optional> bool $blocking = true ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> static public method signal ] { + + - Parameters [2] { + Parameter #0 [ <required> int $sigNo ] + Parameter #1 [ <optional> ?callable $callback = null ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method alarm ] { + + - Parameters [2] { + Parameter #0 [ <required> int $intervalUsec ] + Parameter #1 [ <optional> int $type = ITIMER_REAL ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method kill ] { + + - Parameters [2] { + Parameter #0 [ <required> int $pid ] + Parameter #1 [ <optional> int $sigNo = SIGTERM ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method daemon ] { + + - Parameters [3] { + Parameter #0 [ <optional> bool $noChdir = true ] + Parameter #1 [ <optional> bool $noClose = true ] + Parameter #2 [ <optional> ?array $pipes = null ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method setAffinity ] { + + - Parameters [1] { + Parameter #0 [ <required> array $cpuSet ] + } + - 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 [19] { + Method [ <internal:openswoole, ctor> public method __construct ] { + + - Parameters [4] { + Parameter #0 [ <required> callable $callback ] + Parameter #1 [ <optional> bool $redirectStdIO = false ] + Parameter #2 [ <optional> int $pipeType = SOCK_DGRAM ] + Parameter #3 [ <optional> bool $enableCoroutine = false ] + } + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method setPriority ] { + + - Parameters [2] { + Parameter #0 [ <required> int $which ] + Parameter #1 [ <required> int $priority ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method getPriority ] { + + - Parameters [1] { + Parameter #0 [ <required> int $which ] + } + - Return [ int ] + } + + Method [ <internal:openswoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + - Return [ void ] + } + + Method [ <internal:openswoole> public method setTimeout ] { + + - Parameters [1] { + Parameter #0 [ <required> float $timeout ] + } + - Return [ void ] + } + + Method [ <internal:openswoole> public method setBlocking ] { + + - Parameters [1] { + Parameter #0 [ <required> bool $blocking ] + } + - Return [ void ] + } + + Method [ <internal:openswoole> 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:openswoole> public method statQueue ] { + + - Parameters [0] { + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> public method freeQueue ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method start ] { + + - Parameters [0] { + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method write ] { + + - Parameters [1] { + Parameter #0 [ <required> string $data ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method close ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $reason = 0 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method read ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $bufferSize = 8192 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method push ] { + + - Parameters [1] { + Parameter #0 [ <required> string $data ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method pop ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $maxSize = 8192 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method exit ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $status = 0 ] + } + - Return [ int ] + } + + Method [ <internal:openswoole> public method exec ] { + + - Parameters [2] { + Parameter #0 [ <required> string $execFile ] + Parameter #1 [ <required> array $args ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method exportSocket ] { + + - Parameters [0] { + } + - Return [ Swoole\Coroutine\Socket|false ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Process\Pool ] { + + - Constants [3] { + Constant [ public int IPC_NONE ] { 0 } + Constant [ public int IPC_UNIXSOCK ] { 1 } + Constant [ public int IPC_SOCKET ] { 3 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ public $master_pid = -1 ] + Property [ public $workers = NULL ] + } + + - Methods [11] { + Method [ <internal:openswoole, ctor> public method __construct ] { + + - Parameters [4] { + Parameter #0 [ <required> int $workerNum ] + Parameter #1 [ <optional> int $ipcType = OpenSwoole\Process\Pool::IPC_NONE ] + Parameter #2 [ <optional> int $msgqueue_key = 0 ] + Parameter #3 [ <optional> bool $enableCoroutine = false ] + } + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + - Return [ ?bool ] + } + + Method [ <internal:openswoole> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> string $event ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method getProcess ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $workerId = -1 ] + } + - Return [ OpenSwoole\Process|false ] + } + + Method [ <internal:openswoole> 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:openswoole> public method write ] { + + - Parameters [1] { + Parameter #0 [ <required> string $data ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method detach ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method start ] { + + - Parameters [0] { + } + - Return [ ?bool ] + } + + Method [ <internal:openswoole> public method stop ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ <internal:openswoole> public method shutdown ] { + + - Parameters [0] { + } + - Return [ bool ] + } + } + } + + Class [ <internal:openswoole> <iterateable> class OpenSwoole\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 [18] { + Method [ <internal:openswoole, ctor> public method __construct ] { + + - Parameters [2] { + Parameter #0 [ <required> int $size ] + Parameter #1 [ <optional> float $conflictProportion = 1.0 ] + } + } + + Method [ <internal:openswoole> 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:openswoole> public method create ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method destroy ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method set ] { + + - Parameters [2] { + Parameter #0 [ <required> string $key ] + Parameter #1 [ <required> array $value ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method get ] { + + - Parameters [2] { + Parameter #0 [ <required> string $key ] + Parameter #1 [ <optional> string $column = "" ] + } + - Return [ array|string|int|float|bool ] + } + + Method [ <internal:openswoole, prototype Countable> public method count ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> public method del ] { + + - Parameters [1] { + Parameter #0 [ <required> string $key ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method exists ] { + + - Parameters [1] { + Parameter #0 [ <required> string $key ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method incr ] { + + - Parameters [3] { + Parameter #0 [ <required> string $key ] + Parameter #1 [ <required> string $column ] + Parameter #2 [ <optional> int $incrBy = 1 ] + } + - Return [ int ] + } + + Method [ <internal:openswoole> public method decr ] { + + - Parameters [3] { + Parameter #0 [ <required> string $key ] + Parameter #1 [ <required> string $column ] + Parameter #2 [ <optional> int $decrBy = 1 ] + } + - Return [ int ] + } + + Method [ <internal:openswoole> public method getSize ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> public method getMemorySize ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole, prototype Iterator> public method rewind ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ <internal:openswoole, prototype Iterator> public method valid ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole, prototype Iterator> public method next ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ <internal:openswoole, prototype Iterator> public method current ] { + + - Parameters [0] { + } + - Return [ ?array ] + } + + Method [ <internal:openswoole, prototype Iterator> public method key ] { + + - Parameters [0] { + } + - Return [ ?string ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Timer ] { + + - Constants [4] { + Constant [ public int TIMER_MIN_MS ] { 1 } + Constant [ public float TIMER_MIN_SEC ] { 0.001 } + Constant [ public int TIMER_MAX_MS ] { 9223372036854775807 } + Constant [ public float TIMER_MAX_SEC ] { 9.2233720368548E+15 } + } + + - Static properties [0] { + } + + - Static methods [8] { + Method [ <internal:openswoole> static public method after ] { + + - Parameters [3] { + Parameter #0 [ <required> int $ms ] + Parameter #1 [ <required> callable $callback ] + Parameter #2 [ <optional> mixed ...$params ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> static public method tick ] { + + - Parameters [3] { + Parameter #0 [ <required> int $ms ] + Parameter #1 [ <required> callable $callback ] + Parameter #2 [ <optional> mixed ...$params ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> static public method exists ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method info ] { + + - Parameters [0] { + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> static public method stats ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ <internal:openswoole> static public method list ] { + + - Parameters [0] { + } + - Return [ Swoole\Timer\Iterator ] + } + + Method [ <internal:openswoole> static public method clear ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method clearAll ] { + + - Parameters [0] { + } + - Return [ bool ] + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:openswoole> <iterateable> class OpenSwoole\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:openswoole> class OpenSwoole\Coroutine ] { + + - Constants [8] { + Constant [ public int DEFAULT_MAX_CORO_NUM ] { 100000 } + Constant [ public int CORO_MAX_NUM_LIMIT ] { 9223372036854775807 } + Constant [ public int CORO_INIT ] { 0 } + Constant [ public int CORO_WAITING ] { 1 } + Constant [ public int CORO_RUNNING ] { 2 } + Constant [ public int CORO_END ] { 3 } + Constant [ public int EXIT_IN_COROUTINE ] { 2 } + Constant [ public int EXIT_IN_SERVER ] { 4 } + } + + - Static properties [0] { + } + + - Static methods [36] { + Method [ <internal:openswoole> static public method create ] { + + - Parameters [2] { + Parameter #0 [ <required> callable $callback ] + Parameter #1 [ <optional> mixed ...$params ] + } + - Return [ int|false ] + } + + Method [ <internal:openswoole> static public method defer ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + - Return [ void ] + } + + Method [ <internal:openswoole> static public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $options ] + } + - Return [ mixed ] + } + + Method [ <internal:openswoole> static public method getOptions ] { + + - Parameters [0] { + } + - Return [ ?array ] + } + + Method [ <internal:openswoole> static public method exists ] { + + - Parameters [1] { + Parameter #0 [ <required> int $cid ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method yield ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method cancel ] { + + - Parameters [1] { + Parameter #0 [ <required> int $cid ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method isCanceled ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method resume ] { + + - Parameters [1] { + Parameter #0 [ <required> int $cid ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method stats ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ <internal:openswoole> static public method getCid ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> static public method getPcid ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $cid = 0 ] + } + - Return [ int ] + } + + Method [ <internal:openswoole> static public method getContext ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $cid = 0 ] + } + - Return [ ?Swoole\Coroutine\Context ] + } + + Method [ <internal:openswoole> 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:openswoole> static public method printBackTrace ] { + + - Parameters [3] { + Parameter #0 [ <optional> int $cid = 0 ] + Parameter #1 [ <optional> int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT ] + Parameter #2 [ <optional> int $limit = 0 ] + } + - Return [ void ] + } + + Method [ <internal:openswoole> static public method getElapsed ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $cid = 0 ] + } + - Return [ int ] + } + + Method [ <internal:openswoole> static public method getStackUsage ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $cid = 0 ] + } + - Return [ int|false ] + } + + Method [ <internal:openswoole> static public method list ] { + + - Parameters [0] { + } + - Return [ Swoole\Coroutine\Iterator ] + } + + Method [ <internal:openswoole> static public method select ] { + + - Parameters [3] { + Parameter #0 [ <optional> array $read = [] ] + Parameter #1 [ <optional> array $write = [] ] + Parameter #2 [ <optional> float $timeout = -1 ] + } + - Return [ mixed ] + } + + Method [ <internal:openswoole> static public method enableScheduler ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method disableScheduler ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method run ] { + + - Parameters [2] { + Parameter #0 [ <required> callable $callback ] + Parameter #1 [ <optional> mixed ...$params ] + } + - Return [ ?bool ] + } + + Method [ <internal:openswoole> static public method gethostbyname ] { + + - Parameters [3] { + Parameter #0 [ <required> string $domain ] + Parameter #1 [ <optional> int $family = AF_INET ] + Parameter #2 [ <optional> float $timeout = -1 ] + } + - Return [ string|false ] + } + + Method [ <internal:openswoole> static public method exec ] { + + - Parameters [2] { + Parameter #0 [ <required> string $command ] + Parameter #1 [ <optional> bool $get_error_stream = false ] + } + - Return [ array|false ] + } + + Method [ <internal:openswoole> static public method sleep ] { + + - Parameters [1] { + Parameter #0 [ <required> int $seconds ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method usleep ] { + + - Parameters [1] { + Parameter #0 [ <required> int $microseconds ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> 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|false ] + } + + Method [ <internal:openswoole> static public method statvfs ] { + + - Parameters [1] { + Parameter #0 [ <required> string $path ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> static public method readFile ] { + + - Parameters [2] { + Parameter #0 [ <required> string $filename ] + Parameter #1 [ <optional> int $flags = 0 ] + } + - Return [ string|false ] + } + + Method [ <internal:openswoole> static public method writeFile ] { + + - Parameters [3] { + Parameter #0 [ <required> string $filename ] + Parameter #1 [ <required> string $data ] + Parameter #2 [ <optional> int $flags = 0 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> static public method wait ] { + + - Parameters [1] { + Parameter #0 [ <optional> float $timeout = -1 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> static public method waitPid ] { + + - Parameters [2] { + Parameter #0 [ <required> int $pid ] + Parameter #1 [ <optional> float $timeout = -1 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> static public method waitSignal ] { + + - Parameters [2] { + Parameter #0 [ <required> int $signalNum ] + Parameter #1 [ <optional> float $timeout = -1 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method waitEvent ] { + + - Parameters [3] { + Parameter #0 [ <required> mixed $fd ] + Parameter #1 [ <required> int $events ] + Parameter #2 [ <optional> float $timeout = -1 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> static public method dnsLookup ] { + + - Parameters [2] { + Parameter #0 [ <required> string $domain ] + Parameter #1 [ <optional> float $timeout = 5 ] + } + - Return [ string|false ] + } + + Method [ <internal:openswoole> static public method clearDNSCache ] { + + - Parameters [0] { + } + - Return [ void ] + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:openswoole> <iterateable> class OpenSwoole\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:openswoole> <iterateable> class OpenSwoole\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:openswoole> class OpenSwoole\ExitException extends OpenSwoole\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:openswoole> public method getFlags ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method getStatus ] { + + - Parameters [0] { + } + } + + 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:openswoole> class OpenSwoole\Coroutine\System ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [14] { + Method [ <internal:openswoole> static public method gethostbyname ] { + + - Parameters [3] { + Parameter #0 [ <required> string $domain ] + Parameter #1 [ <optional> int $family = AF_INET ] + Parameter #2 [ <optional> float $timeout = -1 ] + } + - Return [ string|false ] + } + + Method [ <internal:openswoole> static public method exec ] { + + - Parameters [2] { + Parameter #0 [ <required> string $command ] + Parameter #1 [ <optional> bool $get_error_stream = false ] + } + - Return [ array|false ] + } + + Method [ <internal:openswoole> static public method sleep ] { + + - Parameters [1] { + Parameter #0 [ <required> int $seconds ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method usleep ] { + + - Parameters [1] { + Parameter #0 [ <required> int $microseconds ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> 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|false ] + } + + Method [ <internal:openswoole> static public method statvfs ] { + + - Parameters [1] { + Parameter #0 [ <required> string $path ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> static public method readFile ] { + + - Parameters [2] { + Parameter #0 [ <required> string $filename ] + Parameter #1 [ <optional> int $flags = 0 ] + } + - Return [ string|false ] + } + + Method [ <internal:openswoole> static public method writeFile ] { + + - Parameters [3] { + Parameter #0 [ <required> string $filename ] + Parameter #1 [ <required> string $data ] + Parameter #2 [ <optional> int $flags = 0 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> static public method wait ] { + + - Parameters [1] { + Parameter #0 [ <optional> float $timeout = -1 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> static public method waitPid ] { + + - Parameters [2] { + Parameter #0 [ <required> int $pid ] + Parameter #1 [ <optional> float $timeout = -1 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> static public method waitSignal ] { + + - Parameters [2] { + Parameter #0 [ <required> int $signalNum ] + Parameter #1 [ <optional> float $timeout = -1 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> static public method waitEvent ] { + + - Parameters [3] { + Parameter #0 [ <required> mixed $fd ] + Parameter #1 [ <required> int $events ] + Parameter #2 [ <optional> float $timeout = -1 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> static public method dnsLookup ] { + + - Parameters [2] { + Parameter #0 [ <required> string $domain ] + Parameter #1 [ <optional> float $timeout = 5 ] + } + - Return [ string|false ] + } + + Method [ <internal:openswoole> static public method clearDNSCache ] { + + - Parameters [0] { + } + - Return [ void ] + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:openswoole> final class OpenSwoole\Coroutine\Scheduler ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:openswoole> public method add ] { + + - Parameters [2] { + Parameter #0 [ <required> callable $callback ] + Parameter #1 [ <optional> mixed ...$params ] + } + - Return [ ?bool ] + } + + Method [ <internal:openswoole> public method parallel ] { + + - Parameters [3] { + Parameter #0 [ <required> int $count ] + Parameter #1 [ <required> callable $callback ] + Parameter #2 [ <optional> mixed ...$params ] + } + - Return [ void ] + } + + Method [ <internal:openswoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + - Return [ void ] + } + + Method [ <internal:openswoole> public method getOptions ] { + + - Parameters [0] { + } + - Return [ ?array ] + } + + Method [ <internal:openswoole> public method start ] { + + - Parameters [0] { + } + - Return [ bool ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Coroutine\Channel ] { + + - Constants [4] { + Constant [ public int CHANNEL_OK ] { 0 } + Constant [ public int CHANNEL_TIMEOUT ] { -1 } + Constant [ public int CHANNEL_CLOSED ] { -2 } + Constant [ public int CHANNEL_CANCELED ] { -3 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [3] { + Property [ public $id = 0 ] + Property [ public $capacity = 0 ] + Property [ public $errCode = 0 ] + } + + - Methods [9] { + Method [ <internal:openswoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $capacity = 1 ] + } + } + + Method [ <internal:openswoole> public method push ] { + + - Parameters [2] { + Parameter #0 [ <required> mixed $data ] + Parameter #1 [ <optional> float $timeout = -1 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method pop ] { + + - Parameters [1] { + Parameter #0 [ <optional> float $timeout = -1 ] + } + - Return [ mixed ] + } + + Method [ <internal:openswoole> public method isEmpty ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method isFull ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method close ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method stats ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ <internal:openswoole> public method getId ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> public method length ] { + + - Parameters [0] { + } + - Return [ int ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Runtime ] { + + - Constants [17] { + Constant [ public int HOOK_TCP ] { 2 } + Constant [ public int HOOK_UDP ] { 4 } + Constant [ public int HOOK_UNIX ] { 8 } + Constant [ public int HOOK_UDG ] { 16 } + Constant [ public int HOOK_SSL ] { 32 } + Constant [ public int HOOK_TLS ] { 64 } + Constant [ public int HOOK_STREAM_FUNCTION ] { 128 } + Constant [ public int HOOK_STREAM_SELECT ] { 128 } + Constant [ public int HOOK_FILE ] { 256 } + Constant [ public int HOOK_STDIO ] { 32768 } + Constant [ public int HOOK_SLEEP ] { 512 } + Constant [ public int HOOK_PROC ] { 1024 } + Constant [ public int HOOK_CURL ] { 2048 } + Constant [ public int HOOK_NATIVE_CURL ] { 4096 } + Constant [ public int HOOK_BLOCKING_FUNCTION ] { 8192 } + Constant [ public int HOOK_SOCKETS ] { 16384 } + Constant [ public int HOOK_ALL ] { 2147457023 } + } + + - Static properties [0] { + } + + - Static methods [3] { + Method [ <internal:openswoole> static public method enableCoroutine ] { + + - Parameters [2] { + Parameter #0 [ <optional> bool $enable = true ] + Parameter #1 [ <optional> int $flags = OpenSwoole\Runtime::HOOK_ALL ] + } + - Return [ void ] + } + + Method [ <internal:openswoole> static public method getHookFlags ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> static public method setHookFlags ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $flags = OpenSwoole\Runtime::HOOK_ALL ] + } + - Return [ void ] + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:openswoole> class OpenSwoole\Coroutine\Curl\Exception extends OpenSwoole\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:openswoole> class OpenSwoole\Coroutine\Socket ] { + + - Constants [2] { + Constant [ public int EVENT_READ ] { 512 } + Constant [ public int EVENT_WRITE ] { 512 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [6] { + Property [ public $fd = -1 ] + Property [ public $domain = 0 ] + Property [ public $type = 0 ] + Property [ public $protocol = 0 ] + Property [ public $errCode = 0 ] + Property [ public $errMsg = '' ] + } + + - Methods [30] { + Method [ <internal:openswoole, 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:openswoole> public method bind ] { + + - Parameters [2] { + Parameter #0 [ <required> string $address ] + Parameter #1 [ <optional> int $port = 0 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method listen ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $backlog = 512 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method accept ] { + + - Parameters [1] { + Parameter #0 [ <optional> float $timeout = 0 ] + } + - Return [ OpenSwoole\Coroutine\Socket|false ] + } + + Method [ <internal:openswoole> public method connect ] { + + - Parameters [3] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <optional> int $port = 0 ] + Parameter #2 [ <optional> float $timeout = 0 ] + } + - Return [ mixed ] + } + + Method [ <internal:openswoole> public method checkLiveness ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method peek ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $length = 65536 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method recv ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $length = 65536 ] + Parameter #1 [ <optional> float $timeout = 0 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method recvAll ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $length = 65536 ] + Parameter #1 [ <optional> float $timeout = 0 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method recvLine ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $length = 65536 ] + Parameter #1 [ <optional> float $timeout = 0 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method recvWithBuffer ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $length = 65536 ] + Parameter #1 [ <optional> float $timeout = 0 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method recvPacket ] { + + - Parameters [1] { + Parameter #0 [ <optional> float $timeout = 0 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method send ] { + + - Parameters [2] { + Parameter #0 [ <required> string $data ] + Parameter #1 [ <optional> float $timeout = 0 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method readVector ] { + + - Parameters [2] { + Parameter #0 [ <required> array $ioVector ] + Parameter #1 [ <optional> float $timeout = 0 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> public method readVectorAll ] { + + - Parameters [2] { + Parameter #0 [ <required> array $ioVector ] + Parameter #1 [ <optional> float $timeout = 0 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> public method writeVector ] { + + - Parameters [2] { + Parameter #0 [ <required> array $ioVector ] + Parameter #1 [ <optional> float $timeout = 0 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method writeVectorAll ] { + + - Parameters [2] { + Parameter #0 [ <required> array $ioVector ] + Parameter #1 [ <optional> float $timeout = 0 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> 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:openswoole> public method sendAll ] { + + - Parameters [2] { + Parameter #0 [ <required> string $data ] + Parameter #1 [ <optional> float $timeout = 0 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method recvfrom ] { + + - Parameters [2] { + Parameter #0 [ <required> mixed &$peerName ] + Parameter #1 [ <optional> float $timeout = 0 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method sendto ] { + + - Parameters [3] { + Parameter #0 [ <required> string $addr ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <required> string $data ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method getOption ] { + + - Parameters [2] { + Parameter #0 [ <required> int $level ] + Parameter #1 [ <required> int $name ] + } + - Return [ mixed ] + } + + Method [ <internal:openswoole> public method setProtocol ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method setOption ] { + + - Parameters [3] { + Parameter #0 [ <required> int $level ] + Parameter #1 [ <required> int $name ] + Parameter #2 [ <required> mixed $value ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method sslHandshake ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method shutdown ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $how = 0 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method cancel ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $event = OpenSwoole\Coroutine\Socket::EVENT_READ ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method close ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method getpeername ] { + + - Parameters [0] { + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> public method getsockname ] { + + - Parameters [0] { + } + - Return [ array|bool ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Coroutine\Socket\Exception extends OpenSwoole\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:openswoole> class OpenSwoole\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 [1] { + Method [ <internal:openswoole> static public method select ] { + + - Parameters [4] { + Parameter #0 [ <required> array &$readReady ] + Parameter #1 [ <required> array &$writeReady ] + Parameter #2 [ <required> array &$errors ] + Parameter #3 [ <optional> float $timeout = 0.5 ] + } + - Return [ bool ] + } + } + + - 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:openswoole, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <required> int $sockType ] + Parameter #1 [ <optional> bool $async = false ] + Parameter #2 [ <optional> string $id = "" ] + } + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method connect ] { + + - Parameters [4] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <optional> float $timeout = 0.5 ] + Parameter #3 [ <optional> int $sockFlag = 0 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method recv ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $length = 65535 ] + Parameter #1 [ <optional> int $flags = 0 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method send ] { + + - Parameters [2] { + Parameter #0 [ <required> string $data ] + Parameter #1 [ <optional> int $flags = 0 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> 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:openswoole> public method sendto ] { + + - Parameters [3] { + Parameter #0 [ <required> string $ip ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <required> string $data ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method shutdown ] { + + - Parameters [1] { + Parameter #0 [ <required> int $how ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method enableSSL ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method getPeerCert ] { + + - Parameters [0] { + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method verifyPeerCert ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method isConnected ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method getsockname ] { + + - Parameters [0] { + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> public method getpeername ] { + + - Parameters [0] { + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> public method close ] { + + - Parameters [1] { + Parameter #0 [ <optional> bool $force = false ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method getSocket ] { + + - Parameters [0] { + } + - Return [ Socket|false ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Client\Exception extends OpenSwoole\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:openswoole> class OpenSwoole\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 [ private $socket = NULL ] + Property [ public $type = 1 ] + Property [ public $setting = NULL ] + Property [ public $connected = false ] + } + + - Methods [18] { + Method [ <internal:openswoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> int $type ] + } + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> 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 $sockFlag = 0 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method recv ] { + + - Parameters [1] { + Parameter #0 [ <optional> float $timeout = 1.0 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method peek ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $length = 65535 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method send ] { + + - Parameters [2] { + Parameter #0 [ <required> string $data ] + Parameter #1 [ <optional> float $timeout = 1.0 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> 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:openswoole> public method sendto ] { + + - Parameters [3] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <required> string $data ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method recvfrom ] { + + - Parameters [3] { + Parameter #0 [ <required> int $length ] + Parameter #1 [ <required> mixed &$host ] + Parameter #2 [ <optional> mixed &$port = 0 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method enableSSL ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method getPeerCert ] { + + - Parameters [0] { + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method verifyPeerCert ] { + + - Parameters [1] { + Parameter #0 [ <optional> bool $allowSelfSigned = false ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method isConnected ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method getsockname ] { + + - Parameters [0] { + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> public method getpeername ] { + + - Parameters [0] { + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> public method close ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method exportSocket ] { + + - Parameters [0] { + } + - Return [ OpenSwoole\Coroutine\Socket|bool ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Coroutine\Http\Client ] { + + - Constants [4] { + Constant [ public int STATUS_CONNECT_FAILED ] { -1 } + Constant [ public int STATUS_REQUEST_TIMEOUT ] { -2 } + Constant [ public int STATUS_SERVER_RESET ] { -3 } + Constant [ public int STATUS_SEND_FAILED ] { -4 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [18] { + 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:openswoole, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port = <default> ] + Parameter #2 [ <optional> $ssl = <default> ] + } + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:openswoole> public method getDefer ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method setDefer ] { + + - Parameters [1] { + Parameter #0 [ <optional> $defer = <default> ] + } + } + + Method [ <internal:openswoole> public method setMethod ] { + + - Parameters [1] { + Parameter #0 [ <required> $method ] + } + } + + Method [ <internal:openswoole> public method setHeaders ] { + + - Parameters [1] { + Parameter #0 [ <required> array $headers ] + } + } + + Method [ <internal:openswoole> public method setBasicAuth ] { + + - Parameters [2] { + Parameter #0 [ <required> $username ] + Parameter #1 [ <required> $password ] + } + } + + Method [ <internal:openswoole> public method setCookies ] { + + - Parameters [1] { + Parameter #0 [ <required> array $cookies ] + } + } + + Method [ <internal:openswoole> public method setData ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:openswoole> public method addFile ] { + + - Parameters [6] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $name ] + Parameter #2 [ <optional> $type = <default> ] + Parameter #3 [ <optional> $filename = <default> ] + Parameter #4 [ <optional> $offset = <default> ] + Parameter #5 [ <optional> $length = <default> ] + } + } + + Method [ <internal:openswoole> public method addData ] { + + - Parameters [4] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $name ] + Parameter #2 [ <optional> $type = <default> ] + Parameter #3 [ <optional> $filename = <default> ] + } + } + + Method [ <internal:openswoole> public method execute ] { + + - Parameters [1] { + Parameter #0 [ <required> $path ] + } + } + + Method [ <internal:openswoole> public method getpeername ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method getsockname ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method get ] { + + - Parameters [1] { + Parameter #0 [ <required> $path ] + } + } + + Method [ <internal:openswoole> public method post ] { + + - Parameters [2] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $data ] + } + } + + Method [ <internal:openswoole> public method download ] { + + - Parameters [3] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $file ] + Parameter #2 [ <optional> $offset = <default> ] + } + } + + Method [ <internal:openswoole> public method getBody ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method getHeaders ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method getCookies ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method getStatusCode ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method getHeaderOut ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method getPeerCert ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method upgrade ] { + + - Parameters [1] { + Parameter #0 [ <required> $path ] + } + } + + Method [ <internal:openswoole> public method push ] { + + - Parameters [3] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $opcode = <default> ] + Parameter #2 [ <optional> $flags = <default> ] + } + } + + Method [ <internal:openswoole> public method recv ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout = <default> ] + } + } + + Method [ <internal:openswoole> public method close ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Coroutine\Http\Client\Exception extends OpenSwoole\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:openswoole> class OpenSwoole\Coroutine\Http2\Client ] { + + - Constants [23] { + Constant [ public int HTTP2_TYPE_DATA ] { 0 } + Constant [ public int HTTP2_TYPE_HEADERS ] { 1 } + Constant [ public int HTTP2_TYPE_PRIORITY ] { 2 } + Constant [ public int HTTP2_TYPE_RST_STREAM ] { 3 } + Constant [ public int HTTP2_TYPE_SETTINGS ] { 4 } + Constant [ public int HTTP2_TYPE_PUSH_PROMISE ] { 5 } + Constant [ public int HTTP2_TYPE_PING ] { 6 } + Constant [ public int HTTP2_TYPE_GOAWAY ] { 7 } + Constant [ public int HTTP2_TYPE_WINDOW_UPDATE ] { 8 } + Constant [ public int HTTP2_TYPE_CONTINUATION ] { 9 } + Constant [ public int HTTP2_ERROR_NO_ERROR ] { 0 } + Constant [ public int HTTP2_ERROR_PROTOCOL_ERROR ] { 1 } + Constant [ public int HTTP2_ERROR_INTERNAL_ERROR ] { 2 } + Constant [ public int HTTP2_ERROR_FLOW_CONTROL_ERROR ] { 3 } + Constant [ public int HTTP2_ERROR_SETTINGS_TIMEOUT ] { 4 } + Constant [ public int HTTP2_ERROR_STREAM_CLOSED ] { 5 } + Constant [ public int HTTP2_ERROR_FRAME_SIZE_ERROR ] { 6 } + Constant [ public int HTTP2_ERROR_REFUSED_STREAM ] { 7 } + Constant [ public int HTTP2_ERROR_CANCEL ] { 8 } + Constant [ public int HTTP2_ERROR_COMPRESSION_ERROR ] { 9 } + Constant [ public int HTTP2_ERROR_CONNECT_ERROR ] { 10 } + Constant [ public int HTTP2_ERROR_ENHANCE_YOUR_CALM ] { 11 } + Constant [ public int HTTP2_ERROR_INADEQUATE_SECURITY ] { 12 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [9] { + Property [ public $errCode = 0 ] + Property [ public $errMsg = 0 ] + Property [ public $sock = -1 ] + Property [ public $type = 0 ] + Property [ public $setting = NULL ] + Property [ public $connected = false ] + Property [ public $host = NULL ] + Property [ public $port = 0 ] + Property [ public $ssl = false ] + } + + - Methods [13] { + Method [ <internal:openswoole, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <optional> int $port = 80 ] + Parameter #2 [ <optional> bool $openSSL = false ] + } + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $options ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method connect ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method stats ] { + + - Parameters [1] { + Parameter #0 [ <optional> string $key = "" ] + } + - Return [ array|int|bool ] + } + + Method [ <internal:openswoole> public method isStreamExist ] { + + - Parameters [1] { + Parameter #0 [ <required> int $streamId ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method send ] { + + - Parameters [1] { + Parameter #0 [ <required> OpenSwoole\Http2\Request $request ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method write ] { + + - Parameters [3] { + Parameter #0 [ <required> int $streamId ] + Parameter #1 [ <required> mixed $data ] + Parameter #2 [ <optional> bool $end = false ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method recv ] { + + - Parameters [1] { + Parameter #0 [ <optional> float $timeout = 0 ] + } + - Return [ OpenSwoole\Http2\Response|bool ] + } + + Method [ <internal:openswoole> public method read ] { + + - Parameters [1] { + Parameter #0 [ <optional> float $timeout = 0 ] + } + - Return [ OpenSwoole\Http2\Response|bool ] + } + + Method [ <internal:openswoole> public method goaway ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $errorCode = OpenSwoole\Coroutine\Http2\Client::HTTP2_ERROR_NO_ERROR ] + Parameter #1 [ <optional> string $debugData = "" ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method ping ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method close ] { + + - Parameters [0] { + } + - Return [ bool ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Coroutine\Http2\Client\Exception extends OpenSwoole\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:openswoole> class OpenSwoole\Http2\Request ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [6] { + Property [ public $path = '/' ] + Property [ public $method = 'GET' ] + Property [ public $headers = NULL ] + Property [ public $cookies = NULL ] + Property [ public $data = '' ] + Property [ public $pipeline = false ] + } + + - Methods [0] { + } + } + + Class [ <internal:openswoole> class OpenSwoole\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:openswoole> class OpenSwoole\Server ] { + + - Constants [22] { + Constant [ public int SIMPLE_MODE ] { 1 } + Constant [ public int POOL_MODE ] { 2 } + Constant [ public int IPC_UNSOCK ] { 1 } + Constant [ public int IPC_MSGQUEUE ] { 2 } + Constant [ public int IPC_PREEMPTIVE ] { 3 } + Constant [ public int DISPATCH_RESULT_DISCARD_PACKET ] { -1 } + Constant [ public int DISPATCH_RESULT_CLOSE_CONNECTION ] { -2 } + Constant [ public int DISPATCH_RESULT_USERFUNC_FALLBACK ] { -3 } + Constant [ public int TASK_TMPFILE ] { 1 } + Constant [ public int TASK_SERIALIZE ] { 2 } + Constant [ public int TASK_NONBLOCK ] { 4 } + Constant [ public int TASK_CALLBACK ] { 8 } + Constant [ public int TASK_WAITALL ] { 16 } + Constant [ public int TASK_COROUTINE ] { 32 } + Constant [ public int TASK_PEEK ] { 64 } + Constant [ public int TASK_NOREPLY ] { 128 } + Constant [ public int WORKER_BUSY ] { 1 } + Constant [ public int WORKER_IDLE ] { 2 } + Constant [ public int WORKER_EXIT ] { 3 } + Constant [ public int STATS_DEFAULT ] { 0 } + Constant [ public int STATS_JSON ] { 1 } + Constant [ public int STATS_OPENMETRICS ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [26] { + Property [ private $onStart = 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 $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 ] + } + + - Methods [45] { + Method [ <internal:openswoole, ctor> public method __construct ] { + + - Parameters [4] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <optional> int $port = 0 ] + Parameter #2 [ <optional> int $mode = OpenSwoole\Server::SIMPLE_MODE ] + Parameter #3 [ <optional> int $sockType = OpenSwoole\Constant::SOCK_TCP ] + } + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method listen ] { + + - Parameters [3] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <required> int $sockType ] + } + - Return [ OpenSwoole\Server\Port|false ] + } + + Method [ <internal:openswoole> public method addlistener ] { + + - Parameters [3] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <required> int $sockType ] + } + - Return [ OpenSwoole\Server\Port|false ] + } + + Method [ <internal:openswoole> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> string $event ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method handle ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method setHandler ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $handler ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method getCallback ] { + + - Parameters [1] { + Parameter #0 [ <required> string $event ] + } + - Return [ mixed ] + } + + Method [ <internal:openswoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method start ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method send ] { + + - Parameters [3] { + Parameter #0 [ <required> string|int $fd ] + Parameter #1 [ <required> mixed $data ] + Parameter #2 [ <optional> int $serverSocket = -1 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method sendto ] { + + - Parameters [4] { + Parameter #0 [ <required> string $ip ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <required> string $data ] + Parameter #3 [ <optional> int $serverSocket = -1 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method sendwait ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <required> string $data ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method exists ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method protect ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <optional> bool $isProtected = true ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method sendfile ] { + + - Parameters [4] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <required> string $fileName ] + Parameter #2 [ <optional> int $offset = 0 ] + Parameter #3 [ <optional> int $length = 0 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method close ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <optional> bool $reset = false ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method confirm ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method pause ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method resume ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method task ] { + + - Parameters [3] { + Parameter #0 [ <required> mixed $data ] + Parameter #1 [ <optional> int $workerId = -1 ] + Parameter #2 [ <optional> ?callable $finishCallback = null ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method taskwait ] { + + - Parameters [3] { + Parameter #0 [ <required> mixed $data ] + Parameter #1 [ <optional> float $timeout = 0.5 ] + Parameter #2 [ <optional> int $workerId = -1 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method taskWaitMulti ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> float $timeout = 0.5 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> public method taskCo ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> float $timeout = 0.5 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> public method finish ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $data ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method reload ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method shutdown ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method stop ] { + + - Parameters [2] { + Parameter #0 [ <required> int $workerId ] + Parameter #1 [ <optional> bool $waitEvent = false ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method heartbeat ] { + + - Parameters [1] { + Parameter #0 [ <optional> bool $closeConn = false ] + } + - Return [ array|false ] + } + + Method [ <internal:openswoole> public method getClientInfo ] { + + - Parameters [3] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <optional> int $reactorId = -1 ] + Parameter #2 [ <optional> bool $noCheckConn = false ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> public method getClientList ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $startFd = 0 ] + Parameter #1 [ <optional> int $pageSize = 10 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole> public method getWorkerId ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> public method getWorkerPid ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $workerId = -1 ] + } + - Return [ int|false ] + } + + Method [ <internal:openswoole> public method getWorkerStatus ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $workerId = -1 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method getManagerPid ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> public method getMasterPid ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole> public method sendMessage ] { + + - Parameters [2] { + Parameter #0 [ <required> mixed $message ] + Parameter #1 [ <required> int $workerId ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method addProcess ] { + + - Parameters [1] { + Parameter #0 [ <required> OpenSwoole\Process $process ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole> public method stats ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $mode = 0 ] + } + - Return [ array|string|false ] + } + + Method [ <internal:openswoole> public method getSocket ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $port = -1 ] + } + - Return [ mixed ] + } + + Method [ <internal:openswoole> public method bind ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <required> int $uid ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method after ] { + + - Parameters [2] { + Parameter #0 [ <required> int $ms ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method tick ] { + + - Parameters [2] { + Parameter #0 [ <required> int $ms ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method clearTimer ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Event> public method defer ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + - Return [ bool ] + } + } + } + + Class [ <internal:openswoole> final class OpenSwoole\Server\Task ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:openswoole> static public method pack ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $data ] + } + - Return [ string|bool ] + } + } + + - 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:openswoole> public method finish ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $data ] + } + - Return [ bool ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\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:openswoole> class OpenSwoole\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:openswoole> class OpenSwoole\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:openswoole> class OpenSwoole\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:openswoole> class OpenSwoole\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:openswoole> <iterateable> class OpenSwoole\Connection\Iterator implements Iterator, Traversable, ArrayAccess, Countable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [12] { + Method [ <internal:openswoole, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole, prototype Iterator> public method rewind ] { + + - Parameters [0] { + } + - Tentative return [ void ] + } + + Method [ <internal:openswoole, prototype Iterator> public method next ] { + + - Parameters [0] { + } + - Tentative return [ void ] + } + + Method [ <internal:openswoole, prototype Iterator> public method current ] { + + - Parameters [0] { + } + - Tentative return [ mixed ] + } + + Method [ <internal:openswoole, prototype Iterator> public method key ] { + + - Parameters [0] { + } + - Tentative return [ mixed ] + } + + Method [ <internal:openswoole, prototype Iterator> public method valid ] { + + - Parameters [0] { + } + - Tentative return [ bool ] + } + + Method [ <internal:openswoole, prototype Countable> public method count ] { + + - Parameters [0] { + } + - Tentative return [ int ] + } + + Method [ <internal:openswoole, prototype ArrayAccess> public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $key ] + } + - Tentative return [ bool ] + } + + Method [ <internal:openswoole, prototype ArrayAccess> public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $key ] + } + - Tentative return [ mixed ] + } + + Method [ <internal:openswoole, prototype ArrayAccess> public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ <required> mixed $key ] + Parameter #1 [ <required> mixed $value ] + } + - Tentative return [ void ] + } + + Method [ <internal:openswoole, prototype ArrayAccess> public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $key ] + } + - Tentative return [ void ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Server\Port ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [17] { + 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 [ public $host = NULL ] + Property [ public $port = 0 ] + Property [ public $type = 0 ] + Property [ public $sock = -1 ] + Property [ public $setting = NULL ] + Property [ public $connections = NULL ] + } + + - Methods [8] { + Method [ <internal:openswoole, ctor> private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + - Return [ ?bool ] + } + + Method [ <internal:openswoole> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> string $event ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method handle ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method setHandler ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $handler ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method getCallback ] { + + - Parameters [1] { + Parameter #0 [ <required> string $event ] + } + - Return [ ?callable ] + } + + Method [ <internal:openswoole> public method getSocket ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Http\Request ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:openswoole> static public method create ] { + + - Parameters [1] { + Parameter #0 [ <required> ?array $options ] + } + - Return [ Swoole\Http\Request|bool ] + } + } + + - 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 [7] { + Method [ <internal:openswoole> public method rawContent ] { + + - Parameters [0] { + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method getContent ] { + + - Parameters [0] { + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method getData ] { + + - Parameters [0] { + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method parse ] { + + - Parameters [1] { + Parameter #0 [ <required> string $data ] + } + - Return [ int|false ] + } + + Method [ <internal:openswoole> public method isCompleted ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method getMethod ] { + + - Parameters [0] { + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Http\Response ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:openswoole> static public method create ] { + + - Parameters [2] { + Parameter #0 [ <optional> mixed $server = -1 ] + Parameter #1 [ <optional> int $fd = -1 ] + } + - Return [ OpenSwoole\Http\Response|bool ] + } + } + + - Properties [5] { + Property [ public $fd = 0 ] + Property [ public $socket = NULL ] + Property [ public $header = NULL ] + Property [ public $cookie = NULL ] + Property [ public $trailer = NULL ] + } + + - Methods [22] { + Method [ <internal:openswoole> public method initHeader ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method isWritable ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method cookie ] { + + - Parameters [9] { + Parameter #0 [ <required> string $key ] + Parameter #1 [ <optional> ?string $value = null ] + Parameter #2 [ <optional> int $expire = 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:openswoole> public method setCookie ] { + + - Parameters [9] { + Parameter #0 [ <required> string $key ] + Parameter #1 [ <optional> ?string $value = null ] + Parameter #2 [ <optional> int $expire = 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:openswoole> public method rawcookie ] { + + - Parameters [9] { + Parameter #0 [ <required> string $key ] + Parameter #1 [ <optional> ?string $value = null ] + Parameter #2 [ <optional> int $expire = 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:openswoole> public method status ] { + + - Parameters [2] { + Parameter #0 [ <required> int $statusCode ] + Parameter #1 [ <optional> string $reason = "" ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method setStatusCode ] { + + - Parameters [2] { + Parameter #0 [ <required> int $statusCode ] + Parameter #1 [ <optional> string $reason = "" ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method header ] { + + - Parameters [3] { + Parameter #0 [ <required> string $key ] + Parameter #1 [ <required> string $value ] + Parameter #2 [ <optional> bool $format = true ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method setHeader ] { + + - Parameters [3] { + Parameter #0 [ <required> string $key ] + Parameter #1 [ <required> string $value ] + Parameter #2 [ <optional> bool $format = true ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method write ] { + + - Parameters [1] { + Parameter #0 [ <required> string $data ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method end ] { + + - Parameters [1] { + Parameter #0 [ <optional> ?string $data = null ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> 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:openswoole> public method redirect ] { + + - Parameters [2] { + Parameter #0 [ <required> string $url ] + Parameter #1 [ <optional> int $status_code = 302 ] + } + - Return [ ?bool ] + } + + Method [ <internal:openswoole> public method detach ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method trailer ] { + + - Parameters [2] { + Parameter #0 [ <required> string $key ] + Parameter #1 [ <required> string $value ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method ping ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method goaway ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $errorCode = OpenSwoole\Coroutine\Http2\Client::HTTP2_ERROR_NO_ERROR ] + Parameter #1 [ <optional> string $debugData = "" ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method upgrade ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method push ] { + + - Parameters [3] { + Parameter #0 [ <required> OpenSwoole\WebSocket\Frame|string $data ] + Parameter #1 [ <optional> int $opcode = OpenSwoole\WebSocket\Server::WEBSOCKET_OPCODE_TEXT ] + Parameter #2 [ <optional> int $flags = OpenSwoole\WebSocket\Server::WEBSOCKET_FLAG_FIN ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method recv ] { + + - Parameters [1] { + Parameter #0 [ <optional> float $timeout = 0 ] + } + - Return [ OpenSwoole\WebSocket\Frame|string|bool ] + } + + Method [ <internal:openswoole> public method close ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Http\Server extends OpenSwoole\Server ] { + + - Constants [22] { + Constant [ public int SIMPLE_MODE ] { 1 } + Constant [ public int POOL_MODE ] { 2 } + Constant [ public int IPC_UNSOCK ] { 1 } + Constant [ public int IPC_MSGQUEUE ] { 2 } + Constant [ public int IPC_PREEMPTIVE ] { 3 } + Constant [ public int DISPATCH_RESULT_DISCARD_PACKET ] { -1 } + Constant [ public int DISPATCH_RESULT_CLOSE_CONNECTION ] { -2 } + Constant [ public int DISPATCH_RESULT_USERFUNC_FALLBACK ] { -3 } + Constant [ public int TASK_TMPFILE ] { 1 } + Constant [ public int TASK_SERIALIZE ] { 2 } + Constant [ public int TASK_NONBLOCK ] { 4 } + Constant [ public int TASK_CALLBACK ] { 8 } + Constant [ public int TASK_WAITALL ] { 16 } + Constant [ public int TASK_COROUTINE ] { 32 } + Constant [ public int TASK_PEEK ] { 64 } + Constant [ public int TASK_NOREPLY ] { 128 } + Constant [ public int WORKER_BUSY ] { 1 } + Constant [ public int WORKER_IDLE ] { 2 } + Constant [ public int WORKER_EXIT ] { 3 } + Constant [ public int STATS_DEFAULT ] { 0 } + Constant [ public int STATS_JSON ] { 1 } + Constant [ public int STATS_OPENMETRICS ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [13] { + Property [ public $setting = NULL ] + Property [ public $connections = NULL ] + Property [ public $host = '' ] + Property [ public $port = 0 ] + Property [ public $type = 0 ] + 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 ] + } + + - Methods [45] { + Method [ <internal:openswoole, inherits OpenSwoole\Server, ctor> public method __construct ] { + + - Parameters [4] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <optional> int $port = 0 ] + Parameter #2 [ <optional> int $mode = OpenSwoole\Server::SIMPLE_MODE ] + Parameter #3 [ <optional> int $sockType = OpenSwoole\Constant::SOCK_TCP ] + } + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method listen ] { + + - Parameters [3] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <required> int $sockType ] + } + - Return [ OpenSwoole\Server\Port|false ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method addlistener ] { + + - Parameters [3] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <required> int $sockType ] + } + - Return [ OpenSwoole\Server\Port|false ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> string $event ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method handle ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method setHandler ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $handler ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getCallback ] { + + - Parameters [1] { + Parameter #0 [ <required> string $event ] + } + - Return [ mixed ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method start ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method send ] { + + - Parameters [3] { + Parameter #0 [ <required> string|int $fd ] + Parameter #1 [ <required> mixed $data ] + Parameter #2 [ <optional> int $serverSocket = -1 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method sendto ] { + + - Parameters [4] { + Parameter #0 [ <required> string $ip ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <required> string $data ] + Parameter #3 [ <optional> int $serverSocket = -1 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method sendwait ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <required> string $data ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method exists ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method protect ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <optional> bool $isProtected = true ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method sendfile ] { + + - Parameters [4] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <required> string $fileName ] + Parameter #2 [ <optional> int $offset = 0 ] + Parameter #3 [ <optional> int $length = 0 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method close ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <optional> bool $reset = false ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method confirm ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method pause ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method resume ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method task ] { + + - Parameters [3] { + Parameter #0 [ <required> mixed $data ] + Parameter #1 [ <optional> int $workerId = -1 ] + Parameter #2 [ <optional> ?callable $finishCallback = null ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method taskwait ] { + + - Parameters [3] { + Parameter #0 [ <required> mixed $data ] + Parameter #1 [ <optional> float $timeout = 0.5 ] + Parameter #2 [ <optional> int $workerId = -1 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method taskWaitMulti ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> float $timeout = 0.5 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method taskCo ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> float $timeout = 0.5 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method finish ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $data ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method reload ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method shutdown ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method stop ] { + + - Parameters [2] { + Parameter #0 [ <required> int $workerId ] + Parameter #1 [ <optional> bool $waitEvent = false ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method heartbeat ] { + + - Parameters [1] { + Parameter #0 [ <optional> bool $closeConn = false ] + } + - Return [ array|false ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getClientInfo ] { + + - Parameters [3] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <optional> int $reactorId = -1 ] + Parameter #2 [ <optional> bool $noCheckConn = false ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getClientList ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $startFd = 0 ] + Parameter #1 [ <optional> int $pageSize = 10 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getWorkerId ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getWorkerPid ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $workerId = -1 ] + } + - Return [ int|false ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getWorkerStatus ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $workerId = -1 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getManagerPid ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getMasterPid ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method sendMessage ] { + + - Parameters [2] { + Parameter #0 [ <required> mixed $message ] + Parameter #1 [ <required> int $workerId ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method addProcess ] { + + - Parameters [1] { + Parameter #0 [ <required> OpenSwoole\Process $process ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method stats ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $mode = 0 ] + } + - Return [ array|string|false ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getSocket ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $port = -1 ] + } + - Return [ mixed ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method bind ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <required> int $uid ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method after ] { + + - Parameters [2] { + Parameter #0 [ <required> int $ms ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method tick ] { + + - Parameters [2] { + Parameter #0 [ <required> int $ms ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method clearTimer ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Event> public method defer ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + - Return [ bool ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\WebSocket\Server extends OpenSwoole\Http\Server ] { + + - Constants [50] { + Constant [ public int SIMPLE_MODE ] { 1 } + Constant [ public int POOL_MODE ] { 2 } + Constant [ public int IPC_UNSOCK ] { 1 } + Constant [ public int IPC_MSGQUEUE ] { 2 } + Constant [ public int IPC_PREEMPTIVE ] { 3 } + Constant [ public int DISPATCH_RESULT_DISCARD_PACKET ] { -1 } + Constant [ public int DISPATCH_RESULT_CLOSE_CONNECTION ] { -2 } + Constant [ public int DISPATCH_RESULT_USERFUNC_FALLBACK ] { -3 } + Constant [ public int TASK_TMPFILE ] { 1 } + Constant [ public int TASK_SERIALIZE ] { 2 } + Constant [ public int TASK_NONBLOCK ] { 4 } + Constant [ public int TASK_CALLBACK ] { 8 } + Constant [ public int TASK_WAITALL ] { 16 } + Constant [ public int TASK_COROUTINE ] { 32 } + Constant [ public int TASK_PEEK ] { 64 } + Constant [ public int TASK_NOREPLY ] { 128 } + Constant [ public int WORKER_BUSY ] { 1 } + Constant [ public int WORKER_IDLE ] { 2 } + Constant [ public int WORKER_EXIT ] { 3 } + Constant [ public int STATS_DEFAULT ] { 0 } + Constant [ public int STATS_JSON ] { 1 } + Constant [ public int STATS_OPENMETRICS ] { 2 } + Constant [ public int WEBSOCKET_STATUS_CONNECTION ] { 1 } + Constant [ public int WEBSOCKET_STATUS_HANDSHAKE ] { 2 } + Constant [ public int WEBSOCKET_STATUS_ACTIVE ] { 3 } + Constant [ public int WEBSOCKET_STATUS_CLOSING ] { 4 } + Constant [ public int WEBSOCKET_OPCODE_CONTINUATION ] { 0 } + Constant [ public int WEBSOCKET_OPCODE_TEXT ] { 1 } + Constant [ public int WEBSOCKET_OPCODE_BINARY ] { 2 } + Constant [ public int WEBSOCKET_OPCODE_CLOSE ] { 8 } + Constant [ public int WEBSOCKET_OPCODE_PING ] { 9 } + Constant [ public int WEBSOCKET_OPCODE_PONG ] { 10 } + Constant [ public int WEBSOCKET_FLAG_FIN ] { 1 } + Constant [ public int WEBSOCKET_FLAG_RSV1 ] { 4 } + Constant [ public int WEBSOCKET_FLAG_RSV2 ] { 8 } + Constant [ public int WEBSOCKET_FLAG_RSV3 ] { 16 } + Constant [ public int WEBSOCKET_FLAG_MASK ] { 32 } + Constant [ public int WEBSOCKET_FLAG_COMPRESS ] { 2 } + Constant [ public int WEBSOCKET_CLOSE_NORMAL ] { 1000 } + Constant [ public int WEBSOCKET_CLOSE_GOING_AWAY ] { 1001 } + Constant [ public int WEBSOCKET_CLOSE_PROTOCOL_ERROR ] { 1002 } + Constant [ public int WEBSOCKET_CLOSE_DATA_ERROR ] { 1003 } + Constant [ public int WEBSOCKET_CLOSE_STATUS_ERROR ] { 1005 } + Constant [ public int WEBSOCKET_CLOSE_ABNORMAL ] { 1006 } + Constant [ public int WEBSOCKET_CLOSE_MESSAGE_ERROR ] { 1007 } + Constant [ public int WEBSOCKET_CLOSE_POLICY_ERROR ] { 1008 } + Constant [ public int WEBSOCKET_CLOSE_MESSAGE_TOO_BIG ] { 1009 } + Constant [ public int WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 } + Constant [ public int WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 } + Constant [ public int WEBSOCKET_CLOSE_TLS ] { 1015 } + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ <internal:openswoole> static public method pack ] { + + - Parameters [3] { + Parameter #0 [ <required> OpenSwoole\WebSocket\Frame|string $data ] + Parameter #1 [ <optional> int $opcode = OpenSwoole\WebSocket\Server::WEBSOCKET_OPCODE_TEXT ] + Parameter #2 [ <optional> int $flags = OpenSwoole\WebSocket\Server::WEBSOCKET_FLAG_FIN ] + } + - Return [ string ] + } + + Method [ <internal:openswoole> static public method unpack ] { + + - Parameters [1] { + Parameter #0 [ <required> string $data ] + } + - Return [ OpenSwoole\WebSocket\Frame|false ] + } + } + + - Properties [13] { + Property [ public $setting = NULL ] + Property [ public $connections = NULL ] + Property [ public $host = '' ] + Property [ public $port = 0 ] + Property [ public $type = 0 ] + 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 ] + } + + - Methods [48] { + Method [ <internal:openswoole> public method push ] { + + - Parameters [4] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <required> OpenSwoole\WebSocket\Frame|string $data ] + Parameter #2 [ <optional> int $opcode = OpenSwoole\WebSocket\Server::WEBSOCKET_OPCODE_TEXT ] + Parameter #3 [ <optional> int $flags = OpenSwoole\WebSocket\Server::WEBSOCKET_FLAG_FIN ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method disconnect ] { + + - Parameters [3] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <optional> int $code = OpenSwoole\WebSocket\Server::WEBSOCKET_CLOSE_NORMAL ] + Parameter #2 [ <optional> string $reason = "" ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method isEstablished ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server, ctor> public method __construct ] { + + - Parameters [4] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <optional> int $port = 0 ] + Parameter #2 [ <optional> int $mode = OpenSwoole\Server::SIMPLE_MODE ] + Parameter #3 [ <optional> int $sockType = OpenSwoole\Constant::SOCK_TCP ] + } + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method listen ] { + + - Parameters [3] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <required> int $sockType ] + } + - Return [ OpenSwoole\Server\Port|false ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method addlistener ] { + + - Parameters [3] { + Parameter #0 [ <required> string $host ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <required> int $sockType ] + } + - Return [ OpenSwoole\Server\Port|false ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> string $event ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method handle ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method setHandler ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $handler ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getCallback ] { + + - Parameters [1] { + Parameter #0 [ <required> string $event ] + } + - Return [ mixed ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method start ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method send ] { + + - Parameters [3] { + Parameter #0 [ <required> string|int $fd ] + Parameter #1 [ <required> mixed $data ] + Parameter #2 [ <optional> int $serverSocket = -1 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method sendto ] { + + - Parameters [4] { + Parameter #0 [ <required> string $ip ] + Parameter #1 [ <required> int $port ] + Parameter #2 [ <required> string $data ] + Parameter #3 [ <optional> int $serverSocket = -1 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method sendwait ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <required> string $data ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method exists ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method protect ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <optional> bool $isProtected = true ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method sendfile ] { + + - Parameters [4] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <required> string $fileName ] + Parameter #2 [ <optional> int $offset = 0 ] + Parameter #3 [ <optional> int $length = 0 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method close ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <optional> bool $reset = false ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method confirm ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method pause ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method resume ] { + + - Parameters [1] { + Parameter #0 [ <required> int $fd ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method task ] { + + - Parameters [3] { + Parameter #0 [ <required> mixed $data ] + Parameter #1 [ <optional> int $workerId = -1 ] + Parameter #2 [ <optional> ?callable $finishCallback = null ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method taskwait ] { + + - Parameters [3] { + Parameter #0 [ <required> mixed $data ] + Parameter #1 [ <optional> float $timeout = 0.5 ] + Parameter #2 [ <optional> int $workerId = -1 ] + } + - Return [ string|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method taskWaitMulti ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> float $timeout = 0.5 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method taskCo ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> float $timeout = 0.5 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method finish ] { + + - Parameters [1] { + Parameter #0 [ <required> mixed $data ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method reload ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method shutdown ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method stop ] { + + - Parameters [2] { + Parameter #0 [ <required> int $workerId ] + Parameter #1 [ <optional> bool $waitEvent = false ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method heartbeat ] { + + - Parameters [1] { + Parameter #0 [ <optional> bool $closeConn = false ] + } + - Return [ array|false ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getClientInfo ] { + + - Parameters [3] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <optional> int $reactorId = -1 ] + Parameter #2 [ <optional> bool $noCheckConn = false ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getClientList ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $startFd = 0 ] + Parameter #1 [ <optional> int $pageSize = 10 ] + } + - Return [ array|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getWorkerId ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getWorkerPid ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $workerId = -1 ] + } + - Return [ int|false ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getWorkerStatus ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $workerId = -1 ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getManagerPid ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getMasterPid ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method sendMessage ] { + + - Parameters [2] { + Parameter #0 [ <required> mixed $message ] + Parameter #1 [ <required> int $workerId ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method addProcess ] { + + - Parameters [1] { + Parameter #0 [ <required> OpenSwoole\Process $process ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method stats ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $mode = 0 ] + } + - Return [ array|string|false ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method getSocket ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $port = -1 ] + } + - Return [ mixed ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Server> public method bind ] { + + - Parameters [2] { + Parameter #0 [ <required> int $fd ] + Parameter #1 [ <required> int $uid ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method after ] { + + - Parameters [2] { + Parameter #0 [ <required> int $ms ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method tick ] { + + - Parameters [2] { + Parameter #0 [ <required> int $ms ] + Parameter #1 [ <required> callable $callback ] + } + - Return [ int|bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Timer> public method clearTimer ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\Event> public method defer ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + - Return [ bool ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\WebSocket\Frame implements Stringable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ <internal:openswoole> static public method pack ] { + + - Parameters [3] { + Parameter #0 [ <required> OpenSwoole\WebSocket\Frame|string $data ] + Parameter #1 [ <optional> int $opcode = OpenSwoole\WebSocket\Server::WEBSOCKET_OPCODE_TEXT ] + Parameter #2 [ <optional> int $flags = OpenSwoole\WebSocket\Server::WEBSOCKET_FLAG_FIN ] + } + - Return [ string ] + } + + Method [ <internal:openswoole> static public method unpack ] { + + - Parameters [1] { + Parameter #0 [ <required> string $data ] + } + - Return [ OpenSwoole\WebSocket\Frame|false ] + } + } + + - 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:openswoole, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\WebSocket\CloseFrame extends OpenSwoole\WebSocket\Frame implements Stringable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ <internal:openswoole, inherits OpenSwoole\WebSocket\Frame> static public method pack ] { + + - Parameters [3] { + Parameter #0 [ <required> OpenSwoole\WebSocket\Frame|string $data ] + Parameter #1 [ <optional> int $opcode = OpenSwoole\WebSocket\Server::WEBSOCKET_OPCODE_TEXT ] + Parameter #2 [ <optional> int $flags = OpenSwoole\WebSocket\Server::WEBSOCKET_FLAG_FIN ] + } + - Return [ string ] + } + + Method [ <internal:openswoole, inherits OpenSwoole\WebSocket\Frame> static public method unpack ] { + + - Parameters [1] { + Parameter #0 [ <required> string $data ] + } + - Return [ OpenSwoole\WebSocket\Frame|false ] + } + } + + - 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:openswoole, inherits OpenSwoole\WebSocket\Frame, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Coroutine\PostgreSQL ] { + + - Constants [8] { + Constant [ public int PG_CONNECTION_OK ] { 0 } + Constant [ public int PG_CONNECTION_BAD ] { 1 } + Constant [ public int PG_CONNECTION_STARTED ] { 2 } + Constant [ public int PG_CONNECTION_AWAITING_RESPONSE ] { 4 } + Constant [ public int PG_CONNECTION_AUTH_OK ] { 5 } + Constant [ public int PG_CONNECTION_SETENV ] { 6 } + Constant [ public int PG_CONNECTION_SSL_STARTUP ] { 7 } + Constant [ public int PG_CONNECTION_NEEDED ] { 8 } + } + + - 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 [14] { + Method [ <internal:openswoole, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:openswoole> public method connect ] { + + - Parameters [2] { + Parameter #0 [ <required> string $conninfo ] + Parameter #1 [ <optional> float $timeout = 2 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method query ] { + + - Parameters [1] { + Parameter #0 [ <required> string $query ] + } + - Return [ OpenSwoole\Coroutine\PostgreSQLStatement|false ] + } + + Method [ <internal:openswoole> public method prepare ] { + + - Parameters [1] { + Parameter #0 [ <required> string $query ] + } + - Return [ OpenSwoole\Coroutine\PostgreSQLStatement|false ] + } + + Method [ <internal:openswoole> public method metaData ] { + + - Parameters [1] { + Parameter #0 [ <required> string $table_name ] + } + - Return [ array|false ] + } + + Method [ <internal:openswoole> public method escape ] { + + - Parameters [1] { + Parameter #0 [ <required> string $string ] + } + - Return [ string|false ] + } + + Method [ <internal:openswoole> public method escapeLiteral ] { + + - Parameters [1] { + Parameter #0 [ <required> string $string ] + } + - Return [ string|false ] + } + + Method [ <internal:openswoole> public method escapeIdentifier ] { + + - Parameters [1] { + Parameter #0 [ <required> string $string ] + } + - Return [ string|false ] + } + + Method [ <internal:openswoole> public method createLOB ] { + + - Parameters [0] { + } + - Return [ int|false ] + } + + Method [ <internal:openswoole> public method openLOB ] { + + - Parameters [2] { + Parameter #0 [ <required> int $oid ] + Parameter #1 [ <optional> string $mode = "rb" ] + } + } + + Method [ <internal:openswoole> public method unlinkLOB ] { + + - Parameters [1] { + Parameter #0 [ <required> int $oid ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method status ] { + + - Parameters [0] { + } + - Return [ int|false ] + } + + Method [ <internal:openswoole> public method reset ] { + + - Parameters [1] { + Parameter #0 [ <optional> float $timeout = 0 ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\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:openswoole> public method execute ] { + + - Parameters [1] { + Parameter #0 [ <optional> array $params = [] ] + } + - Return [ bool ] + } + + Method [ <internal:openswoole> public method fetchAll ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $result_type = OPENSWOOLE_PGSQL_ASSOC ] + } + - Return [ array|false ] + } + + Method [ <internal:openswoole> public method affectedRows ] { + + - Parameters [0] { + } + - Return [ int|false ] + } + + Method [ <internal:openswoole> public method numRows ] { + + - Parameters [0] { + } + - Return [ int|false ] + } + + Method [ <internal:openswoole> public method fieldCount ] { + + - Parameters [0] { + } + - Return [ int|false ] + } + + Method [ <internal:openswoole> public method fetchObject ] { + + - Parameters [3] { + Parameter #0 [ <optional> int $row = null ] + Parameter #1 [ <optional> ?string $class_name = null ] + Parameter #2 [ <optional> array $ctor_params = [] ] + } + - Return [ object|false ] + } + + Method [ <internal:openswoole> public method fetchAssoc ] { + + - Parameters [1] { + Parameter #0 [ <optional> int $row = null ] + } + - Return [ array|false ] + } + + Method [ <internal:openswoole> public method fetchArray ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $row = null ] + Parameter #1 [ <optional> int $result_type = OPENSWOOLE_PGSQL_BOTH ] + } + - Return [ array|false ] + } + + Method [ <internal:openswoole> public method fetchRow ] { + + - Parameters [2] { + Parameter #0 [ <optional> int $row = null ] + Parameter #1 [ <optional> int $result_type = OPENSWOOLE_PGSQL_NUM ] + } + - Return [ array|false ] + } + } + } + } +} + |