summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore9
-rw-r--r--Makefile4
-rw-r--r--PHPINFO39
-rw-r--r--REFLECTION9636
-rw-r--r--php-pecl-openswoole22.spec911
5 files changed, 10599 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..01f0400
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+clog
+package-*.xml
+*.tgz
+*.tar.bz2
+*.tar.gz
+*.tar.xz
+*.tar.xz.asc
+*.src.rpm
+*/*rpm
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..13af741
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+SRCDIR := $(shell pwd)
+NAME := $(shell basename $(SRCDIR))
+include ../../../common/Makefile
+
diff --git a/PHPINFO b/PHPINFO
new file mode 100644
index 0000000..ca62cbb
--- /dev/null
+++ b/PHPINFO
@@ -0,0 +1,39 @@
+
+openswoole
+
+Open Swoole => enabled
+Author => Open Swoole Group <hello@openswoole.com>
+Version => 4.12.1
+Built => Dec 21 2022 00:00:00
+coroutine => enabled with boost asm context
+trace_log => enabled
+epoll => enabled
+eventfd => enabled
+signalfd => enabled
+cpu_affinity => enabled
+spinlock => enabled
+rwlock => enabled
+sockets => enabled
+openssl => OpenSSL 3.0.5 5 Jul 2022
+dtls => enabled
+http2 => enabled
+json => enabled
+curl-native => enabled
+pcre => enabled
+c-ares => 1.17.2
+zlib => 1.2.12
+brotli => E16777225/D16777225
+mutex_timedlock => enabled
+pthread_barrier => enabled
+futex => enabled
+mysqlnd => enabled
+async_redis => enabled
+postgresql => enabled
+
+Directive => Local Value => Master Value
+swoole.enable_coroutine => On => On
+swoole.enable_library => On => On
+swoole.enable_preemptive_scheduler => Off => Off
+swoole.display_errors => On => On
+swoole.use_shortname => On => On
+swoole.unixsock_buffer_size => 8388608 => 8388608
diff --git a/REFLECTION b/REFLECTION
new file mode 100644
index 0000000..4a05c49
--- /dev/null
+++ b/REFLECTION
@@ -0,0 +1,9636 @@
+Extension [ <persistent> extension #120 openswoole version 4.12.1 ] {
+
+ - Dependencies {
+ Dependency [ swoole (Conflicts) ]
+ Dependency [ json (Required) ]
+ Dependency [ mysqlnd (Required) ]
+ Dependency [ sockets (Required) ]
+ Dependency [ curl (Required) ]
+ }
+
+ - INI {
+ Entry [ swoole.enable_coroutine <ALL> ]
+ Current = 'On'
+ }
+ Entry [ swoole.enable_library <ALL> ]
+ Current = 'On'
+ }
+ Entry [ swoole.enable_preemptive_scheduler <ALL> ]
+ Current = 'Off'
+ }
+ Entry [ swoole.display_errors <ALL> ]
+ Current = 'On'
+ }
+ Entry [ swoole.use_shortname <SYSTEM> ]
+ Current = 'On'
+ }
+ Entry [ swoole.unixsock_buffer_size <ALL> ]
+ Current = '8388608'
+ }
+ }
+
+ - Constants [395] {
+ Constant [ string SWOOLE_VERSION ] { 4.12.1 }
+ Constant [ int SWOOLE_VERSION_ID ] { 41201 }
+ Constant [ int SWOOLE_MAJOR_VERSION ] { 4 }
+ Constant [ int SWOOLE_MINOR_VERSION ] { 12 }
+ Constant [ int SWOOLE_RELEASE_VERSION ] { 1 }
+ Constant [ string SWOOLE_EXTRA_VERSION ] { }
+ Constant [ bool SWOOLE_DEBUG ] { }
+ Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 }
+ Constant [ bool SWOOLE_HAVE_ZLIB ] { 1 }
+ Constant [ bool SWOOLE_HAVE_BROTLI ] { 1 }
+ Constant [ bool SWOOLE_USE_HTTP2 ] { 1 }
+ Constant [ bool SWOOLE_USE_POSTGRES ] { 1 }
+ Constant [ bool SWOOLE_USE_SHORTNAME ] { 1 }
+ Constant [ int SWOOLE_SOCK_TCP ] { 1 }
+ Constant [ int SWOOLE_SOCK_TCP6 ] { 3 }
+ Constant [ int SWOOLE_SOCK_UDP ] { 2 }
+ Constant [ int SWOOLE_SOCK_UDP6 ] { 4 }
+ Constant [ int SWOOLE_SOCK_UNIX_DGRAM ] { 6 }
+ Constant [ int SWOOLE_SOCK_UNIX_STREAM ] { 5 }
+ Constant [ int SWOOLE_TCP ] { 1 }
+ Constant [ int SWOOLE_TCP6 ] { 3 }
+ Constant [ int SWOOLE_UDP ] { 2 }
+ Constant [ int SWOOLE_UDP6 ] { 4 }
+ Constant [ int SWOOLE_UNIX_DGRAM ] { 6 }
+ Constant [ int SWOOLE_UNIX_STREAM ] { 5 }
+ Constant [ bool SWOOLE_SOCK_SYNC ] { }
+ Constant [ bool SWOOLE_SOCK_ASYNC ] { 1 }
+ Constant [ int SWOOLE_SYNC ] { 2048 }
+ Constant [ int SWOOLE_ASYNC ] { 1024 }
+ Constant [ int SWOOLE_KEEP ] { 4096 }
+ Constant [ int SWOOLE_SSL ] { 512 }
+ Constant [ int SWOOLE_SSLv3_METHOD ] { 1 }
+ Constant [ int SWOOLE_SSLv3_SERVER_METHOD ] { 2 }
+ Constant [ int SWOOLE_SSLv3_CLIENT_METHOD ] { 3 }
+ Constant [ int SWOOLE_TLSv1_METHOD ] { 6 }
+ Constant [ int SWOOLE_TLSv1_SERVER_METHOD ] { 7 }
+ Constant [ int SWOOLE_TLSv1_CLIENT_METHOD ] { 8 }
+ Constant [ int SWOOLE_TLSv1_1_METHOD ] { 9 }
+ Constant [ int SWOOLE_TLSv1_1_SERVER_METHOD ] { 10 }
+ Constant [ int SWOOLE_TLSv1_1_CLIENT_METHOD ] { 11 }
+ Constant [ int SWOOLE_TLSv1_2_METHOD ] { 12 }
+ Constant [ int SWOOLE_TLSv1_2_SERVER_METHOD ] { 13 }
+ Constant [ int SWOOLE_TLSv1_2_CLIENT_METHOD ] { 14 }
+ Constant [ int SWOOLE_DTLS_SERVER_METHOD ] { 16 }
+ Constant [ int SWOOLE_DTLS_CLIENT_METHOD ] { 15 }
+ Constant [ int SWOOLE_SSLv23_METHOD ] { 0 }
+ Constant [ int SWOOLE_SSLv23_SERVER_METHOD ] { 4 }
+ Constant [ int SWOOLE_SSLv23_CLIENT_METHOD ] { 5 }
+ Constant [ int SWOOLE_TLS_METHOD ] { 0 }
+ Constant [ int SWOOLE_TLS_SERVER_METHOD ] { 4 }
+ Constant [ int SWOOLE_TLS_CLIENT_METHOD ] { 5 }
+ Constant [ int SWOOLE_SSL_TLSv1 ] { 8 }
+ Constant [ int SWOOLE_SSL_TLSv1_1 ] { 16 }
+ Constant [ int SWOOLE_SSL_TLSv1_2 ] { 32 }
+ Constant [ int SWOOLE_SSL_TLSv1_3 ] { 64 }
+ Constant [ int SWOOLE_SSL_DTLS ] { 128 }
+ Constant [ int SWOOLE_SSL_SSLv2 ] { 2 }
+ Constant [ int SWOOLE_EVENT_READ ] { 512 }
+ Constant [ int SWOOLE_EVENT_WRITE ] { 1024 }
+ Constant [ int SWOOLE_STRERROR_SYSTEM ] { 0 }
+ Constant [ int SWOOLE_STRERROR_GAI ] { 1 }
+ Constant [ int SWOOLE_STRERROR_DNS ] { 2 }
+ Constant [ int SWOOLE_STRERROR_SWOOLE ] { 9 }
+ Constant [ int SWOOLE_ERROR_MALLOC_FAIL ] { 501 }
+ Constant [ int SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 }
+ Constant [ int SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 }
+ Constant [ int SWOOLE_ERROR_NAME_TOO_LONG ] { 504 }
+ Constant [ int SWOOLE_ERROR_INVALID_PARAMS ] { 505 }
+ Constant [ int SWOOLE_ERROR_QUEUE_FULL ] { 506 }
+ Constant [ int SWOOLE_ERROR_OPERATION_NOT_SUPPORT ] { 507 }
+ Constant [ int SWOOLE_ERROR_PROTOCOL_ERROR ] { 508 }
+ Constant [ int SWOOLE_ERROR_WRONG_OPERATION ] { 509 }
+ Constant [ int SWOOLE_ERROR_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_EXIT_IN_COROUTINE ] { 2 }
+ Constant [ int SWOOLE_EXIT_IN_SERVER ] { 4 }
+ Constant [ int SWOOLE_CHANNEL_OK ] { 0 }
+ Constant [ int SWOOLE_CHANNEL_TIMEOUT ] { -1 }
+ Constant [ int SWOOLE_CHANNEL_CLOSED ] { -2 }
+ Constant [ int SWOOLE_CHANNEL_CANCELED ] { -3 }
+ Constant [ int SWOOLE_HOOK_TCP ] { 2 }
+ Constant [ int SWOOLE_HOOK_UDP ] { 4 }
+ Constant [ int SWOOLE_HOOK_UNIX ] { 8 }
+ Constant [ int SWOOLE_HOOK_UDG ] { 16 }
+ Constant [ int SWOOLE_HOOK_SSL ] { 32 }
+ Constant [ int SWOOLE_HOOK_TLS ] { 64 }
+ Constant [ int SWOOLE_HOOK_STREAM_FUNCTION ] { 128 }
+ Constant [ int SWOOLE_HOOK_STREAM_SELECT ] { 128 }
+ Constant [ int SWOOLE_HOOK_FILE ] { 256 }
+ Constant [ int SWOOLE_HOOK_STDIO ] { 32768 }
+ Constant [ int SWOOLE_HOOK_SLEEP ] { 512 }
+ Constant [ int SWOOLE_HOOK_PROC ] { 1024 }
+ Constant [ int SWOOLE_HOOK_CURL ] { 2048 }
+ Constant [ int SWOOLE_HOOK_NATIVE_CURL ] { 4096 }
+ Constant [ int SWOOLE_HOOK_BLOCKING_FUNCTION ] { 8192 }
+ Constant [ int SWOOLE_HOOK_SOCKETS ] { 16384 }
+ Constant [ int SWOOLE_HOOK_ALL ] { 2147481599 }
+ Constant [ int SOCKET_ECANCELED ] { 125 }
+ Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_CONNECT_FAILED ] { -1 }
+ Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_REQUEST_TIMEOUT ] { -2 }
+ Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_SERVER_RESET ] { -3 }
+ Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_SEND_FAILED ] { -4 }
+ Constant [ int SWOOLE_MYSQLND_CR_UNKNOWN_ERROR ] { 2000 }
+ Constant [ int SWOOLE_MYSQLND_CR_CONNECTION_ERROR ] { 2002 }
+ Constant [ int SWOOLE_MYSQLND_CR_SERVER_GONE_ERROR ] { 2006 }
+ Constant [ int SWOOLE_MYSQLND_CR_OUT_OF_MEMORY ] { 2008 }
+ Constant [ int SWOOLE_MYSQLND_CR_SERVER_LOST ] { 2013 }
+ Constant [ int SWOOLE_MYSQLND_CR_COMMANDS_OUT_OF_SYNC ] { 2014 }
+ Constant [ int SWOOLE_MYSQLND_CR_CANT_FIND_CHARSET ] { 2019 }
+ Constant [ int SWOOLE_MYSQLND_CR_MALFORMED_PACKET ] { 2027 }
+ Constant [ int SWOOLE_MYSQLND_CR_NOT_IMPLEMENTED ] { 2054 }
+ Constant [ int SWOOLE_MYSQLND_CR_NO_PREPARE_STMT ] { 2030 }
+ Constant [ int SWOOLE_MYSQLND_CR_PARAMS_NOT_BOUND ] { 2031 }
+ Constant [ int SWOOLE_MYSQLND_CR_INVALID_PARAMETER_NO ] { 2034 }
+ Constant [ int SWOOLE_MYSQLND_CR_INVALID_BUFFER_USE ] { 2035 }
+ Constant [ int SWOOLE_REDIS_MODE_MULTI ] { 0 }
+ Constant [ int SWOOLE_REDIS_MODE_PIPELINE ] { 1 }
+ Constant [ int SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 }
+ Constant [ int SWOOLE_REDIS_TYPE_STRING ] { 1 }
+ Constant [ int SWOOLE_REDIS_TYPE_SET ] { 2 }
+ Constant [ int SWOOLE_REDIS_TYPE_LIST ] { 3 }
+ Constant [ int SWOOLE_REDIS_TYPE_ZSET ] { 4 }
+ Constant [ int SWOOLE_REDIS_TYPE_HASH ] { 5 }
+ Constant [ int SWOOLE_REDIS_ERR_IO ] { 1 }
+ Constant [ int SWOOLE_REDIS_ERR_OTHER ] { 2 }
+ Constant [ int SWOOLE_REDIS_ERR_EOF ] { 3 }
+ Constant [ int SWOOLE_REDIS_ERR_PROTOCOL ] { 4 }
+ Constant [ int SWOOLE_REDIS_ERR_OOM ] { 5 }
+ Constant [ int SWOOLE_REDIS_ERR_CLOSED ] { 6 }
+ Constant [ int SWOOLE_REDIS_ERR_NOAUTH ] { 7 }
+ Constant [ int SWOOLE_REDIS_ERR_ALLOC ] { 8 }
+ Constant [ int SWOOLE_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_version ] {
+
+ - Parameters [0] {
+ }
+ }
+ Function [ <internal:openswoole> function swoole_cpu_num ] {
+
+ - Parameters [0] {
+ }
+ }
+ Function [ <internal:openswoole> function swoole_last_error ] {
+
+ - Parameters [0] {
+ }
+ }
+ Function [ <internal:openswoole> function swoole_async_dns_lookup_coro ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $domain_name ]
+ Parameter #1 [ <optional> $timeout = <default> ]
+ Parameter #2 [ <optional> $type = <default> ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_async_set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ }
+ 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_client_select ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> &$read_array ]
+ Parameter #1 [ <required> &$write_array ]
+ Parameter #2 [ <required> &$error_array ]
+ Parameter #3 [ <optional> $timeout = <default> ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_select ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> &$read_array ]
+ Parameter #1 [ <required> &$write_array ]
+ Parameter #2 [ <required> &$error_array ]
+ Parameter #3 [ <optional> $timeout = <default> ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_set_process_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $process_name ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_get_local_ip ] {
+
+ - Parameters [0] {
+ }
+ }
+ Function [ <internal:openswoole> function swoole_get_local_mac ] {
+
+ - Parameters [0] {
+ }
+ }
+ Function [ <internal:openswoole> function swoole_strerror ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $errno ]
+ Parameter #1 [ <optional> $error_type = <default> ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_errno ] {
+
+ - Parameters [0] {
+ }
+ }
+ Function [ <internal:openswoole> function swoole_clear_error ] {
+
+ - Parameters [0] {
+ }
+ }
+ Function [ <internal:openswoole> function swoole_error_log ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $level ]
+ Parameter #1 [ <required> $msg ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_hashcode ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $data ]
+ Parameter #1 [ <optional> $type = <default> ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_mime_type_add ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $suffix ]
+ Parameter #1 [ <required> $mime_type ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_mime_type_set ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $suffix ]
+ Parameter #1 [ <required> $mime_type ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_mime_type_delete ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $suffix ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_mime_type_get ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $filename ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_get_mime_type ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $filename ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_mime_type_exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $filename ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_mime_type_list ] {
+
+ - Parameters [0] {
+ }
+ }
+ Function [ <internal:openswoole> function swoole_clear_dns_cache ] {
+
+ - Parameters [0] {
+ }
+ }
+ Function [ <internal:openswoole> function swoole_substr_unserialize ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $str ]
+ Parameter #1 [ <required> $offset ]
+ Parameter #2 [ <optional> $length = <default> ]
+ Parameter #3 [ <optional> $options = <default> ]
+ }
+ }
+ Function [ <internal:openswoole> function swoole_substr_json_decode ] {
+
+ - Parameters [6] {
+ Parameter #0 [ <required> $json ]
+ Parameter #1 [ <required> $offset ]
+ Parameter #2 [ <optional> $length = <default> ]
+ Parameter #3 [ <optional> $associative = <default> ]
+ Parameter #4 [ <optional> $depth = <default> ]
+ Parameter #5 [ <optional> $flags = <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 = SWOOLE_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 = SWOOLE_EVENT_READ ]
+ }
+ - Return [ bool ]
+ }
+ Method [ <internal:openswoole> public method swoole_event_isset ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $sock ]
+ Parameter #1 [ <optional> int $flags = SWOOLE_EVENT_READ | SWOOLE_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_set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+ 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 [53] {
+ Class [ <internal:openswoole> class Swoole\Exception extends Exception implements Throwable, Stringable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Error extends Error implements Throwable, Stringable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Error, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Error> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Error, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Event ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [11] {
+ 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 = SWOOLE_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 = SWOOLE_EVENT_READ ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> static public method isset ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $sock ]
+ Parameter #1 [ <optional> int $flags = SWOOLE_EVENT_READ | SWOOLE_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 rshutdown ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:openswoole> static public method exit ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\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 Swoole\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 Swoole\Lock ] {
+
+ - Constants [5] {
+ Constant [ public int FILELOCK ] { 2 }
+ Constant [ public int MUTEX ] { 3 }
+ Constant [ public int SEM ] { 4 }
+ Constant [ public int RWLOCK ] { 1 }
+ Constant [ public int SPINLOCK ] { 5 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [1] {
+ Property [ public $errCode = 0 ]
+ }
+
+ - Methods [9] {
+ Method [ <internal:openswoole, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $type = SWOOLE_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 Swoole\Process ] {
+
+ - Constants [5] {
+ Constant [ public int IPC_NOWAIT ] { 256 }
+ Constant [ public int PIPE_MASTER ] { 1 }
+ Constant [ public int PIPE_WORKER ] { 2 }
+ Constant [ public int PIPE_READ ] { 3 }
+ Constant [ public int PIPE_WRITE ] { 4 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [6] {
+ Method [ <internal: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 [20] {
+ 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 ]
+ }
+
+ Method [ <internal:openswoole> public method name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $processName ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Process\Pool ] {
+
+ - Constants [0] {
+ }
+
+ - 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 = SWOOLE_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 [ Swoole\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 Swoole\Table implements Iterator, Traversable, Countable ] {
+
+ - Constants [3] {
+ Constant [ public int TYPE_INT ] { 1 }
+ Constant [ public int TYPE_STRING ] { 3 }
+ Constant [ public int TYPE_FLOAT ] { 2 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [2] {
+ Property [ public $size = NULL ]
+ Property [ public $memorySize = NULL ]
+ }
+
+ - Methods [20] {
+ 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 ]
+ }
+
+ Method [ <internal:openswoole> public method delete ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method exist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Timer ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [9] {
+ Method [ <internal, deprecated:openswoole> static public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ 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 Swoole\Timer\Iterator extends ArrayIterator implements Countable, Serializable, ArrayAccess, Iterator, Traversable, SeekableIterator ] {
+
+ - Constants [2] {
+ Constant [ public int STD_PROP_LIST ] { 1 }
+ Constant [ public int ARRAY_AS_PROPS ] { 2 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [27] {
+ Method [ <internal:SPL, inherits ArrayIterator, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> object|array $array = [] ]
+ Parameter #1 [ <optional> int $flags = 0 ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method append ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method getArrayCopy ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Countable> public method count ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ int ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method getFlags ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ int ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method setFlags ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $flags ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method asort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flags = SORT_REGULAR ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method ksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flags = SORT_REGULAR ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method uasort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method uksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method natsort ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method natcasesort ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ string ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method __serialize ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method __unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $data ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method rewind ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method current ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method key ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ string|int|null ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method next ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method valid ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype SeekableIterator> public method seek ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $offset ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method __debugInfo ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Coroutine ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [40] {
+ 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 suspend ] {
+
+ - 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 getuid ] {
+
+ - 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 listCoroutines ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Swoole\Coroutine\Iterator ]
+ }
+
+ 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 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 dnsLookup ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $domain ]
+ Parameter #1 [ <optional> float $timeout = 5 ]
+ }
+ - 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, deprecated:openswoole> static public method fread ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $handle ]
+ Parameter #1 [ <optional> int $length = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal, deprecated:openswoole> static public method fwrite ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $handle ]
+ Parameter #1 [ <required> string $data ]
+ Parameter #2 [ <optional> int $length = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal, deprecated:openswoole> static public method fgets ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $handle ]
+ }
+ - Return [ string|bool ]
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:openswoole> <iterateable> class Swoole\Coroutine\Iterator extends ArrayIterator implements Countable, Serializable, ArrayAccess, Iterator, Traversable, SeekableIterator ] {
+
+ - Constants [2] {
+ Constant [ public int STD_PROP_LIST ] { 1 }
+ Constant [ public int ARRAY_AS_PROPS ] { 2 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [27] {
+ Method [ <internal:SPL, inherits ArrayIterator, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> object|array $array = [] ]
+ Parameter #1 [ <optional> int $flags = 0 ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method append ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method getArrayCopy ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Countable> public method count ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ int ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method getFlags ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ int ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method setFlags ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $flags ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method asort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flags = SORT_REGULAR ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method ksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flags = SORT_REGULAR ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method uasort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method uksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method natsort ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method natcasesort ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ string ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method __serialize ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method __unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $data ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method rewind ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method current ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method key ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ string|int|null ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method next ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype Iterator> public method valid ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator, prototype SeekableIterator> public method seek ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $offset ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayIterator> public method __debugInfo ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> <iterateable> class Swoole\Coroutine\Context extends ArrayObject implements Countable, Serializable, ArrayAccess, Traversable, IteratorAggregate ] {
+
+ - Constants [2] {
+ Constant [ public int STD_PROP_LIST ] { 1 }
+ Constant [ public int ARRAY_AS_PROPS ] { 2 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [25] {
+ Method [ <internal:SPL, inherits ArrayObject, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> object|array $array = [] ]
+ Parameter #1 [ <optional> int $flags = 0 ]
+ Parameter #2 [ <optional> string $iteratorClass = ArrayIterator::class ]
+ }
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method append ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method getArrayCopy ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype Countable> public method count ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ int ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method getFlags ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ int ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method setFlags ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $flags ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method asort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flags = SORT_REGULAR ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method ksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flags = SORT_REGULAR ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method uasort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method uksort ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method natsort ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method natcasesort ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype Serializable> public method unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ string ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method __serialize ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method __unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $data ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ Iterator ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method exchangeArray ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> object|array $array ]
+ }
+ - Tentative return [ array ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method setIteratorClass ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $iteratorClass ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method getIteratorClass ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ string ]
+ }
+
+ Method [ <internal:SPL, inherits ArrayObject> public method __debugInfo ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ array ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\ExitException extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [6] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ Property [ private $flags = 0 ]
+ Property [ private $status = 0 ]
+ }
+
+ - Methods [12] {
+ Method [ <internal: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 Swoole\Coroutine\System ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [16] {
+ 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 dnsLookup ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $domain ]
+ Parameter #1 [ <optional> float $timeout = 5 ]
+ }
+ - 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, deprecated:openswoole> static public method fread ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $handle ]
+ Parameter #1 [ <optional> int $length = 0 ]
+ }
+ - Return [ string|false ]
+ }
+
+ Method [ <internal, deprecated:openswoole> static public method fwrite ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> mixed $handle ]
+ Parameter #1 [ <required> string $data ]
+ Parameter #2 [ <optional> int $length = 0 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal, deprecated:openswoole> static public method fgets ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $handle ]
+ }
+ - Return [ string|bool ]
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:openswoole> final class Swoole\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 Swoole\Coroutine\Channel ] {
+
+ - Constants [0] {
+ }
+
+ - 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 Swoole\Runtime ] {
+
+ - Constants [0] {
+ }
+
+ - 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 = SWOOLE_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 = SWOOLE_HOOK_ALL ]
+ }
+ - Return [ void ]
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Coroutine\Curl\Exception extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Coroutine\Socket ] {
+
+ - Constants [0] {
+ }
+
+ - 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 [ Swoole\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 = SWOOLE_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 Swoole\Coroutine\Socket\Exception extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Client ] {
+
+ - Constants [7] {
+ Constant [ public int MSG_OOB ] { 1 }
+ Constant [ public int MSG_PEEK ] { 2 }
+ Constant [ public int MSG_DONTWAIT ] { 64 }
+ Constant [ public int MSG_WAITALL ] { 256 }
+ Constant [ public int SHUT_RDWR ] { 2 }
+ Constant [ public int SHUT_RD ] { 0 }
+ Constant [ public int SHUT_WR ] { 1 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [7] {
+ Property [ public $errCode = 0 ]
+ Property [ public $sock = -1 ]
+ Property [ public $reuse = false ]
+ Property [ public $reuseCount = 0 ]
+ Property [ public $type = 0 ]
+ Property [ public $id = NULL ]
+ Property [ public $setting = NULL ]
+ }
+
+ - Methods [17] {
+ Method [ <internal: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 Swoole\Client\Exception extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Coroutine\Client ] {
+
+ - Constants [4] {
+ Constant [ public int MSG_OOB ] { 1 }
+ Constant [ public int MSG_PEEK ] { 2 }
+ Constant [ public int MSG_DONTWAIT ] { 64 }
+ Constant [ public int MSG_WAITALL ] { 256 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [7] {
+ Property [ public $errCode = 0 ]
+ Property [ public $errMsg = '' ]
+ Property [ public $fd = -1 ]
+ Property [ 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 [ Swoole\Coroutine\Socket|bool ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Coroutine\Http\Client ] {
+
+ - Constants [0] {
+ }
+
+ - 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 Swoole\Coroutine\Http\Client\Exception extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Coroutine\MySQL ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [9] {
+ Property [ public $serverInfo = NULL ]
+ Property [ public $sock = -1 ]
+ Property [ public $connected = false ]
+ Property [ public $connect_errno = 0 ]
+ Property [ public $connect_error = '' ]
+ Property [ public $affected_rows = 0 ]
+ Property [ public $insert_id = 0 ]
+ Property [ public $error = '' ]
+ Property [ public $errno = 0 ]
+ }
+
+ - Methods [16] {
+ Method [ <internal, deprecated:openswoole, ctor> public method __construct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method getDefer ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method setDefer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $defer = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method connect ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> array $server_config = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method query ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $sql ]
+ Parameter #1 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method fetch ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method fetchAll ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method nextResult ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method prepare ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $query ]
+ Parameter #1 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method recv ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method begin ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method commit ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method rollback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method escape ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $string ]
+ Parameter #1 [ <optional> $flags = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Coroutine\MySQL\Statement ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [5] {
+ Property [ public $id = 0 ]
+ Property [ public $affected_rows = 0 ]
+ Property [ public $insert_id = 0 ]
+ Property [ public $error = '' ]
+ Property [ public $errno = 0 ]
+ }
+
+ - Methods [6] {
+ Method [ <internal, deprecated:openswoole> public method execute ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $params = <default> ]
+ Parameter #1 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method fetch ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method fetchAll ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method nextResult ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method recv ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Coroutine\MySQL\Exception extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Coroutine\Redis ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [8] {
+ Property [ public $host = '' ]
+ Property [ public $port = 0 ]
+ Property [ public $setting = NULL ]
+ Property [ public $sock = -1 ]
+ Property [ public $connected = false ]
+ Property [ public $errType = 0 ]
+ Property [ public $errCode = 0 ]
+ Property [ public $errMsg = '' ]
+ }
+
+ - Methods [165] {
+ Method [ <internal:openswoole, ctor> public method __construct ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> array $setting = [] ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:openswoole> public method connect ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <optional> bool $serialize = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method getAuth ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:openswoole> public method getDBNum ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole> public method getOptions ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method setOptions ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $options ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method getDefer ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method setDefer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $defer = true ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method recv ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:openswoole> public method request ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $params ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:openswoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method set ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> mixed $value ]
+ Parameter #2 [ <optional> mixed $opt = null ]
+ }
+ - Return [ Swoole\Coroutine\Redis|bool ]
+ }
+
+ Method [ <internal:openswoole> public method setBit ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $idx ]
+ Parameter #2 [ <required> bool $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method setEx ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $expire ]
+ Parameter #2 [ <required> mixed $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|bool ]
+ }
+
+ Method [ <internal:openswoole> public method psetEx ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $expire ]
+ Parameter #2 [ <required> mixed $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|bool ]
+ }
+
+ Method [ <internal:openswoole> public method lSet ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $index ]
+ Parameter #2 [ <required> string $value ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method get ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ Swoole\Coroutine\Redis|string ]
+ }
+
+ Method [ <internal:openswoole> public method mGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $keys ]
+ }
+ - Return [ Swoole\Coroutine\Redis|array ]
+ }
+
+ Method [ <internal:openswoole> public method del ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array|string $key ]
+ Parameter #1 [ <optional> string ...$other_keys ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method hDel ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $member ]
+ Parameter #2 [ <optional> string ...$other_members ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method hSet ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $member ]
+ Parameter #2 [ <required> string $value ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method hMSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> array $keyvals ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method hSetNx ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $member ]
+ Parameter #2 [ <required> string $value ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method delete ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array|string $key ]
+ Parameter #1 [ <optional> string ...$other_keys ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method mSet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $key_values ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method mSetNx ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $key_values ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method getKeys ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $pattern ]
+ }
+ - Return [ Swoole\Coroutine\Redis|array ]
+ }
+
+ Method [ <internal:openswoole> public method keys ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $pattern ]
+ }
+ - Return [ Swoole\Coroutine\Redis|array ]
+ }
+
+ Method [ <internal:openswoole> public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ Swoole\Coroutine\Redis|bool ]
+ }
+
+ Method [ <internal:openswoole> public method type ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method strLen ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method lPop ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ Swoole\Coroutine\Redis|string ]
+ }
+
+ Method [ <internal:openswoole> public method blPop ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> array|string $key ]
+ Parameter #1 [ <required> string|int $timeout_or_key ]
+ Parameter #2 [ <optional> mixed ...$extra_args ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method rPop ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ Swoole\Coroutine\Redis|string ]
+ }
+
+ Method [ <internal:openswoole> public method brPop ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> array|string $key ]
+ Parameter #1 [ <required> string|int $timeout_or_key ]
+ Parameter #2 [ <optional> mixed ...$extra_args ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method bRPopLPush ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $src ]
+ Parameter #1 [ <required> string $dst ]
+ Parameter #2 [ <required> int $timeout ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:openswoole> public method lSize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method lLen ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method sSize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method scard ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method sPop ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> int $count = 0 ]
+ }
+ - Return [ array|string ]
+ }
+
+ Method [ <internal:openswoole> public method sMembers ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method sGetMembers ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method sRandMember ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> int $count = 0 ]
+ }
+ - Return [ array|string ]
+ }
+
+ Method [ <internal:openswoole> public method persist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method ttl ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method pttl ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zCard ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zSize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method hLen ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method hKeys ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method hVals ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method hGetAll ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method debug ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:openswoole> public method restore ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $timeout ]
+ Parameter #2 [ <required> string $value ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method dump ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:openswoole> public method renameKey ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key_src ]
+ Parameter #1 [ <required> string $key_dst ]
+ }
+ - Return [ Swoole\Coroutine\Redis|bool ]
+ }
+
+ Method [ <internal:openswoole> public method rename ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key_src ]
+ Parameter #1 [ <required> string $key_dst ]
+ }
+ - Return [ Swoole\Coroutine\Redis|bool ]
+ }
+
+ Method [ <internal:openswoole> public method renameNx ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key_src ]
+ Parameter #1 [ <required> string $key_dst ]
+ }
+ - Return [ Swoole\Coroutine\Redis|bool ]
+ }
+
+ Method [ <internal:openswoole> public method rpoplpush ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $src ]
+ Parameter #1 [ <required> string $dst ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:openswoole> public method randomKey ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Swoole\Coroutine\Redis|string ]
+ }
+
+ Method [ <internal:openswoole> public method pfadd ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> array $elements ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method pfcount ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method pfmerge ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $dst ]
+ Parameter #1 [ <required> array $keys ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method ping ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> ?string $key = null ]
+ }
+ - Return [ Swoole\Coroutine\Redis|string ]
+ }
+
+ Method [ <internal:openswoole> public method auth ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $credentials ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method unwatch ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Swoole\Coroutine\Redis|bool ]
+ }
+
+ Method [ <internal:openswoole> public method watch ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array|string $key ]
+ Parameter #1 [ <optional> string ...$other_keys ]
+ }
+ - Return [ Swoole\Coroutine\Redis|bool ]
+ }
+
+ Method [ <internal:openswoole> public method save ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method bgSave ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method lastSave ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method flushDB ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $async = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method flushAll ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $async = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method dbSize ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method bgrewriteaof ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method time ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method role ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:openswoole> public method setRange ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $start ]
+ Parameter #2 [ <required> string $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method setNx ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|array|bool ]
+ }
+
+ Method [ <internal:openswoole> public method getSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|string ]
+ }
+
+ Method [ <internal:openswoole> public method append ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method lPushx ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method lPush ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method rPush ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method rPushx ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method sContains ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method sismember ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method zScore ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> mixed $member ]
+ }
+ - Return [ float ]
+ }
+
+ Method [ <internal:openswoole> public method zRank ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $member ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zRevRank ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $member ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method hGet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $member ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:openswoole> public method hMGet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> array $keys ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method hExists ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $member ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method publish ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $channel ]
+ Parameter #1 [ <required> string $message ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zIncrBy ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> float $value ]
+ Parameter #2 [ <required> mixed $member ]
+ }
+ - Return [ float ]
+ }
+
+ Method [ <internal:openswoole> public method zAdd ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $score ]
+ Parameter #2 [ <required> string $value ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zPopMin ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> ?int $value = null ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method zPopMax ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> ?int $value = null ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method bzPopMin ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> array|string $key ]
+ Parameter #1 [ <required> string|int $timeout_or_key ]
+ Parameter #2 [ <optional> mixed ...$extra_args ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method bzPopMax ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> array|string $key ]
+ Parameter #1 [ <required> string|int $timeout_or_key ]
+ Parameter #2 [ <optional> mixed ...$extra_args ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method zDeleteRangeByScore ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $start ]
+ Parameter #2 [ <required> string $end ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zRemRangeByScore ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $start ]
+ Parameter #2 [ <required> string $end ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zCount ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $start ]
+ Parameter #2 [ <required> string $end ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zRange ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $start ]
+ Parameter #2 [ <required> int $end ]
+ Parameter #3 [ <optional> mixed $scores = null ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method zRevRange ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $start ]
+ Parameter #2 [ <required> int $end ]
+ Parameter #3 [ <optional> mixed $scores = null ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method zRangeByScore ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $start ]
+ Parameter #2 [ <required> string $end ]
+ Parameter #3 [ <optional> array $options = [] ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method zRevRangeByScore ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $start ]
+ Parameter #2 [ <required> string $end ]
+ Parameter #3 [ <optional> array $options = [] ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method zRangeByLex ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $min ]
+ Parameter #2 [ <required> string $max ]
+ Parameter #3 [ <optional> int $offset = -1 ]
+ Parameter #4 [ <optional> int $count = -1 ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method zRevRangeByLex ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $min ]
+ Parameter #2 [ <required> string $max ]
+ Parameter #3 [ <optional> int $offset = -1 ]
+ Parameter #4 [ <optional> int $count = -1 ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method zInter ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> array $keys ]
+ Parameter #1 [ <optional> array $weights = null ]
+ Parameter #2 [ <optional> array $options = null ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method zinterstore ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $dst ]
+ Parameter #1 [ <required> array $keys ]
+ Parameter #2 [ <optional> array $weights = null ]
+ Parameter #3 [ <optional> string $aggregate = null ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zUnion ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> array $keys ]
+ Parameter #1 [ <optional> array $weights = null ]
+ Parameter #2 [ <optional> array $options = null ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method zunionstore ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $dst ]
+ Parameter #1 [ <required> array $keys ]
+ Parameter #2 [ <optional> array $weights = null ]
+ Parameter #3 [ <optional> string $aggregate = null ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method incrBy ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method hIncrBy ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $member ]
+ Parameter #2 [ <required> int $value ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method incr ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method decrBy ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method decr ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $key ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method getBit ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $idx ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method lInsert ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $pos ]
+ Parameter #2 [ <required> mixed $pivot ]
+ Parameter #3 [ <required> mixed $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method lGet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $index ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:openswoole> public method lIndex ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $index ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:openswoole> public method setTimeout ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $timeout ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method expire ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $timeout ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method pexpire ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $timeout ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method expireAt ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $timeout ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method pexpireAt ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $timeout ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method move ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $index ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method select ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $db ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method getRange ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $start ]
+ Parameter #2 [ <required> int $end ]
+ }
+ - Return [ Swoole\Coroutine\Redis|string ]
+ }
+
+ Method [ <internal:openswoole> public method listTrim ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $start ]
+ Parameter #2 [ <required> int $end ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method ltrim ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $start ]
+ Parameter #2 [ <required> int $end ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method lGetRange ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $start ]
+ Parameter #2 [ <required> int $end ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method lRange ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $start ]
+ Parameter #2 [ <required> int $end ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method lRem ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $value ]
+ Parameter #2 [ <optional> int $count = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method lRemove ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $value ]
+ Parameter #2 [ <optional> int $count = 0 ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method zDeleteRangeByRank ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $start ]
+ Parameter #2 [ <required> int $end ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zRemRangeByRank ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> int $start ]
+ Parameter #2 [ <required> int $end ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method incrByFloat ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> float $value ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method hIncrByFloat ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $member ]
+ Parameter #2 [ <required> float $value ]
+ }
+ - Return [ float ]
+ }
+
+ Method [ <internal:openswoole> public method bitCount ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> int $start = 0 ]
+ Parameter #2 [ <optional> int $end = -1 ]
+ }
+ - Return [ Swoole\Coroutine\Redis|int ]
+ }
+
+ Method [ <internal:openswoole> public method bitOp ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $operation ]
+ Parameter #1 [ <required> string $deskey ]
+ Parameter #2 [ <required> string $srckey ]
+ Parameter #3 [ <optional> string ...$other_keys ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method sAdd ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> mixed $value ]
+ Parameter #2 [ <optional> mixed ...$other_values ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method sMove ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $src ]
+ Parameter #1 [ <required> string $dst ]
+ Parameter #2 [ <required> mixed $value ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method sDiff ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> string ...$other_keys ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method sDiffStore ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $dst ]
+ Parameter #1 [ <required> string $key ]
+ Parameter #2 [ <optional> string ...$other_keys ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method sUnion ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> string ...$other_keys ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method sUnionStore ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $dst ]
+ Parameter #1 [ <required> string $key ]
+ Parameter #2 [ <optional> string ...$other_keys ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method sInter ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <optional> string ...$other_keys ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method sInterStore ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $dst ]
+ Parameter #1 [ <required> string $key ]
+ Parameter #2 [ <optional> string ...$other_keys ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method sRemove ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $value ]
+ Parameter #2 [ <optional> string ...$other_values ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method srem ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $value ]
+ Parameter #2 [ <optional> string ...$other_values ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zDelete ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $member ]
+ Parameter #2 [ <optional> string ...$other_members ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zRemove ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $member ]
+ Parameter #2 [ <optional> string ...$other_members ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method zRem ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $member ]
+ Parameter #2 [ <optional> string ...$other_members ]
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole> public method pSubscribe ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $patterns ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:openswoole> public method subscribe ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $channel ]
+ Parameter #1 [ <optional> string ...$other_channels ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method unsubscribe ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $channel ]
+ Parameter #1 [ <optional> string ...$other_channels ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method pUnSubscribe ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $patterns ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method multi ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $value = Redis::MULTI ]
+ }
+ - Return [ Swoole\Coroutine\Redis|bool ]
+ }
+
+ Method [ <internal:openswoole> public method exec ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:openswoole> public method eval ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $script ]
+ Parameter #1 [ <optional> array $keys = null ]
+ Parameter #2 [ <optional> int $num_keys = 0 ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:openswoole> public method evalSha ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $sha1 ]
+ Parameter #1 [ <optional> array $keys = null ]
+ Parameter #2 [ <optional> int $num_keys = 0 ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:openswoole> public method script ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $command ]
+ Parameter #1 [ <optional> mixed ...$args ]
+ }
+ - Return [ mixed ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Coroutine\Http2\Client ] {
+
+ - Constants [0] {
+ }
+
+ - 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> Swoole\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 [ Swoole\Http2\Response|bool ]
+ }
+
+ Method [ <internal:openswoole> public method read ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ Swoole\Http2\Response|bool ]
+ }
+
+ Method [ <internal:openswoole> public method goaway ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $errorCode = SWOOLE_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 Swoole\Coroutine\Http2\Client\Exception extends Swoole\Exception implements Stringable, Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\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 Swoole\Http2\Response ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [8] {
+ Property [ public $streamId = 0 ]
+ Property [ public $errCode = 0 ]
+ Property [ public $statusCode = 0 ]
+ Property [ public $pipeline = false ]
+ Property [ public $headers = NULL ]
+ Property [ public $set_cookie_headers = NULL ]
+ Property [ public $cookies = NULL ]
+ Property [ public $data = NULL ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Server ] {
+
+ - Constants [0] {
+ }
+
+ - 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 [47] {
+ 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 = SWOOLE_PROCESS ]
+ Parameter #3 [ <optional> int $sockType = SWOOLE_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 [ Swoole\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 [ Swoole\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 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 exist ] {
+
+ - 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 getLastError ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ 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 connection_info ] {
+
+ - 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 connection_list ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $startFd = 0 ]
+ Parameter #1 [ <optional> int $pageSize = 10 ]
+ }
+ - Return [ array|bool ]
+ }
+
+ 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> Swoole\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 Swoole\Timer> public method after ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Timer> public method tick ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Timer> public method clearTimer ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Event> public method defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> final class Swoole\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 Swoole\Server\Event ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ public $reactor_id = 0 ]
+ Property [ public $fd = 0 ]
+ Property [ public $dispatch_time = 0.0 ]
+ Property [ public $data = NULL ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Server\Packet ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [5] {
+ Property [ public $server_socket = 0 ]
+ Property [ public $server_port = 0 ]
+ Property [ public $dispatch_time = 0.0 ]
+ Property [ public $address = NULL ]
+ Property [ public $port = 0 ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Server\PipeMessage ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [3] {
+ Property [ public $source_worker_id = 0 ]
+ Property [ public $dispatch_time = 0.0 ]
+ Property [ public $data = NULL ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Server\StatusInfo ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [5] {
+ Property [ public $worker_id = 0 ]
+ Property [ public $worker_pid = 0 ]
+ Property [ public $status = 0 ]
+ Property [ public $exit_code = 0 ]
+ Property [ public $signal = 0 ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Server\TaskResult ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ public $task_id = 0 ]
+ Property [ public $task_worker_id = 0 ]
+ Property [ public $dispatch_time = 0.0 ]
+ Property [ public $data = NULL ]
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:openswoole> <iterateable> class Swoole\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 Swoole\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 [6] {
+ 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 getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $event ]
+ }
+ - Return [ ?callable ]
+ }
+
+ Method [ <internal:openswoole> public method getSocket ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\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 Swoole\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 [ Swoole\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 = SWOOLE_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> Swoole\WebSocket\Frame|string $data ]
+ Parameter #1 [ <optional> int $opcode = SWOOLE_WEBSOCKET_OPCODE_TEXT ]
+ Parameter #2 [ <optional> int $flags = SWOOLE_WEBSOCKET_FLAG_FIN ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method recv ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $timeout = 0 ]
+ }
+ - Return [ Swoole\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 Swoole\Http\Server extends Swoole\Server ] {
+
+ - Constants [0] {
+ }
+
+ - 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 [47] {
+ Method [ <internal:openswoole, inherits Swoole\Server, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> int $mode = SWOOLE_PROCESS ]
+ Parameter #3 [ <optional> int $sockType = SWOOLE_SOCK_TCP ]
+ }
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method listen ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sockType ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method addlistener ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sockType ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method on ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $event ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $event ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method start ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\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 Swoole\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 Swoole\Server> public method sendwait ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <required> string $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method exist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method protect ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $isProtected = true ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\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 Swoole\Server> public method close ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $reset = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method confirm ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method pause ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method resume ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\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 Swoole\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 Swoole\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 Swoole\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 Swoole\Server> public method finish ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method reload ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method shutdown ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method stop ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $workerId ]
+ Parameter #1 [ <optional> bool $waitEvent = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getLastError ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method heartbeat ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $closeConn = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\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 Swoole\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 Swoole\Server> public method getWorkerId ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getWorkerPid ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $workerId = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getWorkerStatus ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $workerId = -1 ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getManagerPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getMasterPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method connection_info ] {
+
+ - 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 Swoole\Server> public method connection_list ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $startFd = 0 ]
+ Parameter #1 [ <optional> int $pageSize = 10 ]
+ }
+ - Return [ array|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method sendMessage ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $message ]
+ Parameter #1 [ <required> int $workerId ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method addProcess ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> Swoole\Process $process ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method stats ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $mode = 0 ]
+ }
+ - Return [ array|string|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getSocket ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $port = -1 ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method bind ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <required> int $uid ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Timer> public method after ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Timer> public method tick ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Timer> public method clearTimer ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Event> public method defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> final class Swoole\Coroutine\Http\Server ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [7] {
+ Property [ public $fd = -1 ]
+ Property [ public $host = NULL ]
+ Property [ public $port = -1 ]
+ Property [ public $ssl = false ]
+ Property [ public $settings = NULL ]
+ Property [ public $errCode = 0 ]
+ Property [ public $errMsg = '' ]
+ }
+
+ - Methods [7] {
+ Method [ <internal, deprecated:openswoole, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $host ]
+ Parameter #1 [ <optional> $port = <default> ]
+ Parameter #2 [ <optional> $ssl = <default> ]
+ Parameter #3 [ <optional> $reuse_port = <default> ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method handle ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $pattern ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> private method onAccept ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method start ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal, deprecated:openswoole> public method shutdown ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\WebSocket\Server extends Swoole\Http\Server ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [2] {
+ Method [ <internal:openswoole> static public method pack ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> Swoole\WebSocket\Frame|string $data ]
+ Parameter #1 [ <optional> int $opcode = SWOOLE_WEBSOCKET_OPCODE_TEXT ]
+ Parameter #2 [ <optional> int $flags = SWOOLE_WEBSOCKET_FLAG_FIN ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:openswoole> static public method unpack ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Return [ Swoole\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 [50] {
+ Method [ <internal:openswoole> public method push ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <required> Swoole\WebSocket\Frame|string $data ]
+ Parameter #2 [ <optional> int $opcode = SWOOLE_WEBSOCKET_OPCODE_TEXT ]
+ Parameter #3 [ <optional> int $flags = SWOOLE_WEBSOCKET_FLAG_FIN ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method disconnect ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> int $code = SWOOLE_WEBSOCKET_CLOSE_NORMAL ]
+ Parameter #2 [ <optional> string $reason = "" ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole> public method isEstablished ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> int $mode = SWOOLE_PROCESS ]
+ Parameter #3 [ <optional> int $sockType = SWOOLE_SOCK_TCP ]
+ }
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method listen ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sockType ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method addlistener ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sockType ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method on ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $event ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $event ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method start ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\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 Swoole\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 Swoole\Server> public method sendwait ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <required> string $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method exist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method protect ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $isProtected = true ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\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 Swoole\Server> public method close ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $reset = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method confirm ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method pause ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method resume ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\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 Swoole\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 Swoole\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 Swoole\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 Swoole\Server> public method finish ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method reload ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method shutdown ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method stop ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $workerId ]
+ Parameter #1 [ <optional> bool $waitEvent = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getLastError ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method heartbeat ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $closeConn = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\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 Swoole\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 Swoole\Server> public method getWorkerId ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getWorkerPid ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $workerId = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getWorkerStatus ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $workerId = -1 ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getManagerPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getMasterPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method connection_info ] {
+
+ - 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 Swoole\Server> public method connection_list ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $startFd = 0 ]
+ Parameter #1 [ <optional> int $pageSize = 10 ]
+ }
+ - Return [ array|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method sendMessage ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $message ]
+ Parameter #1 [ <required> int $workerId ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method addProcess ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> Swoole\Process $process ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method stats ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $mode = 0 ]
+ }
+ - Return [ array|string|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getSocket ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $port = -1 ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method bind ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <required> int $uid ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Timer> public method after ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Timer> public method tick ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Timer> public method clearTimer ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Event> public method defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\WebSocket\Frame implements Stringable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [2] {
+ Method [ <internal:openswoole> static public method pack ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> Swoole\WebSocket\Frame|string $data ]
+ Parameter #1 [ <optional> int $opcode = SWOOLE_WEBSOCKET_OPCODE_TEXT ]
+ Parameter #2 [ <optional> int $flags = SWOOLE_WEBSOCKET_FLAG_FIN ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:openswoole> static public method unpack ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Return [ Swoole\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 Swoole\WebSocket\CloseFrame extends Swoole\WebSocket\Frame implements Stringable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [2] {
+ Method [ <internal:openswoole, inherits Swoole\WebSocket\Frame> static public method pack ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> Swoole\WebSocket\Frame|string $data ]
+ Parameter #1 [ <optional> int $opcode = SWOOLE_WEBSOCKET_OPCODE_TEXT ]
+ Parameter #2 [ <optional> int $flags = SWOOLE_WEBSOCKET_FLAG_FIN ]
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\WebSocket\Frame> static public method unpack ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Return [ Swoole\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 Swoole\WebSocket\Frame, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Redis\Server extends Swoole\Server ] {
+
+ - Constants [7] {
+ Constant [ public int NIL ] { 1 }
+ Constant [ public int ERROR ] { 0 }
+ Constant [ public int STATUS ] { 2 }
+ Constant [ public int INT ] { 3 }
+ Constant [ public int STRING ] { 4 }
+ Constant [ public int SET ] { 5 }
+ Constant [ public int MAP ] { 6 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [1] {
+ Method [ <internal, deprecated:openswoole> static public method format ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $type ]
+ Parameter #1 [ <optional> mixed $value = null ]
+ }
+ - Return [ string|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 [49] {
+ Method [ <internal, deprecated:openswoole> public method setHandler ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $command ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal, deprecated:openswoole> public method getHandler ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $command ]
+ }
+ - Return [ callable|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server, ctor> public method __construct ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> int $mode = SWOOLE_PROCESS ]
+ Parameter #3 [ <optional> int $sockType = SWOOLE_SOCK_TCP ]
+ }
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method listen ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sockType ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method addlistener ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> string $host ]
+ Parameter #1 [ <required> int $port ]
+ Parameter #2 [ <required> int $sockType ]
+ }
+ - Return [ Swoole\Server\Port|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method on ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $event ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $event ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method set ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $settings ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method start ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\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 Swoole\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 Swoole\Server> public method sendwait ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <required> string $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method exist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method protect ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $isProtected = true ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\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 Swoole\Server> public method close ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <optional> bool $reset = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method confirm ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method pause ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method resume ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $fd ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\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 Swoole\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 Swoole\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 Swoole\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 Swoole\Server> public method finish ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $data ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method reload ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method shutdown ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method stop ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $workerId ]
+ Parameter #1 [ <optional> bool $waitEvent = false ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getLastError ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method heartbeat ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> bool $closeConn = false ]
+ }
+ - Return [ array|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\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 Swoole\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 Swoole\Server> public method getWorkerId ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getWorkerPid ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $workerId = -1 ]
+ }
+ - Return [ int|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getWorkerStatus ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $workerId = -1 ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getManagerPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getMasterPid ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method connection_info ] {
+
+ - 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 Swoole\Server> public method connection_list ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> int $startFd = 0 ]
+ Parameter #1 [ <optional> int $pageSize = 10 ]
+ }
+ - Return [ array|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method sendMessage ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $message ]
+ Parameter #1 [ <required> int $workerId ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method addProcess ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> Swoole\Process $process ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method stats ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $mode = 0 ]
+ }
+ - Return [ array|string|false ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method getSocket ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $port = -1 ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Server> public method bind ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $fd ]
+ Parameter #1 [ <required> int $uid ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Timer> public method after ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Timer> public method tick ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $ms ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ - Return [ int|bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Timer> public method clearTimer ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:openswoole, inherits Swoole\Event> public method defer ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
+ }
+ - Return [ bool ]
+ }
+ }
+ }
+
+ Class [ <internal:openswoole> class Swoole\Coroutine\PostgreSQL ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [5] {
+ Property [ public $error = NULL ]
+ Property [ public $errCode = 0 ]
+ Property [ public $resultStatus = 0 ]
+ Property [ public $resultDiag = NULL ]
+ Property [ public $notices = NULL ]
+ }
+
+ - Methods [20] {
+ Method [ <internal:openswoole, ctor> public method __construct ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:openswoole> public method connect ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $conninfo ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method query ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $query = <default> ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method prepare ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $stmtname ]
+ Parameter #1 [ <required> $query ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method execute ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $stmtname ]
+ Parameter #1 [ <required> $pv_param_arr ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method fetchAll ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $result = <default> ]
+ Parameter #1 [ <optional> $result_type = <default> ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method affectedRows ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $result = <default> ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method numRows ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $result = <default> ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method fieldCount ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $result = <default> ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method metaData ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $table_name ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method escape ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $string ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method escapeLiteral ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $string ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method escapeIdentifier ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $string ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method fetchObject ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> $result ]
+ Parameter #1 [ <optional> $row = <default> ]
+ Parameter #2 [ <optional> $class_name = <default> ]
+ Parameter #3 [ <optional> $l = <default> ]
+ Parameter #4 [ <optional> $ctor_params = <default> ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method fetchAssoc ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $result ]
+ Parameter #1 [ <optional> $row = <default> ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method fetchArray ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $result ]
+ Parameter #1 [ <optional> $row = <default> ]
+ Parameter #2 [ <optional> $result_type = <default> ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method fetchRow ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $result ]
+ Parameter #1 [ <optional> $row = <default> ]
+ Parameter #2 [ <optional> $result_type = <default> ]
+ }
+ }
+
+ Method [ <internal:openswoole> public method status ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:openswoole> public method reset ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:openswoole> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+ }
+}
+
diff --git a/php-pecl-openswoole22.spec b/php-pecl-openswoole22.spec
new file mode 100644
index 0000000..03ea17a
--- /dev/null
+++ b/php-pecl-openswoole22.spec
@@ -0,0 +1,911 @@
+# remirepo spec file for php-pecl-openswoole
+#
+# Copyright (c) 2013-2022 Remi Collet
+# License: CC-BY-SA
+# http://creativecommons.org/licenses/by-sa/4.0/
+#
+# Please, preserve the changelog entries
+#
+
+# we don't want -z defs linker flag
+%undefine _strict_symbol_defs_build
+
+%if 0%{?scl:1}
+%scl_package php-pecl-swoole4
+%endif
+
+%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
+%global pecl_name openswoole
+# After 20-sockets, 20-json and 20-mysqlnd
+%global ini_name 40-%{pecl_name}.ini
+
+%bcond_without cares
+%bcond_without nghttpd2
+%if 0%{?fedora} >= 25 || 0%{?rhel} >= 8
+%bcond_without brotli
+%else
+%bcond_with brotli
+%endif
+%bcond_without pgsql
+
+%global upstream_version 4.12.1
+#global upstream_prever RC2
+
+
+Summary: PHP's asynchronous concurrent distributed networking framework
+Name: %{?scl_prefix}php-pecl-%{pecl_name}
+Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+# SPDX: extension is Apache-2.0
+# hiredis is BSD-3-Clause
+License: Apache-2.0 AND BSD-3-Clause
+URL: https://pecl.php.net/package/%{pecl_name}
+Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
+
+BuildRequires: make
+BuildRequires: %{?dtsprefix}gcc
+BuildRequires: %{?dtsprefix}gcc-c++
+BuildRequires: %{?scl_prefix}php-devel >= 7.4
+BuildRequires: %{?scl_prefix}php-pear
+BuildRequires: %{?scl_prefix}php-curl
+BuildRequires: %{?scl_prefix}php-json
+BuildRequires: %{?scl_prefix}php-sockets
+BuildRequires: %{?scl_prefix}php-mysqlnd
+BuildRequires: pcre-devel
+BuildRequires: openssl-devel >= 1.0.2
+BuildRequires: zlib-devel
+BuildRequires: libcurl-devel
+%if %{with cares}
+BuildRequires: c-ares-devel
+%endif
+%if %{with brotli}
+BuildRequires: brotli-devel
+%endif
+%if %{with pgsql}
+%if 0%{?fedora} >= 29 && 0%{?rhel} >= 8
+BuildRequires: libpq-devel > 9
+%else
+BuildRequires: postgresql-devel > 9
+%endif
+%endif
+
+Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
+Requires: %{?scl_prefix}php(api) = %{php_core_api}
+Requires: %{?scl_prefix}php-curl%{?_isa}
+Requires: %{?scl_prefix}php-json%{?_isa}
+Requires: %{?scl_prefix}php-sockets%{?_isa}
+Requires: %{?scl_prefix}php-mysqlnd%{?_isa}
+%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
+
+Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
+Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
+
+# Only one extension can be installed (same symbols)
+Conflicts: %{?scl_prefix}php-pecl-swoole
+Conflicts: %{?scl_prefix}php-pecl-swoole2
+Conflicts: %{?scl_prefix}php-pecl-swoole4
+Conflicts: %{?scl_prefix}php-pecl-swoole5
+
+
+%description
+Event-driven asynchronous and concurrent networking engine with
+high performance for PHP.
+- event-driven
+- asynchronous non-blocking
+- multi-thread reactor
+- multi-process worker
+- multi-protocol
+- millisecond timer
+- async mysql client
+- built-in http/websocket/http2 server
+- async http/websocket client
+- async redis client
+- async task
+- async read/write file system
+- async dns lookup
+- support IPv4/IPv6/UnixSocket/TCP/UDP
+- support SSL/TLS encrypted transmission
+
+Documentation: https://rawgit.com/tchiotludo/swoole-ide-helper/english/docs/
+
+Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.
+
+
+%package devel
+Summary: %{name} developer files (header)
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{?scl_prefix}php-devel%{?_isa}
+
+
+%description devel
+These are the files needed to compile programs using %{name}.
+
+
+%prep
+%setup -q -c
+mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS
+
+
+# Don't install/register tests, install examples as doc
+sed \
+ -e '/Makefile/s/role="doc"/role="src"/' \
+ -e '/samples/s/role="doc"/role="src"/' \
+ -e '/name="library/s/role="doc"/role="src"/' \
+ %{?_licensedir: -e '/LICENSE/s/role="doc"/role="src"/' } \
+ %{?_licensedir: -e '/COPYING/s/role="doc"/role="src"/' } \
+ -i package.xml
+
+
+cd NTS
+cp -p thirdparty/hiredis/COPYING hiredis-COPYING
+cp -p thirdparty/nghttp2/COPYING nghttp2-COPYING
+
+# Sanity check, really often broken
+extver=$(sed -n '/#define SWOOLE_VERSION /{s/.* "//;s/".*$//;p}' include/swoole_version.h)
+if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
+ : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}.
+ exit 1
+fi
+cd ..
+
+%if %{with_zts}
+# Duplicate source tree for NTS / ZTS build
+cp -pr NTS ZTS
+%endif
+
+# Create configuration file
+cat << 'EOF' | tee %{ini_name}
+; Enable %{pecl_name} extension module
+extension=%{pecl_name}.so
+
+; Configuration
+;swoole.enable_coroutine = On
+;swoole.enable_library = On
+;swoole.enable_preemptive_scheduler = Off
+;swoole.display_errors = On
+:swoole.use_shortname = On
+;swoole.unixsock_buffer_size = 8388608
+EOF
+
+
+%build
+%{?dtsenable}
+
+peclbuild() {
+%configure \
+ --enable-openswoole \
+ --enable-sockets \
+ --enable-trace-log \
+ --enable-openssl \
+ --enable-http2 \
+ --enable-mysqlnd \
+%if %{with pgsql}
+ --with-postgres \
+%endif
+ --enable-swoole-json \
+ --enable-swoole-curl \
+%if %{with cares}
+ --enable-cares \
+%endif
+ --with-libdir=%{_lib} \
+ --with-php-config=$1
+
+make %{?_smp_mflags}
+}
+
+cd NTS
+%{_bindir}/phpize
+peclbuild %{_bindir}/php-config
+
+%if %{with_zts}
+cd ../ZTS
+%{_bindir}/zts-phpize
+peclbuild %{_bindir}/zts-php-config
+%endif
+
+
+%install
+%{?dtsenable}
+
+make -C NTS \
+ install INSTALL_ROOT=%{buildroot}
+
+# install config file
+install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
+
+# Install XML package description
+install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
+
+%if %{with_zts}
+make -C ZTS \
+ install INSTALL_ROOT=%{buildroot}
+
+install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
+%endif
+
+# Test and Documentation
+for i in $(grep 'role="test"' package.xml | sed -e 's/^.*name="//;s/".*$//')
+do install -Dpm 644 NTS/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i
+done
+for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//')
+do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
+done
+
+# code not compatible with Python 3
+rm %{buildroot}%{pecl_testdir}/%{pecl_name}/tests/swoole_process/echo.py
+rm %{buildroot}%{pecl_docdir}/%{pecl_name}/examples/process/echo.py
+
+
+%if 0%{?fedora} < 24 && 0%{?rhel} < 8
+# when pear installed alone, after us
+%triggerin -- %{?scl_prefix}php-pear
+if [ -x %{__pecl} ] ; then
+ %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
+fi
+
+# posttrans as pear can be installed after us
+%posttrans
+if [ -x %{__pecl} ] ; then
+ %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
+fi
+
+%postun
+if [ $1 -eq 0 -a -x %{__pecl} ] ; then
+ %{pecl_uninstall} %{pecl_name} >/dev/null || :
+fi
+%endif
+
+
+%check
+OPT="--no-php-ini"
+[ -f %{php_extdir}/curl.so ] && OPT="$OPT -d extension=curl.so"
+[ -f %{php_extdir}/json.so ] && OPT="$OPT -d extension=json.so"
+[ -f %{php_extdir}/sockets.so ] && OPT="$OPT -d extension=sockets.so"
+[ -f %{php_extdir}/mysqlnd.so ] && OPT="$OPT -d extension=mysqlnd.so"
+
+cd NTS
+: Minimal load test for NTS extension
+%{__php} $OPT \
+ --define extension=modules/%{pecl_name}.so \
+ --modules | grep '^%{pecl_name}$'
+
+%if %{with_zts}
+cd ../ZTS
+: Minimal load test for ZTS extension
+%{__ztsphp} $OPT \
+ --define extension=modules/%{pecl_name}.so \
+ --modules | grep '^%{pecl_name}$'
+%endif
+
+
+%files
+%{?_licensedir:%license NTS/LICENSE*}
+%{?_licensedir:%license NTS/*-COPYING}
+%{!?_licensedir:%{pecl_docdir}/%{pecl_name}/LICENSE}
+%{!?_licensedir:%{pecl_docdir}/%{pecl_name}/thirdparty/*/COPYING}
+%{pecl_xmldir}/%{name}.xml
+
+%config(noreplace) %{php_inidir}/%{ini_name}
+%{php_extdir}/%{pecl_name}.so
+
+%if %{with_zts}
+%config(noreplace) %{php_ztsinidir}/%{ini_name}
+%{php_ztsextdir}/%{pecl_name}.so
+%endif
+
+
+%files devel
+%doc %{pecl_testdir}/%{pecl_name}
+%doc %{pecl_docdir}/%{pecl_name}/*md
+%doc %{pecl_docdir}/%{pecl_name}/examples
+%doc %{pecl_docdir}/%{pecl_name}/gdbinit
+%doc %{pecl_docdir}/%{pecl_name}/thirdparty
+%doc %{pecl_docdir}/%{pecl_name}/tools
+%doc %{pecl_docdir}/%{pecl_name}/travis
+%doc %{pecl_docdir}/%{pecl_name}/CHANGELOG
+%{php_incldir}/ext/%{pecl_name}
+
+%if %{with_zts}
+%{php_ztsincldir}/ext/%{pecl_name}
+%endif
+
+
+%changelog
+* Wed Dec 21 2022 Remi Collet <remi@remirepo.net> - 4.12.1-1
+- update to 4.12.1
+
+* Mon Oct 3 2022 Remi Collet <remi@remirepo.net> - 4.12.0-1
+- update to 4.12.0
+
+* Fri Sep 16 2022 Remi Collet <remi@remirepo.net> - 4.11.1-2
+- add upstream patches for PHP 8.2
+
+* Fri Apr 29 2022 Remi Collet <remi@remirepo.net> - 4.11.1-1
+- update to 4.11.1
+
+* Thu Mar 24 2022 Remi Collet <remi@remirepo.net> - 4.11.0-1
+- update to 4.11.0
+- raise dependency on PHP 7.4
+
+* Tue Jan 25 2022 Remi Collet <remi@remirepo.net> - 4.10.0-1
+- update to 4.10.0
+
+* Mon Dec 27 2021 Remi Collet <remi@remirepo.net> - 4.9.1-1
+- update to 4.9.1
+- drop patch merged upstream
+
+* Mon Dec 20 2021 Remi Collet <remi@remirepo.net> - 4.9.0-1
+- update to 4.9.0
+- add patch for libcurl < 7.56 (EL-7) from
+ https://github.com/openswoole/swoole-src/pull/103
+
+* Mon Nov 29 2021 Remi Collet <remi@remirepo.net> - 4.8.1-1
+- update to 4.8.1
+- drop patch merged upstream
+
+* Mon Nov 29 2021 Remi Collet <remi@remirepo.net> - 4.8.0-1
+- update to 4.8.0
+- enable postgresql support
+- add fix for old postgresql 9 in EL-7 from
+ https://github.com/openswoole/swoole-src/pull/84
+
+* Mon Oct 25 2021 Remi Collet <remi@remirepo.net> - 4.7.2-1
+- update to 4.7.2
+- open https://github.com/openswoole/swoole-src/pull/17
+ openswoole conflicts with swoole
+
+* Wed Oct 13 2021 Remi Collet <remi@remirepo.net> - 4.7.1-1
+- new package php-pecl-openswoole
+
+* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 4.7.1-2
+- rebuild for 8.1.0RC1
+
+* Thu Aug 26 2021 Remi Collet <remi@remirepo.net> - 4.7.1-1
+- update to 4.7.1
+- drop patch merged upstream
+
+* Fri Jul 23 2021 Remi Collet <remi@remirepo.net> - 4.7.0-2
+- add patch for PHP 8.1.0beta1 from
+ https://github.com/swoole/swoole-src/pull/4335
+
+* Mon Jul 19 2021 Remi Collet <remi@remirepo.net> - 4.7.0-1
+- update to 4.7.0
+
+* Sun May 16 2021 Remi Collet <remi@remirepo.net> - 4.6.7-1
+- update to 4.6.7
+
+* Thu Apr 22 2021 Remi Collet <remi@remirepo.net> - 4.6.6-1
+- update to 4.6.6
+
+* Fri Apr 9 2021 Remi Collet <remi@remirepo.net> - 4.6.5-1
+- update to 4.6.5
+
+* Thu Mar 11 2021 Remi Collet <remi@remirepo.net> - 4.6.4-1
+- update to 4.6.4
+
+* Tue Feb 9 2021 Remi Collet <remi@remirepo.net> - 4.6.3-1
+- update to 4.6.3
+
+* Mon Jan 25 2021 Remi Collet <remi@remirepo.net> - 4.6.2-1
+- update to 4.6.2
+
+* Mon Jan 11 2021 Remi Collet <remi@remirepo.net> - 4.6.1-1
+- update to 4.6.1
+
+* Wed Jan 6 2021 Remi Collet <remi@remirepo.net> - 4.6.0-1
+- update to 4.6.0
+- enable curl support
+- raise dependency on PHP 7.2
+
+* Wed Dec 23 2020 Remi Collet <remi@remirepo.net> - 4.5.10-1
+- update to 4.5.10
+
+* Fri Nov 27 2020 Remi Collet <remi@remirepo.net> - 4.5.9-1
+- update to 4.5.9
+
+* Mon Nov 23 2020 Remi Collet <remi@remirepo.net> - 4.5.8-2
+- add upstream patch for PHP 8
+
+* Sat Nov 21 2020 Remi Collet <remi@remirepo.net> - 4.5.8-1
+- update to 4.5.8
+
+* Mon Nov 9 2020 Remi Collet <remi@remirepo.net> - 4.5.7-1
+- update to 4.5.7
+
+* Fri Oct 30 2020 Remi Collet <remi@remirepo.net> - 4.5.6-1
+- update to 4.5.6
+- raise dependency on openssl 1.0.2 (drop EL-6 support)
+- add dependency on json extension
+
+* Thu Oct 15 2020 Remi Collet <remi@remirepo.net> - 4.5.5-1
+- update to 4.5.5
+- drop patches merged upstream
+
+* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 4.5.4-3
+- rebuild for PHP 8.0.0RC1
+- add patch from https://github.com/swoole/swoole-src/pull/3713
+
+* Sun Sep 20 2020 Remi Collet <remi@remirepo.net> - 4.5.4-2
+- add upstream patch for EL-6 and for PHP 8
+- add patch for EL-6 from
+ https://github.com/swoole/swoole-src/pull/3686
+
+* Sun Sep 20 2020 Remi Collet <remi@remirepo.net> - 4.5.4-1
+- update to 4.5.4
+- open https://github.com/swoole/swoole-src/issues/3681 broken build on EL-6
+- open https://github.com/swoole/swoole-src/issues/3683 broken build on PHP 8
+
+* Sun Aug 30 2020 Remi Collet <remi@remirepo.net> - 4.5.3-1
+- update to 4.5.3
+
+* Thu May 28 2020 Remi Collet <remi@remirepo.net> - 4.5.2-1
+- update to 4.5.2
+
+* Mon May 11 2020 Remi Collet <remi@remirepo.net> - 4.5.1-1
+- update to 4.5.1
+
+* Mon Apr 27 2020 Remi Collet <remi@remirepo.net> - 4.5.0-2
+- add upstream patch to fix 32-bit and old GCC builds
+
+* Mon Apr 27 2020 Remi Collet <remi@remirepo.net> - 4.5.0-1
+- update to 4.5.0
+- open https://github.com/swoole/swoole-src/issues/3276
+ broken 32-bit build
+
+* Sun Apr 26 2020 Remi Collet <remi@remirepo.net> - 4.4.18-1
+- update to 4.4.18
+- open https://github.com/swoole/swoole-src/issues/3274
+ missing libstdc++ in link
+
+* Wed Apr 1 2020 Remi Collet <remi@remirepo.net> - 4.4.17-1
+- update to 4.4.17
+
+* Wed Feb 19 2020 Remi Collet <remi@remirepo.net> - 4.4.16-1
+- update to 4.4.16
+
+* Wed Jan 15 2020 Remi Collet <remi@remirepo.net> - 4.4.15-1
+- update to 4.4.15
+
+* Thu Dec 26 2019 Remi Collet <remi@remirepo.net> - 4.4.14-1
+- update to 4.4.14
+
+* Wed Dec 18 2019 Remi Collet <remi@remirepo.net> - 4.4.13-1
+- update to 4.4.13
+
+* Wed Dec 11 2019 Remi Collet <remi@remirepo.net> - 4.4.13~RC2-1
+- update to 4.4.13RC2
+
+* Thu Dec 5 2019 Remi Collet <remi@remirepo.net> - 4.4.13~RC1-1
+- update to 4.4.13RC1
+
+* Mon Nov 4 2019 Remi Collet <remi@remirepo.net> - 4.4.12-1
+- update to 4.4.12
+
+* Thu Oct 31 2019 Remi Collet <remi@remirepo.net> - 4.4.10-1
+- update to 4.4.10
+
+* Wed Oct 30 2019 Remi Collet <remi@remirepo.net> - 4.4.9-1
+- update to 4.4.9
+- open https://github.com/swoole/swoole-src/issues/2925
+ undefined symbol: BrotliDecoderDecompress
+
+* Tue Oct 15 2019 Remi Collet <remi@remirepo.net> - 4.4.8-1
+- update to 4.4.8
+
+* Wed Sep 25 2019 Remi Collet <remi@remirepo.net> - 4.4.7-1
+- update to 4.4.7
+
+* Thu Sep 19 2019 Remi Collet <remi@remirepo.net> - 4.4.6-1
+- update to 4.4.6
+
+* Tue Sep 03 2019 Remi Collet <remi@remirepo.net> - 4.4.5-2
+- rebuild for 7.4.0RC1
+
+* Fri Aug 30 2019 Remi Collet <remi@remirepo.net> - 4.4.5-1
+- update to 4.4.5
+
+* Fri Aug 23 2019 Remi Collet <remi@remirepo.net> - 4.4.4-2
+- drop echo.py which is python 2 only
+
+* Sun Aug 18 2019 Remi Collet <remi@remirepo.net> - 4.4.4-1
+- update to 4.4.4
+
+* Sat Aug 3 2019 Remi Collet <remi@remirepo.net> - 4.4.3-1
+- update to 4.4.3
+
+* Fri Jul 26 2019 Remi Collet <remi@remirepo.net> - 4.4.2-1
+- update to 4.4.2
+- drop patch merged upstream
+
+* Tue Jul 23 2019 Remi Collet <remi@remirepo.net> - 4.4.1-2
+- rebuild for 7.4.0beta1
+- add patch from https://github.com/swoole/swoole-src/pull/2707
+
+* Tue Jul 16 2019 Remi Collet <remi@remirepo.net> - 4.4.1-1
+- update to 4.4.1
+
+* Sun Jul 7 2019 Remi Collet <remi@remirepo.net> - 4.4.0-1
+- update to 4.4.0
+- raise dependency on PHP 7.1
+- drop `Serialize` module
+- drop `PostgreSQL` module
+
+* Fri Jun 14 2019 Remi Collet <remi@remirepo.net> - 4.3.5-1
+- update to 4.3.5
+
+* Fri May 17 2019 Remi Collet <remi@remirepo.net> - 4.3.4-1
+- update to 4.3.4
+
+* Tue Apr 23 2019 Remi Collet <remi@remirepo.net> - 4.3.3-1
+- update to 4.3.3
+
+* Mon Apr 15 2019 Remi Collet <remi@remirepo.net> - 4.3.2-1
+- update to 4.3.2
+
+* Wed Mar 13 2019 Remi Collet <remi@remirepo.net> - 4.3.1-1
+- update to 4.3.1
+
+* Mon Mar 11 2019 Remi Collet <remi@remirepo.net> - 4.3.0-2
+- test build for upstream patch
+
+* Thu Mar 7 2019 Remi Collet <remi@remirepo.net> - 4.3.0-1
+- update to 4.3.0
+- drop dependencies on libnghttp2 and c-ares
+- open https://github.com/swoole/swoole-src/issues/2411 32-bit broken
+- remove the --enable-trace-log build option on 32-bit
+
+* Mon Feb 4 2019 Remi Collet <remi@remirepo.net> - 4.2.13-1
+- update to 4.2.13
+
+* Sun Jan 6 2019 Remi Collet <remi@remirepo.net> - 4.2.12-1
+- update to 4.2.12
+- use --enable-cares build option
+- swoole.aio_thread_num configuration option removed
+
+* Fri Dec 28 2018 Remi Collet <remi@remirepo.net> - 4.2.11-1
+- update to 4.2.11
+
+* Thu Dec 20 2018 Remi Collet <remi@remirepo.net> - 4.2.10-1
+- update to 4.2.10
+
+* Mon Nov 26 2018 Remi Collet <remi@remirepo.net> - 4.2.9-1
+- update to 4.2.9
+
+* Mon Nov 19 2018 Remi Collet <remi@remirepo.net> - 4.2.8-1
+- update to 4.2.8
+
+* Sat Nov 10 2018 Remi Collet <remi@remirepo.net> - 4.2.7-1
+- update to 4.2.7
+
+* Mon Nov 5 2018 Remi Collet <remi@remirepo.net> - 4.2.6-1
+- update to 4.2.6
+- use hiredis bundled library
+- open https://github.com/swoole/swoole-src/issues/2089 borken with PHP 7.3
+- open https://github.com/php/php-src/pull/3652 fix for C++
+
+* Sun Oct 28 2018 Remi Collet <remi@remirepo.net> - 4.2.5-1
+- update to 4.2.5
+
+* Fri Oct 26 2018 Remi Collet <remi@remirepo.net> - 4.2.4-1
+- update to 4.2.4
+
+* Tue Oct 16 2018 Remi Collet <remi@remirepo.net> - 4.2.3-1
+- update to 4.2.3
+
+* Mon Oct 15 2018 Remi Collet <remi@remirepo.net> - 4.2.2-1
+- update to 4.2.2
+- open https://github.com/swoole/swoole-src/issues/2038 bad version
+
+* Wed Sep 19 2018 Remi Collet <remi@remirepo.net> - 4.2.1-1
+- update to 4.2.1
+
+* Tue Sep 18 2018 Remi Collet <remi@remirepo.net> - 4.2.0-1
+- update to 4.2.0
+- open https://github.com/swoole/swoole-src/issues/1982
+ undefined symbol: zif_time_nanosleep
+- open https://github.com/swoole/swoole-src/issues/1983
+ undefined symbol: php_stream_mode_sanitize_fdopen_fopencookie
+- open https://github.com/swoole/swoole-src/issues/1986
+ ZTS build is broken: undefined symbol: _Z14virtual_unlinkPKc
+- open https://github.com/swoole/swoole-src/pull/1985
+ zif_handler to save function pointer
+
+* Wed Sep 5 2018 Remi Collet <remi@remirepo.net> - 4.1.2-1
+- update to 4.1.2
+
+* Fri Aug 31 2018 Remi Collet <remi@remirepo.net> - 4.1.1-1
+- update to 4.1.1 (no change)
+
+* Fri Aug 31 2018 Remi Collet <remi@remirepo.net> - 4.1.0-1
+- update to 4.1.0
+- add dependency on brotli library (Fedora)
+- open https://github.com/swoole/swoole-src/issues/1931 missing files
+
+* Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 4.0.4-2
+- rebuild for 7.3.0beta2 new ABI
+
+* Sat Aug 11 2018 Remi Collet <remi@remirepo.net> - 4.0.4-1
+- update to 4.0.4
+
+* Fri Jul 20 2018 Remi Collet <remi@remirepo.net> - 4.0.3-1
+- update to 4.0.3
+
+* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 4.0.2-2
+- rebuild for 7.3.0alpha4 new ABI
+
+* Fri Jul 13 2018 Remi Collet <remi@remirepo.net> - 4.0.2-1
+- update to 4.0.2
+
+* Fri Jun 29 2018 Remi Collet <remi@remirepo.net> - 4.0.1-2
+- osboletes old versions on F29+, EL-8+ and PHP 7.3+
+
+* Thu Jun 21 2018 Remi Collet <remi@remirepo.net> - 4.0.1-1
+- update to 4.0.1
+
+* Thu Jun 14 2018 Remi Collet <remi@remirepo.net> - 4.0.0-1
+- update to 4.0.0
+- rename to php-pecl-swoole4
+- raise dependency on PHP 7.1
+- add patch to ensure g++ is used a linktime from
+ https://github.com/swoole/swoole-src/pull/1717
+
+* Wed May 23 2018 Remi Collet <remi@remirepo.net> - 2.2.0-1
+- update to 2.2.0
+
+* Mon Apr 16 2018 Remi Collet <remi@remirepo.net> - 2.1.3-1
+- update to 2.1.3
+
+* Tue Apr 10 2018 Remi Collet <remi@remirepo.net> - 2.1.2-1
+- update to 2.1.2
+- add PostgreSQL coroutine client on Fedora 24+
+- enable trace log
+- open https://github.com/swoole/swoole-src/issues/1558
+ broken build with PHP 7.0
+
+* Wed Mar 7 2018 Remi Collet <remi@remirepo.net> - 2.1.1-1
+- update to 2.1.1
+
+* Fri Feb 9 2018 Remi Collet <remi@remirepo.net> - 2.1.0-1
+- Update to 2.1.0
+- add swoole.use_shortname option in provided configuration
+
+* Fri Dec 29 2017 Remi Collet <remi@remirepo.net> - 2.0.12-1
+- Update to 2.0.12 (stable)
+- drop PHP 5 support
+
+* Thu Dec 28 2017 Remi Collet <remi@remirepo.net> - 2.0.11-1
+- Update to 2.0.11 (stable)
+- add upstream patch to fix broken build with PHP 5.x
+ https://github.com/swoole/swoole-src/issues/1433
+
+* Thu Dec 14 2017 Remi Collet <remi@remirepo.net> - 2.0.10-1
+- Update to 2.0.10 (stable)
+
+* Thu Aug 31 2017 Remi Collet <remi@remirepo.net> - 2.0.9-1
+- Update to 2.0.9 (beta)
+
+* Fri Aug 4 2017 Remi Collet <remi@remirepo.net> - 2.0.8-1
+- Update to 2.0.8 (beta)
+- add devel sub-package
+
+* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 2.0.7-3
+- rebuild for PHP 7.2.0beta1 new API
+
+* Fri Mar 17 2017 Remi Collet <remi@remirepo.net> - 2.0.7-2
+- fix release
+
+* Fri Mar 17 2017 Remi Collet <remi@remirepo.net> - 2.0.7-1
+- Update to 2.0.7 (beta)
+- rename to php-pecl-swoole2
+
+* Mon Mar 6 2017 Remi Collet <remi@remirepo.net> - 2.0.6-3
+- add upstream patch for
+ https://github.com/swoole/swoole-src/issues/1118
+- open https://github.com/swoole/swoole-src/issues/1119
+
+* Fri Feb 24 2017 Remi Collet <remi@remirepo.net> - 2.0.6-2
+- use --enable-ringbuffer, --enable-thread and --enable-mysqlnd
+
+* Tue Jan 24 2017 Remi Collet <remi@fedoraproject.org> - 2.0.6-1
+- Update to 2.0.6 (beta)
+
+* Fri Dec 30 2016 Remi Collet <remi@fedoraproject.org> - 2.0.5-1
+- Update to 2.0.5 (beta)
+- raise dependency on PHP 5.5
+- add ZTS patch from https://github.com/swoole/swoole-src/pull/992
+
+* Fri Dec 30 2016 Remi Collet <remi@fedoraproject.org> - 2.0.4-1
+- Update to 2.0.4 (beta)
+- open https://github.com/swoole/swoole-src/issues/987 - Options
+- open https://github.com/swoole/swoole-src/issues/989 - ZTS build
+- disable ZTS extension for now
+- open https://github.com/swoole/swoole-src/issues/990 - PHP 5.4
+
+* Fri Dec 23 2016 Remi Collet <remi@fedoraproject.org> - 1.9.3-1
+- Update to 1.9.3
+
+* Mon Dec 19 2016 Remi Collet <remi@fedoraproject.org> - 1.9.2-1
+- Update to 1.9.2
+
+* Wed Dec 7 2016 Remi Collet <remi@fedoraproject.org> - 1.9.1-1
+- Update to 1.9.1
+
+* Thu Dec 1 2016 Remi Collet <remi@fedoraproject.org> - 1.9.0-2
+- rebuild with PHP 7.1.0 GA
+
+* Tue Nov 22 2016 Remi Collet <remi@fedoraproject.org> - 1.9.0-1
+- Update to 1.9.0
+
+* Tue Oct 25 2016 Remi Collet <remi@fedoraproject.org> - 1.8.13-1
+- Update to 1.8.13
+
+* Fri Sep 30 2016 Remi Collet <remi@fedoraproject.org> - 1.8.12-1
+- Update to 1.8.12
+
+* Wed Sep 14 2016 Remi Collet <remi@fedoraproject.org> - 1.8.11-2
+- rebuild for PHP 7.1 new API version
+
+* Fri Sep 09 2016 Remi Collet <remi@fedoraproject.org> - 1.8.11-1
+- Update to 1.8.11
+
+* Thu Sep 01 2016 Remi Collet <remi@fedoraproject.org> - 1.8.10-1
+- Update to 1.8.10
+
+* Thu Sep 01 2016 Remi Collet <remi@fedoraproject.org> - 1.8.9-1
+- Update to 1.8.9
+
+* Thu Jul 28 2016 Remi Collet <remi@fedoraproject.org> - 1.8.8-2
+- add upstream patch and add back --enable-http2 build option
+
+* Thu Jul 28 2016 Remi Collet <remi@fedoraproject.org> - 1.8.8-1
+- Update to 1.8.8
+- drop --enable-http2 build option (broken)
+ open https://github.com/swoole/swoole-src/issues/787
+
+* Fri Jul 01 2016 Remi Collet <remi@fedoraproject.org> - 1.8.7-1
+- Update to 1.8.7
+
+* Thu Jun 16 2016 Remi Collet <remi@fedoraproject.org> - 1.8.6-1
+- Update to 1.8.6
+- drop --enable-async-mysql and --enable-async-httpclient
+ removed upstream
+
+* Thu May 12 2016 Remi Collet <remi@fedoraproject.org> - 1.8.5-1
+- Update to 1.8.5
+
+* Wed Apr 13 2016 Remi Collet <remi@fedoraproject.org> - 1.8.4-1
+- Update to 1.8.4 (stable)
+
+* Mon Mar 21 2016 Remi Collet <remi@fedoraproject.org> - 1.8.3-1
+- Update to 1.8.3 (stable)
+
+* Wed Mar 02 2016 Remi Collet <remi@fedoraproject.org> - 1.8.2-1
+- Update to 1.8.2 (stable)
+- add --enable-openssl, --enable-async-httpclient
+ --enable-http2 and --enable-async-redis to build options
+
+* Thu Feb 4 2016 Remi Collet <remi@fedoraproject.org> - 1.8.1-1
+- Update to 1.8.1 (stable)
+
+* Wed Jan 27 2016 Remi Collet <remi@fedoraproject.org> - 1.8.0-1
+- Update to 1.8.0 (stable)
+
+* Thu Dec 31 2015 Remi Collet <remi@fedoraproject.org> - 1.7.22-2
+- Update to 1.7.22 (new sources)
+
+* Thu Dec 31 2015 Remi Collet <remi@fedoraproject.org> - 1.7.22-1
+- Update to 1.7.22
+- add patch to fix PHP 7 build
+ open https://github.com/swoole/swoole-src/pull/462
+ open https://github.com/swoole/swoole-src/issues/461
+
+* Tue Dec 01 2015 Remi Collet <remi@fedoraproject.org> - 1.7.21-1
+- Update to 1.7.21
+
+* Wed Oct 21 2015 Remi Collet <remi@fedoraproject.org> - 1.7.20-1
+- Update to 1.7.20
+
+* Tue Oct 13 2015 Remi Collet <remi@fedoraproject.org> - 1.7.19-4
+- rebuild for PHP 7.0.0RC5 new API version
+
+* Fri Sep 18 2015 Remi Collet <remi@fedoraproject.org> - 1.7.19-3
+- F23 rebuild with rh_layout
+
+* Thu Sep 3 2015 Remi Collet <remi@fedoraproject.org> - 1.7.19-2
+- allow build against rh-php56 (as more-php56)
+
+* Mon Aug 31 2015 Remi Collet <remi@fedoraproject.org> - 1.7.19-1
+- Update to 1.7.19
+
+* Thu Jul 23 2015 Remi Collet <remi@fedoraproject.org> - 1.7.18-1
+- Update to 1.7.18
+
+* Mon Jun 01 2015 Remi Collet <remi@fedoraproject.org> - 1.7.17-1
+- Update to 1.7.17
+
+* Fri May 08 2015 Remi Collet <remi@fedoraproject.org> - 1.7.16-1
+- Update to 1.7.16
+
+* Tue Apr 14 2015 Remi Collet <remi@fedoraproject.org> - 1.7.15-1
+- Update to 1.7.15
+
+* Thu Mar 26 2015 Remi Collet <remi@fedoraproject.org> - 1.7.14-1
+- Update to 1.7.14
+
+* Wed Mar 18 2015 Remi Collet <remi@fedoraproject.org> - 1.7.13-1
+- Update to 1.7.13
+
+* Thu Mar 12 2015 Remi Collet <remi@fedoraproject.org> - 1.7.12-1
+- Update to 1.7.12
+
+* Tue Mar 10 2015 Remi Collet <remi@fedoraproject.org> - 1.7.11-2
+- rebuild with new sources
+
+* Tue Mar 10 2015 Remi Collet <remi@fedoraproject.org> - 1.7.11-1
+- Update to 1.7.11
+
+* Sun Feb 15 2015 Remi Collet <remi@fedoraproject.org> - 1.7.10-1
+- Update to 1.7.10
+- drop runtime dependency on pear, new scriptlets
+
+* Wed Jan 07 2015 Remi Collet <remi@fedoraproject.org> - 1.7.9-1
+- Update to 1.7.9
+
+* Wed Dec 24 2014 Remi Collet <remi@fedoraproject.org> - 1.7.8-1.1
+- Fedora 21 SCL mass rebuild
+
+* Wed Nov 26 2014 Remi Collet <remi@fedoraproject.org> - 1.7.8-1
+- Update to 1.7.8 (stable)
+
+* Tue Oct 28 2014 Remi Collet <remi@fedoraproject.org> - 1.7.7-1
+- Update to 1.7.7 (stable)
+
+* Fri Oct 10 2014 Remi Collet <remi@fedoraproject.org> - 1.7.6-1
+- Update to 1.7.6 (stable)
+
+* Wed Sep 10 2014 Remi Collet <remi@fedoraproject.org> - 1.7.5-1
+- Update to 1.7.5 (stable)
+
+* Tue Aug 26 2014 Remi Collet <rcollet@redhat.com> - 1.7.4-2
+- improve SCL build
+
+* Tue Jul 15 2014 Remi Collet <remi@fedoraproject.org> - 1.7.4-1
+- Update to 1.7.4 (stable)
+
+* Fri Jun 20 2014 Remi Collet <remi@fedoraproject.org> - 1.7.3-1
+- Update to 1.7.3 (stable)
+
+* Fri May 30 2014 Remi Collet <remi@fedoraproject.org> - 1.7.2-1
+- Update to 1.7.2 (stable)
+- open https://github.com/matyhtf/swoole/pull/67 (fix EL5 build)
+
+* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.7.1-1
+- Update to 1.7.1 (stable)
+
+* Wed Apr 16 2014 Remi Collet <remi@fedoraproject.org> - 1.7.0-1
+- Update to 1.7.0
+
+* Sun Apr 13 2014 Remi Collet <remi@fedoraproject.org> - 1.6.12-1
+- Update to 1.6.12
+
+* Fri Feb 28 2014 Remi Collet <remi@fedoraproject.org> - 1.6.11-2
+- no --enable-async-mysql with php 5.3
+
+* Thu Feb 27 2014 Remi Collet <remi@fedoraproject.org> - 1.6.11-1
+- Update to 1.6.11
+
+* Sun Jan 26 2014 Remi Collet <remi@fedoraproject.org> - 1.6.10-1
+- Update to 1.6.10
+
+* Thu Jan 02 2014 Remi Collet <remi@fedoraproject.org> - 1.6.9-1
+- Update to 1.6.9 (stable)
+
+* Mon Dec 30 2013 Remi Collet <remi@fedoraproject.org> - 1.6.8-1
+- Update to 1.6.8 (stable)
+
+* Tue Dec 24 2013 Remi Collet <rcollet@redhat.com> - 1.6.7-1
+- initial package, version 1.6.7 (stable)
+- open https://github.com/matyhtf/swoole/issues/14 - archive
+- open https://github.com/matyhtf/swoole/issues/15 - php 5.5