diff options
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | REFLECTION | 6327 | ||||
-rw-r--r-- | php-pecl-swoole4.spec | 575 |
3 files changed, 6910 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fc9aa8c --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +clog +package-*.xml +*.tgz +*.tar.gz +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..8fa194d --- /dev/null +++ b/REFLECTION @@ -0,0 +1,6327 @@ +Extension [ <persistent> extension #147 swoole version 2.2.0 ] { + + - INI { + Entry [ swoole.aio_thread_num <ALL> ] + Current = '2' + } + Entry [ swoole.display_errors <ALL> ] + Current = 'On' + } + Entry [ swoole.use_namespace <SYSTEM> ] + Current = 'On' + } + Entry [ swoole.use_shortname <SYSTEM> ] + Current = 'On' + } + Entry [ swoole.fast_serialize <ALL> ] + Current = 'Off' + } + Entry [ swoole.unixsock_buffer_size <ALL> ] + Current = '8388608' + } + } + + - Constants [151] { + Constant [ integer SWOOLE_BASE ] { 4 } + Constant [ integer SWOOLE_THREAD ] { 2 } + Constant [ integer SWOOLE_PROCESS ] { 3 } + Constant [ integer SWOOLE_IPC_UNSOCK ] { 1 } + Constant [ integer SWOOLE_IPC_MSGQUEUE ] { 2 } + Constant [ integer SWOOLE_IPC_PREEMPTIVE ] { 3 } + Constant [ integer SWOOLE_SOCK_TCP ] { 1 } + Constant [ integer SWOOLE_SOCK_TCP6 ] { 3 } + Constant [ integer SWOOLE_SOCK_UDP ] { 2 } + Constant [ integer SWOOLE_SOCK_UDP6 ] { 4 } + Constant [ integer SWOOLE_SOCK_UNIX_DGRAM ] { 5 } + Constant [ integer SWOOLE_SOCK_UNIX_STREAM ] { 6 } + Constant [ integer SWOOLE_TCP ] { 1 } + Constant [ integer SWOOLE_TCP6 ] { 3 } + Constant [ integer SWOOLE_UDP ] { 2 } + Constant [ integer SWOOLE_UDP6 ] { 4 } + Constant [ integer SWOOLE_UNIX_DGRAM ] { 5 } + Constant [ integer SWOOLE_UNIX_STREAM ] { 6 } + Constant [ integer SWOOLE_SOCK_SYNC ] { 0 } + Constant [ integer SWOOLE_SOCK_ASYNC ] { 1 } + Constant [ integer SWOOLE_SYNC ] { 2048 } + Constant [ integer SWOOLE_ASYNC ] { 1024 } + Constant [ integer SWOOLE_KEEP ] { 4096 } + Constant [ integer SWOOLE_SSL ] { 512 } + Constant [ integer SWOOLE_SSLv3_METHOD ] { 1 } + Constant [ integer SWOOLE_SSLv3_SERVER_METHOD ] { 2 } + Constant [ integer SWOOLE_SSLv3_CLIENT_METHOD ] { 3 } + Constant [ integer SWOOLE_SSLv23_METHOD ] { 0 } + Constant [ integer SWOOLE_SSLv23_SERVER_METHOD ] { 4 } + Constant [ integer SWOOLE_SSLv23_CLIENT_METHOD ] { 5 } + Constant [ integer SWOOLE_TLSv1_METHOD ] { 6 } + Constant [ integer SWOOLE_TLSv1_SERVER_METHOD ] { 7 } + Constant [ integer SWOOLE_TLSv1_CLIENT_METHOD ] { 8 } + Constant [ integer SWOOLE_TLSv1_1_METHOD ] { 9 } + Constant [ integer SWOOLE_TLSv1_1_SERVER_METHOD ] { 10 } + Constant [ integer SWOOLE_TLSv1_1_CLIENT_METHOD ] { 11 } + Constant [ integer SWOOLE_TLSv1_2_METHOD ] { 12 } + Constant [ integer SWOOLE_TLSv1_2_SERVER_METHOD ] { 13 } + Constant [ integer SWOOLE_TLSv1_2_CLIENT_METHOD ] { 14 } + Constant [ integer SWOOLE_DTLSv1_METHOD ] { 15 } + Constant [ integer SWOOLE_DTLSv1_SERVER_METHOD ] { 16 } + Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } + Constant [ integer SWOOLE_EVENT_READ ] { 512 } + Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } + Constant [ string SWOOLE_VERSION ] { 2.2.0 } + Constant [ integer SWOOLE_ERROR_MALLOC_FAIL ] { 501 } + Constant [ integer SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 } + Constant [ integer SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 } + Constant [ integer SWOOLE_ERROR_NAME_TOO_LONG ] { 504 } + Constant [ integer SWOOLE_ERROR_INVALID_PARAMS ] { 505 } + Constant [ integer SWOOLE_ERROR_FILE_NOT_EXIST ] { 700 } + Constant [ integer SWOOLE_ERROR_FILE_TOO_LARGE ] { 701 } + Constant [ integer SWOOLE_ERROR_FILE_EMPTY ] { 702 } + Constant [ integer SWOOLE_ERROR_DNSLOOKUP_DUPLICATE_REQUEST ] { 703 } + Constant [ integer SWOOLE_ERROR_DNSLOOKUP_RESOLVE_FAILED ] { 704 } + Constant [ integer SWOOLE_ERROR_SESSION_CLOSED_BY_SERVER ] { 1001 } + Constant [ integer SWOOLE_ERROR_SESSION_CLOSED_BY_CLIENT ] { 1002 } + Constant [ integer SWOOLE_ERROR_SESSION_CLOSING ] { 1003 } + Constant [ integer SWOOLE_ERROR_SESSION_CLOSED ] { 1004 } + Constant [ integer SWOOLE_ERROR_SESSION_NOT_EXIST ] { 1005 } + Constant [ integer SWOOLE_ERROR_SESSION_INVALID_ID ] { 1006 } + Constant [ integer SWOOLE_ERROR_SESSION_DISCARD_TIMEOUT_DATA ] { 1007 } + Constant [ integer SWOOLE_ERROR_OUTPUT_BUFFER_OVERFLOW ] { 1008 } + Constant [ integer SWOOLE_ERROR_SSL_NOT_READY ] { 1009 } + Constant [ integer SWOOLE_ERROR_SSL_CANNOT_USE_SENFILE ] { 1010 } + Constant [ integer SWOOLE_ERROR_SSL_EMPTY_PEER_CERTIFICATE ] { 1011 } + Constant [ integer SWOOLE_ERROR_SSL_VEFIRY_FAILED ] { 1012 } + Constant [ integer SWOOLE_ERROR_SSL_BAD_CLIENT ] { 1013 } + Constant [ integer SWOOLE_ERROR_SSL_BAD_PROTOCOL ] { 1014 } + Constant [ integer SWOOLE_ERROR_PACKAGE_LENGTH_TOO_LARGE ] { 1201 } + Constant [ integer SWOOLE_ERROR_DATA_LENGTH_TOO_LARGE ] { 1202 } + Constant [ integer SWOOLE_ERROR_TASK_PACKAGE_TOO_BIG ] { 2001 } + Constant [ integer SWOOLE_ERROR_TASK_DISPATCH_FAIL ] { 2002 } + Constant [ integer SWOOLE_ERROR_AIO_BAD_REQUEST ] { 4001 } + Constant [ integer SWOOLE_ERROR_CLIENT_NO_CONNECTION ] { 5001 } + Constant [ integer SWOOLE_ERROR_HTTP2_STREAM_ID_TOO_BIG ] { 3001 } + Constant [ integer SWOOLE_ERROR_HTTP2_STREAM_NO_HEADER ] { 3002 } + Constant [ integer SWOOLE_ERROR_SOCKS5_UNSUPPORT_VERSION ] { 7001 } + Constant [ integer SWOOLE_ERROR_SOCKS5_UNSUPPORT_METHOD ] { 7002 } + Constant [ integer SWOOLE_ERROR_SOCKS5_AUTH_FAILED ] { 7003 } + Constant [ integer SWOOLE_ERROR_SOCKS5_SERVER_ERROR ] { 7004 } + Constant [ integer SWOOLE_ERROR_HTTP_PROXY_HANDSHAKE_ERROR ] { 8001 } + Constant [ integer SWOOLE_ERROR_HTTP_INVALID_PROTOCOL ] { 8002 } + Constant [ integer SWOOLE_ERROR_WEBSOCKET_BAD_CLIENT ] { 8501 } + Constant [ integer SWOOLE_ERROR_WEBSOCKET_BAD_OPCODE ] { 8502 } + Constant [ integer SWOOLE_ERROR_WEBSOCKET_UNCONNECTED ] { 8503 } + Constant [ integer SWOOLE_ERROR_WEBSOCKET_HANDSHAKE_FAILED ] { 8504 } + Constant [ integer SWOOLE_ERROR_SERVER_MUST_CREATED_BEFORE_CLIENT ] { 9001 } + Constant [ integer SWOOLE_ERROR_SERVER_TOO_MANY_SOCKET ] { 9002 } + Constant [ integer SWOOLE_ERROR_SERVER_WORKER_TERMINATED ] { 9003 } + Constant [ integer SWOOLE_ERROR_SERVER_INVALID_LISTEN_PORT ] { 9004 } + Constant [ integer SWOOLE_ERROR_SERVER_TOO_MANY_LISTEN_PORT ] { 9005 } + Constant [ integer SWOOLE_ERROR_SERVER_PIPE_BUFFER_FULL ] { 9006 } + Constant [ integer SWOOLE_ERROR_SERVER_NO_IDLE_WORKER ] { 9007 } + Constant [ integer SWOOLE_ERROR_SERVER_ONLY_START_ONE ] { 9008 } + Constant [ integer SWOOLE_ERROR_SERVER_WORKER_EXIT_TIMEOUT ] { 9009 } + Constant [ integer SWOOLE_TRACE_SERVER ] { 2 } + Constant [ integer SWOOLE_TRACE_CLIENT ] { 4 } + Constant [ integer SWOOLE_TRACE_BUFFER ] { 8 } + Constant [ integer SWOOLE_TRACE_CONN ] { 16 } + Constant [ integer SWOOLE_TRACE_EVENT ] { 32 } + Constant [ integer SWOOLE_TRACE_WORKER ] { 64 } + Constant [ integer SWOOLE_TRACE_REACTOR ] { 256 } + Constant [ integer SWOOLE_TRACE_PHP ] { 512 } + Constant [ integer SWOOLE_TRACE_HTTP2 ] { 1024 } + Constant [ integer SWOOLE_TRACE_EOF_PROTOCOL ] { 2048 } + Constant [ integer SWOOLE_TRACE_LENGTH_PROTOCOL ] { 4096 } + Constant [ integer SWOOLE_TRACE_CLOSE ] { 8192 } + Constant [ integer SWOOLE_TRACE_HTTP_CLIENT ] { 16384 } + Constant [ integer SWOOLE_TRACE_COROUTINE ] { 32768 } + Constant [ integer SWOOLE_TRACE_REDIS_CLIENT ] { 65536 } + Constant [ integer SWOOLE_TRACE_MYSQL_CLIENT ] { 131072 } + Constant [ integer SWOOLE_TRACE_AIO ] { 262144 } + Constant [ integer SWOOLE_TRACE_ALL ] { 4294967295 } + Constant [ integer SWOOLE_LOG_DEBUG ] { 0 } + Constant [ integer SWOOLE_LOG_TRACE ] { 1 } + Constant [ integer SWOOLE_LOG_INFO ] { 2 } + Constant [ integer SWOOLE_LOG_NOTICE ] { 3 } + Constant [ integer SWOOLE_LOG_WARNING ] { 4 } + Constant [ integer SWOOLE_LOG_ERROR ] { 5 } + Constant [ integer SWOOLE_IPC_NONE ] { 0 } + Constant [ integer SWOOLE_IPC_UNIXSOCK ] { 1 } + Constant [ integer SWOOLE_IPC_SOCKET ] { 3 } + Constant [ integer SWOOLE_REDIS_MODE_MULTI ] { 0 } + Constant [ integer SWOOLE_REDIS_MODE_PIPELINE ] { 1 } + Constant [ integer SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 } + Constant [ integer SWOOLE_REDIS_TYPE_STRING ] { 1 } + Constant [ integer SWOOLE_REDIS_TYPE_SET ] { 2 } + Constant [ integer SWOOLE_REDIS_TYPE_LIST ] { 3 } + Constant [ integer SWOOLE_REDIS_TYPE_ZSET ] { 4 } + Constant [ integer SWOOLE_REDIS_TYPE_HASH ] { 5 } + Constant [ integer SW_PGSQL_ASSOC ] { 1 } + Constant [ integer SW_PGSQL_NUM ] { 2 } + Constant [ integer SW_PGSQL_BOTH ] { 3 } + Constant [ integer SWOOLE_AIO_BASE ] { 0 } + Constant [ integer SWOOLE_AIO_LINUX ] { 1 } + Constant [ integer SWOOLE_FILELOCK ] { 2 } + Constant [ integer SWOOLE_MUTEX ] { 3 } + Constant [ integer SWOOLE_SEM ] { 4 } + Constant [ integer SWOOLE_RWLOCK ] { 1 } + Constant [ integer SWOOLE_SPINLOCK ] { 5 } + Constant [ integer WEBSOCKET_OPCODE_TEXT ] { 1 } + Constant [ integer WEBSOCKET_OPCODE_BINARY ] { 2 } + Constant [ integer WEBSOCKET_OPCODE_PING ] { 9 } + Constant [ integer WEBSOCKET_STATUS_CONNECTION ] { 1 } + Constant [ integer WEBSOCKET_STATUS_HANDSHAKE ] { 2 } + Constant [ integer WEBSOCKET_STATUS_FRAME ] { 3 } + Constant [ integer WEBSOCKET_STATUS_ACTIVE ] { 3 } + Constant [ integer SWOOLE_FAST_PACK ] { 1 } + Constant [ integer UNSERIALIZE_OBJECT_TO_ARRAY ] { 1 } + Constant [ integer UNSERIALIZE_OBJECT_TO_STDCLASS ] { 2 } + } + + - Functions { + Function [ <internal:swoole> function swoole_version ] { + + - Parameters [0] { + } + } + Function [ <internal:swoole> function swoole_cpu_num ] { + + - Parameters [0] { + } + } + Function [ <internal:swoole> function swoole_last_error ] { + + - Parameters [0] { + } + } + Function [ <internal:swoole> function swoole_event_add ] { + + - Parameters [4] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $read_callback ] + Parameter #2 [ <optional> $write_callback ] + Parameter #3 [ <optional> $events ] + } + } + Function [ <internal:swoole> function swoole_event_set ] { + + - Parameters [4] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $read_callback ] + Parameter #2 [ <optional> $write_callback ] + Parameter #3 [ <optional> $events ] + } + } + Function [ <internal:swoole> function swoole_event_del ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + Function [ <internal:swoole> function swoole_event_exit ] { + + - Parameters [0] { + } + } + Function [ <internal:swoole> function swoole_event_wait ] { + + - Parameters [0] { + } + } + Function [ <internal:swoole> function swoole_event_write ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $data ] + } + } + Function [ <internal:swoole> function swoole_event_defer ] { + + - Parameters [1] { + Parameter #0 [ <required> $callback ] + } + } + Function [ <internal:swoole> function swoole_event_cycle ] { + + - Parameters [2] { + Parameter #0 [ <required> $callback ] + Parameter #1 [ <optional> $before ] + } + } + Function [ <internal:swoole> function swoole_event_dispatch ] { + + - Parameters [0] { + } + } + Function [ <internal:swoole> function swoole_event_isset ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $events ] + } + } + Function [ <internal:swoole> function swoole_timer_after ] { + + - Parameters [3] { + Parameter #0 [ <required> $ms ] + Parameter #1 [ <required> $callback ] + Parameter #2 [ <optional> $param ] + } + } + Function [ <internal:swoole> function swoole_timer_tick ] { + + - Parameters [2] { + Parameter #0 [ <required> $ms ] + Parameter #1 [ <required> $callback ] + } + } + Function [ <internal:swoole> function swoole_timer_exists ] { + + - Parameters [1] { + Parameter #0 [ <required> $timer_id ] + } + } + Function [ <internal:swoole> function swoole_timer_clear ] { + + - Parameters [1] { + Parameter #0 [ <required> $timer_id ] + } + } + Function [ <internal:swoole> function swoole_async_set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + Function [ <internal:swoole> function swoole_async_read ] { + + - Parameters [4] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <required> $callback ] + Parameter #2 [ <optional> $chunk_size ] + Parameter #3 [ <optional> $offset ] + } + } + Function [ <internal:swoole> function swoole_async_write ] { + + - Parameters [4] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <required> $content ] + Parameter #2 [ <optional> $offset ] + Parameter #3 [ <optional> $callback ] + } + } + Function [ <internal:swoole> function swoole_async_readfile ] { + + - Parameters [2] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <required> $callback ] + } + } + Function [ <internal:swoole> function swoole_async_writefile ] { + + - Parameters [4] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <required> $content ] + Parameter #2 [ <optional> $callback ] + Parameter #3 [ <optional> $flags ] + } + } + Function [ <internal:swoole> function swoole_async_dns_lookup ] { + + - Parameters [2] { + Parameter #0 [ <required> $hostname ] + Parameter #1 [ <required> $callback ] + } + } + Function [ <internal:swoole> function swoole_async_dns_lookup_coro ] { + + - Parameters [1] { + Parameter #0 [ <required> $domain_name ] + } + } + Function [ <internal:swoole> function swoole_coroutine_create ] { + + - Parameters [1] { + Parameter #0 [ <required> $func ] + } + } + Function [ <internal:swoole> function swoole_coroutine_exec ] { + + - Parameters [1] { + Parameter #0 [ <required> $command ] + } + } + Function [ <internal:swoole> function go ] { + + - Parameters [1] { + Parameter #0 [ <required> $func ] + } + } + Function [ <internal:swoole> 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 ] + } + } + Function [ <internal:swoole> function swoole_select ] { + + - Parameters [4] { + Parameter #0 [ <required> &$read_array ] + Parameter #1 [ <required> &$write_array ] + Parameter #2 [ <required> &$error_array ] + Parameter #3 [ <optional> $timeout ] + } + } + Function [ <internal:swoole> function swoole_set_process_name ] { + + - Parameters [1] { + Parameter #0 [ <required> $process_name ] + } + } + Function [ <internal:swoole> function swoole_get_local_ip ] { + + - Parameters [0] { + } + } + Function [ <internal:swoole> function swoole_get_local_mac ] { + + - Parameters [0] { + } + } + Function [ <internal:swoole> function swoole_strerror ] { + + - Parameters [2] { + Parameter #0 [ <required> $errno ] + Parameter #1 [ <optional> $error_type ] + } + } + Function [ <internal:swoole> function swoole_errno ] { + + - Parameters [0] { + } + } + Function [ <internal:swoole> function swoole_hashcode ] { + + - Parameters [2] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $type ] + } + } + } + + - Classes [46] { + Class [ <internal:swoole> class Swoole\Server ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [29] { + Property [ <default> public $onConnect ] + Property [ <default> public $onReceive ] + Property [ <default> public $onClose ] + Property [ <default> public $onPacket ] + Property [ <default> public $onBufferFull ] + Property [ <default> public $onBufferEmpty ] + Property [ <default> public $onStart ] + Property [ <default> public $onShutdown ] + Property [ <default> public $onWorkerStart ] + Property [ <default> public $onWorkerStop ] + Property [ <default> public $onWorkerExit ] + Property [ <default> public $onWorkerError ] + Property [ <default> public $onTask ] + Property [ <default> public $onFinish ] + Property [ <default> public $onManagerStart ] + Property [ <default> public $onManagerStop ] + Property [ <default> public $onPipeMessage ] + Property [ <default> public $setting ] + Property [ <default> public $connections ] + Property [ <default> public $host ] + Property [ <default> public $port ] + Property [ <default> public $type ] + Property [ <default> public $mode ] + Property [ <default> public $ports ] + Property [ <default> public $master_pid ] + Property [ <default> public $manager_pid ] + Property [ <default> public $worker_id ] + Property [ <default> public $taskworker ] + Property [ <default> public $worker_pid ] + } + + - Methods [42] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [4] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port ] + Parameter #2 [ <optional> $mode ] + Parameter #3 [ <optional> $sock_type ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method listen ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $sock_type ] + } + } + + Method [ <internal:swoole> public method addlistener ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $sock_type ] + } + } + + Method [ <internal:swoole> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> $event_name ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:swoole> public method start ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method send ] { + + - Parameters [3] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $send_data ] + Parameter #2 [ <optional> $reactor_id ] + } + } + + Method [ <internal:swoole> public method sendto ] { + + - Parameters [4] { + Parameter #0 [ <required> $ip ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $send_data ] + Parameter #3 [ <optional> $server_socket ] + } + } + + Method [ <internal:swoole> public method sendwait ] { + + - Parameters [2] { + Parameter #0 [ <required> $conn_fd ] + Parameter #1 [ <required> $send_data ] + } + } + + Method [ <internal:swoole> public method exist ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole> public method protect ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $is_protected ] + } + } + + Method [ <internal:swoole> public method sendfile ] { + + - Parameters [4] { + Parameter #0 [ <required> $conn_fd ] + Parameter #1 [ <required> $filename ] + Parameter #2 [ <optional> $offset ] + Parameter #3 [ <optional> $length ] + } + } + + Method [ <internal:swoole> public method close ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $reset ] + } + } + + Method [ <internal:swoole> public method confirm ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole> public method pause ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole> public method resume ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole> public method task ] { + + - Parameters [3] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $worker_id ] + Parameter #2 [ <optional> $finish_callback ] + } + } + + Method [ <internal:swoole> public method taskwait ] { + + - Parameters [3] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $timeout ] + Parameter #2 [ <optional> $worker_id ] + } + } + + Method [ <internal:swoole> public method taskWaitMulti ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method taskCo ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method finish ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method reload ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method shutdown ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method stop ] { + + - Parameters [1] { + Parameter #0 [ <optional> $worker_id ] + } + } + + Method [ <internal:swoole> public method getLastError ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method heartbeat ] { + + - Parameters [1] { + Parameter #0 [ <required> $reactor_id ] + } + } + + Method [ <internal:swoole> public method connection_info ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $reactor_id ] + } + } + + Method [ <internal:swoole> public method connection_list ] { + + - Parameters [2] { + Parameter #0 [ <required> $start_fd ] + Parameter #1 [ <optional> $find_count ] + } + } + + Method [ <internal:swoole> public method getClientInfo ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $reactor_id ] + } + } + + Method [ <internal:swoole> public method getClientList ] { + + - Parameters [2] { + Parameter #0 [ <required> $start_fd ] + Parameter #1 [ <optional> $find_count ] + } + } + + Method [ <internal:swoole> public method after ] { + + - Parameters [3] { + Parameter #0 [ <required> $ms ] + Parameter #1 [ <required> $callback ] + Parameter #2 [ <optional> $param ] + } + } + + Method [ <internal:swoole> public method tick ] { + + - Parameters [2] { + Parameter #0 [ <required> $ms ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method clearTimer ] { + + - Parameters [1] { + Parameter #0 [ <required> $timer_id ] + } + } + + Method [ <internal:swoole> public method defer ] { + + - Parameters [1] { + Parameter #0 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method sendMessage ] { + + - Parameters [2] { + Parameter #0 [ <required> $message ] + Parameter #1 [ <required> $dst_worker_id ] + } + } + + Method [ <internal:swoole> public method addProcess ] { + + - Parameters [1] { + Parameter #0 [ <required> swoole_process $process ] + } + } + + Method [ <internal:swoole> public method stats ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getSocket ] { + + - Parameters [1] { + Parameter #0 [ <optional> $port ] + } + } + + Method [ <internal:swoole> public method bind ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $uid ] + } + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + } + } + + Class [ <internal:swoole> class Swoole\Timer ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [4] { + Method [ <internal:swoole> static public method tick ] { + + - Parameters [2] { + Parameter #0 [ <required> $ms ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> static public method after ] { + + - Parameters [3] { + Parameter #0 [ <required> $ms ] + Parameter #1 [ <required> $callback ] + Parameter #2 [ <optional> $param ] + } + } + + Method [ <internal:swoole> static public method exists ] { + + - Parameters [1] { + Parameter #0 [ <required> $timer_id ] + } + } + + Method [ <internal:swoole> static public method clear ] { + + - Parameters [1] { + Parameter #0 [ <required> $timer_id ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:swoole> class Swoole\Event ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [8] { + Method [ <internal:swoole> static public method add ] { + + - Parameters [4] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $read_callback ] + Parameter #2 [ <optional> $write_callback ] + Parameter #3 [ <optional> $events ] + } + } + + Method [ <internal:swoole> static public method del ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole> static public method set ] { + + - Parameters [4] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $read_callback ] + Parameter #2 [ <optional> $write_callback ] + Parameter #3 [ <optional> $events ] + } + } + + Method [ <internal:swoole> static public method exit ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> static public method write ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $data ] + } + } + + Method [ <internal:swoole> static public method wait ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> static public method defer ] { + + - Parameters [1] { + Parameter #0 [ <required> $callback ] + } + } + + Method [ <internal:swoole> static public method cycle ] { + + - Parameters [2] { + Parameter #0 [ <required> $callback ] + Parameter #1 [ <optional> $before ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:swoole> class Swoole\Async ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [8] { + Method [ <internal:swoole> static public method read ] { + + - Parameters [4] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <required> $callback ] + Parameter #2 [ <optional> $chunk_size ] + Parameter #3 [ <optional> $offset ] + } + } + + Method [ <internal:swoole> static public method write ] { + + - Parameters [4] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <required> $content ] + Parameter #2 [ <optional> $offset ] + Parameter #3 [ <optional> $callback ] + } + } + + Method [ <internal:swoole> static public method readFile ] { + + - Parameters [2] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> static public method writeFile ] { + + - Parameters [4] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <required> $content ] + Parameter #2 [ <optional> $callback ] + Parameter #3 [ <optional> $flags ] + } + } + + Method [ <internal:swoole> static public method dnsLookup ] { + + - Parameters [2] { + Parameter #0 [ <required> $hostname ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> static public method dnsLookupCoro ] { + + - Parameters [1] { + Parameter #0 [ <required> $domain_name ] + } + } + + Method [ <internal:swoole> static public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:swoole> static public method exec ] { + + - Parameters [2] { + Parameter #0 [ <required> $command ] + Parameter #1 [ <required> $callback ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:swoole> <iterateable> class Swoole\Connection\Iterator implements Iterator, Traversable, Countable, ArrayAccess ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [11] { + Method [ <internal:swoole, prototype Iterator> public method rewind ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, prototype Iterator> public method next ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, prototype Iterator> public method current ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, prototype Iterator> public method key ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, prototype Iterator> public method valid ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, prototype Countable> public method count ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, prototype ArrayAccess> public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, prototype ArrayAccess> public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole, prototype ArrayAccess> public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + } + } + + Class [ <internal:swoole> class Swoole\Exception extends Exception implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + } + } + } + + Class [ <internal:swoole> class Swoole\Server\Port ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [16] { + Property [ <default> public $onConnect ] + Property [ <default> public $onReceive ] + Property [ <default> public $onClose ] + Property [ <default> public $onPacket ] + Property [ <default> public $onBufferFull ] + Property [ <default> public $onBufferEmpty ] + Property [ <default> public $onRequest ] + Property [ <default> public $onHandShake ] + Property [ <default> public $onMessage ] + Property [ <default> public $onOpen ] + Property [ <default> public $host ] + Property [ <default> public $port ] + Property [ <default> public $type ] + Property [ <default> public $sock ] + Property [ <default> public $setting ] + Property [ <default> public $connections ] + } + + - Methods [7] { + Method [ <internal:swoole, ctor> private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:swoole> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> $event_name ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + + Method [ <internal:swoole> public method getSocket ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Client ] { + + - Constants [7] { + Constant [ public integer MSG_OOB ] { 1 } + Constant [ public integer MSG_PEEK ] { 2 } + Constant [ public integer MSG_DONTWAIT ] { 64 } + Constant [ public integer MSG_WAITALL ] { 256 } + Constant [ public integer SHUT_RDWR ] { 2 } + Constant [ public integer SHUT_RD ] { 0 } + Constant [ public integer SHUT_WR ] { 1 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [14] { + Property [ <default> public $errCode ] + Property [ <default> public $sock ] + Property [ <default> public $reuse ] + Property [ <default> public $reuseCount ] + Property [ <default> public $type ] + Property [ <default> public $id ] + Property [ <default> public $setting ] + Property [ <default> public $onConnect ] + Property [ <default> public $onError ] + Property [ <default> public $onReceive ] + Property [ <default> public $onClose ] + Property [ <default> public $onBufferFull ] + Property [ <default> public $onBufferEmpty ] + Property [ <default> public $onSSLReady ] + } + + - Methods [23] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [2] { + Parameter #0 [ <required> $type ] + Parameter #1 [ <optional> $async ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:swoole> public method connect ] { + + - Parameters [4] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port ] + Parameter #2 [ <optional> $timeout ] + Parameter #3 [ <optional> $sock_flag ] + } + } + + Method [ <internal:swoole> public method recv ] { + + - Parameters [2] { + Parameter #0 [ <optional> $size ] + Parameter #1 [ <optional> $flag ] + } + } + + Method [ <internal:swoole> public method send ] { + + - Parameters [2] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $flag ] + } + } + + Method [ <internal:swoole> public method pipe ] { + + - Parameters [1] { + Parameter #0 [ <required> $dst_socket ] + } + } + + Method [ <internal:swoole> public method sendfile ] { + + - Parameters [3] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <optional> $offset ] + Parameter #2 [ <optional> $length ] + } + } + + Method [ <internal:swoole> public method sendto ] { + + - Parameters [3] { + Parameter #0 [ <required> $ip ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method sleep ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method wakeup ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method pause ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method resume ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method shutdown ] { + + - Parameters [1] { + Parameter #0 [ <required> $how ] + } + } + + Method [ <internal:swoole> public method enableSSL ] { + + - Parameters [1] { + Parameter #0 [ <optional> $callback ] + } + } + + Method [ <internal:swoole> public method getPeerCert ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method verifyPeerCert ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method isConnected ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getsockname ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getpeername ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method close ] { + + - Parameters [1] { + Parameter #0 [ <optional> $force ] + } + } + + Method [ <internal:swoole> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> $event_name ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method getSocket ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> final class Swoole\Coroutine\Socket ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ <default> public $errCode ] + } + + - Methods [13] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <required> $domain ] + Parameter #1 [ <required> $type ] + Parameter #2 [ <required> $protocol ] + } + } + + Method [ <internal:swoole> public method bind ] { + + - Parameters [2] { + Parameter #0 [ <required> $address ] + Parameter #1 [ <optional> $port ] + } + } + + Method [ <internal:swoole> public method listen ] { + + - Parameters [1] { + Parameter #0 [ <optional> $backlog ] + } + } + + Method [ <internal:swoole> public method accept ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method connect ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port ] + Parameter #2 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method recv ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method send ] { + + - Parameters [2] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method recvfrom ] { + + - Parameters [2] { + Parameter #0 [ <required> &$peername ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method sendto ] { + + - Parameters [3] { + Parameter #0 [ <required> $addr ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method getpeername ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getsockname ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getSocket ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method close ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Coroutine\Socket\Exception extends Exception implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + } + } + } + + Class [ <internal:swoole> class Swoole\Coroutine\Client ] { + + - Constants [4] { + Constant [ public integer MSG_OOB ] { 1 } + Constant [ public integer MSG_PEEK ] { 2 } + Constant [ public integer MSG_DONTWAIT ] { 64 } + Constant [ public integer MSG_WAITALL ] { 256 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [8] { + Property [ <default> public $errCode ] + Property [ <default> public $sock ] + Property [ <default> public $reuse ] + Property [ <default> public $reuseCount ] + Property [ <default> public $type ] + Property [ <default> public $id ] + Property [ <default> public $setting ] + Property [ <default> public $connected ] + } + + - Methods [19] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $type ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:swoole> public method connect ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port ] + Parameter #2 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method recv ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method peek ] { + + - Parameters [1] { + Parameter #0 [ <optional> $length ] + } + } + + Method [ <internal:swoole> public method send ] { + + - Parameters [2] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $flag ] + } + } + + Method [ <internal:swoole> public method sendfile ] { + + - Parameters [3] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <optional> $offset ] + Parameter #2 [ <optional> $length ] + } + } + + Method [ <internal:swoole> public method sendto ] { + + - Parameters [3] { + Parameter #0 [ <required> $ip ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method enableSSL ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getPeerCert ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method verifyPeerCert ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method isConnected ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getsockname ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getpeername ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method close ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + + Method [ <internal:swoole> public method getSocket ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Coroutine\Redis ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [7] { + Property [ <default> public $setting ] + Property [ <default> public $host ] + Property [ <default> public $port ] + Property [ <default> public $sock ] + Property [ <default> public $connected ] + Property [ <default> public $errCode ] + Property [ <default> public $errMsg ] + } + + - Methods [154] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> $config ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method connect ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <optional> $serialize ] + } + } + + Method [ <internal:swoole> public method setDefer ] { + } + + Method [ <internal:swoole> public method getDefer ] { + } + + Method [ <internal:swoole> public method recv ] { + } + + Method [ <internal:swoole> public method request ] { + + - Parameters [1] { + Parameter #0 [ <required> array $params ] + } + } + + Method [ <internal:swoole> public method close ] { + } + + Method [ <internal:swoole> public method set ] { + } + + Method [ <internal:swoole> public method setBit ] { + } + + Method [ <internal:swoole> public method setEx ] { + } + + Method [ <internal:swoole> public method psetEx ] { + } + + Method [ <internal:swoole> public method lSet ] { + } + + Method [ <internal:swoole> public method get ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method mGet ] { + } + + Method [ <internal:swoole> public method del ] { + } + + Method [ <internal:swoole> public method hDel ] { + } + + Method [ <internal:swoole> public method hSet ] { + } + + Method [ <internal:swoole> public method hMSet ] { + } + + Method [ <internal:swoole> public method hSetNx ] { + } + + Method [ <internal:swoole> public method delete ] { + } + + Method [ <internal:swoole> public method mSet ] { + } + + Method [ <internal:swoole> public method mSetNx ] { + } + + Method [ <internal:swoole> public method getKeys ] { + } + + Method [ <internal:swoole> public method keys ] { + } + + Method [ <internal:swoole> public method exists ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method type ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method strLen ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method lPop ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method blPop ] { + } + + Method [ <internal:swoole> public method rPop ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method brPop ] { + } + + Method [ <internal:swoole> public method bRPopLPush ] { + } + + Method [ <internal:swoole> public method lSize ] { + } + + Method [ <internal:swoole> public method lLen ] { + } + + Method [ <internal:swoole> public method sSize ] { + } + + Method [ <internal:swoole> public method scard ] { + } + + Method [ <internal:swoole> public method sPop ] { + } + + Method [ <internal:swoole> public method sMembers ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method sGetMembers ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method sRandMember ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> $integer ] + } + } + + Method [ <internal:swoole> public method persist ] { + } + + Method [ <internal:swoole> public method ttl ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method pttl ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method zCard ] { + } + + Method [ <internal:swoole> public method zSize ] { + } + + Method [ <internal:swoole> public method hLen ] { + } + + Method [ <internal:swoole> public method hKeys ] { + } + + Method [ <internal:swoole> public method hVals ] { + } + + Method [ <internal:swoole> public method hGetAll ] { + } + + Method [ <internal:swoole> public method debug ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method restore ] { + } + + Method [ <internal:swoole> public method dump ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method renameKey ] { + } + + Method [ <internal:swoole> public method rename ] { + } + + Method [ <internal:swoole> public method renameNx ] { + } + + Method [ <internal:swoole> public method rpoplpush ] { + } + + Method [ <internal:swoole> public method randomKey ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method ping ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method auth ] { + } + + Method [ <internal:swoole> public method unwatch ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method watch ] { + } + + Method [ <internal:swoole> public method save ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method bgSave ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method lastSave ] { + } + + Method [ <internal:swoole> public method flushDB ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method flushAll ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method dbSize ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method bgrewriteaof ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method time ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method role ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method setRange ] { + } + + Method [ <internal:swoole> public method setNx ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method getSet ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method append ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method lPushx ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method lPush ] { + } + + Method [ <internal:swoole> public method rPush ] { + } + + Method [ <internal:swoole> public method rPushx ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method sContains ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method sismember ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method zScore ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method zRank ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method zRevRank ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method hGet ] { + } + + Method [ <internal:swoole> public method hMGet ] { + } + + Method [ <internal:swoole> public method hExists ] { + } + + Method [ <internal:swoole> public method publish ] { + } + + Method [ <internal:swoole> public method zIncrBy ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <required> $member ] + } + } + + Method [ <internal:swoole> public method zAdd ] { + } + + Method [ <internal:swoole> public method zDeleteRangeByScore ] { + } + + Method [ <internal:swoole> public method zRemRangeByScore ] { + } + + Method [ <internal:swoole> public method zCount ] { + } + + Method [ <internal:swoole> public method zRange ] { + + - Parameters [4] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <required> $end ] + Parameter #3 [ <optional> $withscores ] + } + } + + Method [ <internal:swoole> public method zRevRange ] { + } + + Method [ <internal:swoole> public method zRangeByScore ] { + } + + Method [ <internal:swoole> public method zRevRangeByScore ] { + } + + Method [ <internal:swoole> public method zRangeByLex ] { + } + + Method [ <internal:swoole> public method zRevRangeByLex ] { + } + + Method [ <internal:swoole> public method zInter ] { + } + + Method [ <internal:swoole> public method zinterstore ] { + } + + Method [ <internal:swoole> public method zUnion ] { + } + + Method [ <internal:swoole> public method zunionstore ] { + } + + Method [ <internal:swoole> public method incrBy ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $integer ] + } + } + + Method [ <internal:swoole> public method hIncrBy ] { + } + + Method [ <internal:swoole> public method incr ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method decrBy ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $integer ] + } + } + + Method [ <internal:swoole> public method decr ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method getBit ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $integer ] + } + } + + Method [ <internal:swoole> public method lInsert ] { + } + + Method [ <internal:swoole> public method lGet ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $integer ] + } + } + + Method [ <internal:swoole> public method lIndex ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $integer ] + } + } + + Method [ <internal:swoole> public method setTimeout ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $integer ] + } + } + + Method [ <internal:swoole> public method expire ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $integer ] + } + } + + Method [ <internal:swoole> public method pexpire ] { + } + + Method [ <internal:swoole> public method expireAt ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $integer ] + } + } + + Method [ <internal:swoole> public method pexpireAt ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $integer ] + } + } + + Method [ <internal:swoole> public method move ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $integer ] + } + } + + Method [ <internal:swoole> public method select ] { + } + + Method [ <internal:swoole> public method getRange ] { + } + + Method [ <internal:swoole> public method listTrim ] { + } + + Method [ <internal:swoole> public method ltrim ] { + } + + Method [ <internal:swoole> public method lGetRange ] { + } + + Method [ <internal:swoole> public method lRange ] { + } + + Method [ <internal:swoole> public method lRem ] { + } + + Method [ <internal:swoole> public method lRemove ] { + } + + Method [ <internal:swoole> public method zDeleteRangeByRank ] { + } + + Method [ <internal:swoole> public method zRemRangeByRank ] { + } + + Method [ <internal:swoole> public method incrByFloat ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $float_number ] + } + } + + Method [ <internal:swoole> public method hIncrByFloat ] { + } + + Method [ <internal:swoole> public method bitCount ] { + } + + Method [ <internal:swoole> public method bitOp ] { + } + + Method [ <internal:swoole> public method sAdd ] { + } + + Method [ <internal:swoole> public method sMove ] { + } + + Method [ <internal:swoole> public method sDiff ] { + } + + Method [ <internal:swoole> public method sDiffStore ] { + } + + Method [ <internal:swoole> public method sUnion ] { + } + + Method [ <internal:swoole> public method sUnionStore ] { + } + + Method [ <internal:swoole> public method sInter ] { + } + + Method [ <internal:swoole> public method sInterStore ] { + } + + Method [ <internal:swoole> public method sRemove ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method srem ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method zDelete ] { + } + + Method [ <internal:swoole> public method zRemove ] { + } + + Method [ <internal:swoole> public method zRem ] { + } + + Method [ <internal:swoole> public method pSubscribe ] { + } + + Method [ <internal:swoole> public method subscribe ] { + } + + Method [ <internal:swoole> public method multi ] { + } + + Method [ <internal:swoole> public method exec ] { + } + + Method [ <internal:swoole> public method eval ] { + } + + Method [ <internal:swoole> public method evalSha ] { + } + + Method [ <internal:swoole> public method script ] { + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + } + } + + Class [ <internal:swoole> class Swoole\Coroutine\PostgreSQL ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [12] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method connect ] { + + - Parameters [1] { + Parameter #0 [ <required> $conninfo ] + } + } + + Method [ <internal:swoole> public method query ] { + + - Parameters [1] { + Parameter #0 [ <optional> $query ] + } + } + + Method [ <internal:swoole> public method fetchAll ] { + + - Parameters [2] { + Parameter #0 [ <optional> $result ] + Parameter #1 [ <optional> $result_type ] + } + } + + Method [ <internal:swoole> public method affectedRows ] { + + - Parameters [1] { + Parameter #0 [ <optional> $result ] + } + } + + Method [ <internal:swoole> public method numRows ] { + + - Parameters [1] { + Parameter #0 [ <optional> $result ] + } + } + + Method [ <internal:swoole> public method metaData ] { + + - Parameters [1] { + Parameter #0 [ <required> $table_name ] + } + } + + Method [ <internal:swoole> public method fetchObject ] { + + - Parameters [5] { + Parameter #0 [ <required> $result ] + Parameter #1 [ <optional> $row ] + Parameter #2 [ <optional> $class_name ] + Parameter #3 [ <optional> $l ] + Parameter #4 [ <optional> $ctor_params ] + } + } + + Method [ <internal:swoole> public method fetchAssoc ] { + + - Parameters [2] { + Parameter #0 [ <required> $result ] + Parameter #1 [ <optional> $row ] + } + } + + Method [ <internal:swoole> public method fetchArray ] { + + - Parameters [3] { + Parameter #0 [ <required> $result ] + Parameter #1 [ <optional> $row ] + Parameter #2 [ <optional> $result_type ] + } + } + + Method [ <internal:swoole> public method fetchRow ] { + + - Parameters [3] { + Parameter #0 [ <required> $result ] + Parameter #1 [ <optional> $row ] + Parameter #2 [ <optional> $result_type ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Coroutine\MySQL ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [9] { + Property [ <default> private $serverInfo ] + Property [ <default> public $sock ] + Property [ <default> public $connected ] + Property [ <default> public $connect_error ] + Property [ <default> public $connect_errno ] + Property [ <default> public $affected_rows ] + Property [ <default> public $insert_id ] + Property [ <default> public $error ] + Property [ <default> public $errno ] + } + + - Methods [15] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method connect ] { + + - Parameters [1] { + Parameter #0 [ <required> array $server_config ] + } + } + + Method [ <internal:swoole> public method query ] { + + - Parameters [2] { + Parameter #0 [ <required> $sql ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method recv ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method escape ] { + + - Parameters [2] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <optional> $flags ] + } + } + + Method [ <internal:swoole> public method begin ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method commit ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method rollback ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method prepare ] { + + - Parameters [1] { + Parameter #0 [ <required> $query ] + } + } + + Method [ <internal:swoole> public method setDefer ] { + + - Parameters [1] { + Parameter #0 [ <optional> $defer ] + } + } + + Method [ <internal:swoole> public method getDefer ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method close ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + } + } + + Class [ <internal:swoole> class Swoole\Coroutine\MySQL\Statement ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> public $affected_rows ] + Property [ <default> public $insert_id ] + Property [ <default> public $error ] + Property [ <default> public $errno ] + } + + - Methods [4] { + Method [ <internal:swoole> public method execute ] { + + - Parameters [2] { + Parameter #0 [ <optional> $params ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + } + } + + Class [ <internal:swoole> class Swoole\Coroutine\MySQL\Exception extends Exception implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + } + } + } + + Class [ <internal:swoole> class Swoole\Coroutine\Http\Client ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [17] { + Property [ <default> public $errCode ] + Property [ <default> public $sock ] + Property [ <default> public $reuse ] + Property [ <default> public $reuseCount ] + Property [ <default> public $type ] + Property [ <default> public $setting ] + Property [ <default> public $connected ] + Property [ <default> public $statusCode ] + Property [ <default> public $host ] + Property [ <default> public $port ] + Property [ <default> public $requestMethod ] + Property [ <default> public $requestHeaders ] + Property [ <default> public $requestBody ] + Property [ <default> public $uploadFiles ] + Property [ <default> public $headers ] + Property [ <default> public $cookies ] + Property [ <default> public $body ] + } + + - Methods [21] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port ] + Parameter #2 [ <optional> $ssl ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:swoole> public method setMethod ] { + + - Parameters [1] { + Parameter #0 [ <required> $method ] + } + } + + Method [ <internal:swoole> public method setHeaders ] { + + - Parameters [1] { + Parameter #0 [ <required> array $headers ] + } + } + + Method [ <internal:swoole> public method setCookies ] { + + - Parameters [1] { + Parameter #0 [ <required> array $cookies ] + } + } + + Method [ <internal:swoole> public method setData ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method execute ] { + + - Parameters [1] { + Parameter #0 [ <required> $path ] + } + } + + Method [ <internal:swoole> public method get ] { + + - Parameters [1] { + Parameter #0 [ <required> $path ] + } + } + + Method [ <internal:swoole> public method post ] { + + - Parameters [2] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method download ] { + + - Parameters [3] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $file ] + Parameter #2 [ <optional> $offset ] + } + } + + Method [ <internal:swoole> public method upgrade ] { + + - Parameters [1] { + Parameter #0 [ <required> $path ] + } + } + + Method [ <internal:swoole> public method addFile ] { + + - Parameters [6] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $name ] + Parameter #2 [ <optional> $type ] + Parameter #3 [ <optional> $filename ] + Parameter #4 [ <optional> $offset ] + Parameter #5 [ <optional> $length ] + } + } + + Method [ <internal:swoole> public method isConnected ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method close ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method setDefer ] { + + - Parameters [1] { + Parameter #0 [ <optional> $defer ] + } + } + + Method [ <internal:swoole> public method getDefer ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method recv ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method push ] { + + - Parameters [3] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $opcode ] + Parameter #2 [ <optional> $finish ] + } + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + } + } + + Class [ <internal:swoole> class Swoole\Coroutine ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [17] { + Method [ <internal:swoole> static public method create ] { + + - Parameters [1] { + Parameter #0 [ <required> $func ] + } + } + + Method [ <internal:swoole> static public method exec ] { + + - Parameters [1] { + Parameter #0 [ <required> $command ] + } + } + + Method [ <internal:swoole> static public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> $options ] + } + } + + Method [ <internal:swoole> static public method cli_wait ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> static public method suspend ] { + + - Parameters [1] { + Parameter #0 [ <required> $uid ] + } + } + + Method [ <internal:swoole> static public method resume ] { + + - Parameters [1] { + Parameter #0 [ <required> $uid ] + } + } + + Method [ <internal:swoole> static public method getuid ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> static public method sleep ] { + + - Parameters [1] { + Parameter #0 [ <required> $seconds ] + } + } + + Method [ <internal:swoole> static public method fread ] { + + - Parameters [2] { + Parameter #0 [ <required> $handle ] + Parameter #1 [ <optional> $length ] + } + } + + Method [ <internal:swoole> static public method fgets ] { + + - Parameters [1] { + Parameter #0 [ <required> $handle ] + } + } + + Method [ <internal:swoole> static public method fwrite ] { + + - Parameters [3] { + Parameter #0 [ <required> $handle ] + Parameter #1 [ <required> $string ] + Parameter #2 [ <optional> $length ] + } + } + + Method [ <internal:swoole> static public method readFile ] { + + - Parameters [1] { + Parameter #0 [ <required> $filename ] + } + } + + Method [ <internal:swoole> static public method writeFile ] { + + - Parameters [3] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <required> $data ] + Parameter #2 [ <optional> $flags ] + } + } + + Method [ <internal:swoole> static public method gethostbyname ] { + + - Parameters [2] { + Parameter #0 [ <required> $domain_name ] + Parameter #1 [ <optional> $family ] + } + } + + Method [ <internal:swoole> static public method getaddrinfo ] { + + - Parameters [5] { + Parameter #0 [ <required> $hostname ] + Parameter #1 [ <optional> $family ] + Parameter #2 [ <optional> $socktype ] + Parameter #3 [ <optional> $protocol ] + Parameter #4 [ <optional> $service ] + } + } + + Method [ <internal:swoole> static public method call_user_func ] { + + - Parameters [1] { + Parameter #0 [ <required> $func ] + } + } + + Method [ <internal:swoole> static public method call_user_func_array ] { + + - Parameters [2] { + Parameter #0 [ <required> $func ] + Parameter #1 [ <required> array $params ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:swoole> class Swoole\Http\Client ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [19] { + Property [ <default> public $type ] + Property [ <default> public $errCode ] + Property [ <default> public $sock ] + Property [ <default> public $statusCode ] + Property [ <default> public $host ] + Property [ <default> public $port ] + Property [ <default> public $requestMethod ] + Property [ <default> public $requestHeaders ] + Property [ <default> public $requestBody ] + Property [ <default> public $uploadFiles ] + Property [ <default> public $set_cookie_headers ] + Property [ <default> public $downloadFile ] + Property [ <default> public $headers ] + Property [ <default> public $cookies ] + Property [ <default> public $body ] + Property [ <default> public $onConnect ] + Property [ <default> public $onError ] + Property [ <default> public $onMessage ] + Property [ <default> public $onClose ] + } + + - Methods [17] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port ] + Parameter #2 [ <optional> $ssl ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:swoole> public method setMethod ] { + + - Parameters [1] { + Parameter #0 [ <required> $method ] + } + } + + Method [ <internal:swoole> public method setHeaders ] { + + - Parameters [1] { + Parameter #0 [ <required> array $headers ] + } + } + + Method [ <internal:swoole> public method setCookies ] { + + - Parameters [1] { + Parameter #0 [ <required> array $cookies ] + } + } + + Method [ <internal:swoole> public method setData ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method addFile ] { + + - Parameters [6] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $name ] + Parameter #2 [ <optional> $type ] + Parameter #3 [ <optional> $filename ] + Parameter #4 [ <optional> $offset ] + Parameter #5 [ <optional> $length ] + } + } + + Method [ <internal:swoole> public method execute ] { + + - Parameters [2] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method push ] { + + - Parameters [3] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $opcode ] + Parameter #2 [ <optional> $finish ] + } + } + + Method [ <internal:swoole> public method get ] { + + - Parameters [2] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method post ] { + + - Parameters [3] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $data ] + Parameter #2 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method upgrade ] { + + - Parameters [2] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method download ] { + + - Parameters [4] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $file ] + Parameter #2 [ <required> $callback ] + Parameter #3 [ <optional> $offset ] + } + } + + Method [ <internal:swoole> public method isConnected ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method close ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> $event_name ] + Parameter #1 [ <required> $callback ] + } + } + } + } + + Class [ <internal:swoole> class Swoole\Process ] { + + - Constants [5] { + Constant [ public integer IPC_NOWAIT ] { 256 } + Constant [ public integer PIPE_MASTER ] { 1 } + Constant [ public integer PIPE_WORKER ] { 2 } + Constant [ public integer PIPE_READ ] { 3 } + Constant [ public integer PIPE_WRITE ] { 4 } + } + + - Static properties [0] { + } + + - Static methods [6] { + Method [ <internal:swoole> static public method wait ] { + + - Parameters [1] { + Parameter #0 [ <optional> $blocking ] + } + } + + Method [ <internal:swoole> static public method signal ] { + + - Parameters [2] { + Parameter #0 [ <required> $signal_no ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> static public method alarm ] { + + - Parameters [1] { + Parameter #0 [ <required> $usec ] + } + } + + Method [ <internal:swoole> static public method kill ] { + + - Parameters [2] { + Parameter #0 [ <required> $pid ] + Parameter #1 [ <optional> $signal_no ] + } + } + + Method [ <internal:swoole> static public method daemon ] { + + - Parameters [2] { + Parameter #0 [ <optional> $nochdir ] + Parameter #1 [ <optional> $noclose ] + } + } + + Method [ <internal:swoole> static public method setaffinity ] { + + - Parameters [1] { + Parameter #0 [ <required> array $cpu_settings ] + } + } + } + + - Properties [6] { + Property [ <default> public $pipe ] + Property [ <default> public $callback ] + Property [ <default> public $msgQueueId ] + Property [ <default> public $msgQueueKey ] + Property [ <default> public $pid ] + Property [ <default> public $id ] + } + + - Methods [16] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <required> $callback ] + Parameter #1 [ <optional> $redirect_stdin_and_stdout ] + Parameter #2 [ <optional> $pipe_type ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method setTimeout ] { + + - Parameters [1] { + Parameter #0 [ <required> $seconds ] + } + } + + Method [ <internal:swoole> public method setBlocking ] { + + - Parameters [1] { + Parameter #0 [ <required> $blocking ] + } + } + + Method [ <internal:swoole> public method useQueue ] { + + - Parameters [2] { + Parameter #0 [ <optional> $key ] + Parameter #1 [ <optional> $mode ] + } + } + + Method [ <internal:swoole> public method statQueue ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method freeQueue ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method start ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method write ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method close ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method read ] { + + - Parameters [1] { + Parameter #0 [ <optional> $size ] + } + } + + Method [ <internal:swoole> public method push ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method pop ] { + + - Parameters [1] { + Parameter #0 [ <optional> $size ] + } + } + + Method [ <internal:swoole> public method exit ] { + + - Parameters [1] { + Parameter #0 [ <optional> $exit_code ] + } + } + + Method [ <internal:swoole> public method exec ] { + + - Parameters [2] { + Parameter #0 [ <required> $exec_file ] + Parameter #1 [ <required> $args ] + } + } + + Method [ <internal:swoole> public method name ] { + + - Parameters [1] { + Parameter #0 [ <required> $process_name ] + } + } + } + } + + Class [ <internal:swoole> class Swoole\Process\Pool ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <required> $worker_num ] + Parameter #1 [ <optional> $ipc_type ] + Parameter #2 [ <optional> $msgqueue_key ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> $event_name ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method listen ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port ] + Parameter #2 [ <optional> $backlog ] + } + } + + Method [ <internal:swoole> public method write ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method start ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> <iterateable> class Swoole\Table implements ArrayAccess, Iterator, Traversable, Countable ] { + + - Constants [3] { + Constant [ public integer TYPE_INT ] { 1 } + Constant [ public integer TYPE_STRING ] { 7 } + Constant [ public integer TYPE_FLOAT ] { 6 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [23] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [2] { + Parameter #0 [ <required> $table_size ] + Parameter #1 [ <optional> $conflict_proportion ] + } + } + + Method [ <internal:swoole> public method column ] { + + - Parameters [3] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $type ] + Parameter #2 [ <optional> $size ] + } + } + + Method [ <internal:swoole> public method create ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method destroy ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method set ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> array $value ] + } + } + + Method [ <internal:swoole> public method get ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <optional> $field ] + } + } + + Method [ <internal:swoole, prototype Countable> public method count ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method del ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method exist ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:swoole> public method incr ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $column ] + Parameter #2 [ <optional> $incrby ] + } + } + + Method [ <internal:swoole> public method decr ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $column ] + Parameter #2 [ <optional> $decrby ] + } + } + + Method [ <internal:swoole> public method getMemorySize ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ <required> $offset ] + } + } + + Method [ <internal:swoole, prototype ArrayAccess> public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ <required> $offset ] + } + } + + Method [ <internal:swoole, prototype ArrayAccess> public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ <required> $offset ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole, prototype ArrayAccess> public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ <required> $offset ] + } + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + + Method [ <internal:swoole, prototype Iterator> public method rewind ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, prototype Iterator> public method next ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, prototype Iterator> public method current ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, prototype Iterator> public method key ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, prototype Iterator> public method valid ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Table\Row implements ArrayAccess ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ <default> public $key ] + Property [ <default> public $value ] + } + + - Methods [5] { + Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ <required> $offset ] + } + } + + Method [ <internal:swoole, prototype ArrayAccess> public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ <required> $offset ] + } + } + + Method [ <internal:swoole, prototype ArrayAccess> public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ <required> $offset ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:swoole, prototype ArrayAccess> public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ <required> $offset ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Lock ] { + + - Constants [5] { + Constant [ public integer FILELOCK ] { 2 } + Constant [ public integer MUTEX ] { 3 } + Constant [ public integer SEM ] { 4 } + Constant [ public integer RWLOCK ] { 1 } + Constant [ public integer SPINLOCK ] { 5 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ <default> public $errCode ] + } + + - Methods [9] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [2] { + Parameter #0 [ <optional> $type ] + Parameter #1 [ <optional> $filename ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method lock ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method lockwait ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method trylock ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method lock_read ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method trylock_read ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method unlock ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Atomic ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [10] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> $value ] + } + } + + Method [ <internal:swoole> public method add ] { + + - Parameters [1] { + Parameter #0 [ <optional> $add_value ] + } + } + + Method [ <internal:swoole> public method sub ] { + + - Parameters [1] { + Parameter #0 [ <optional> $sub_value ] + } + } + + Method [ <internal:swoole> public method get ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method wait ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole> public method wakeup ] { + + - Parameters [1] { + Parameter #0 [ <optional> $count ] + } + } + + Method [ <internal:swoole> public method cmpset ] { + + - Parameters [2] { + Parameter #0 [ <required> $cmp_value ] + Parameter #1 [ <required> $new_value ] + } + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + } + } + + Class [ <internal:swoole> class Swoole\Atomic\Long ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [8] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> $value ] + } + } + + Method [ <internal:swoole> public method add ] { + + - Parameters [1] { + Parameter #0 [ <optional> $add_value ] + } + } + + Method [ <internal:swoole> public method sub ] { + + - Parameters [1] { + Parameter #0 [ <optional> $sub_value ] + } + } + + Method [ <internal:swoole> public method get ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:swoole> public method cmpset ] { + + - Parameters [2] { + Parameter #0 [ <required> $cmp_value ] + Parameter #1 [ <required> $new_value ] + } + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + } + } + + Class [ <internal:swoole> class Swoole\Http\Server extends Swoole\Server ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [31] { + Property [ <default> public $onConnect ] + Property [ <default> public $onReceive ] + Property [ <default> public $onClose ] + Property [ <default> public $onPacket ] + Property [ <default> public $onBufferFull ] + Property [ <default> public $onBufferEmpty ] + Property [ <default> public $onStart ] + Property [ <default> public $onShutdown ] + Property [ <default> public $onWorkerStart ] + Property [ <default> public $onWorkerStop ] + Property [ <default> public $onWorkerExit ] + Property [ <default> public $onWorkerError ] + Property [ <default> public $onTask ] + Property [ <default> public $onFinish ] + Property [ <default> public $onManagerStart ] + Property [ <default> public $onManagerStop ] + Property [ <default> public $onPipeMessage ] + Property [ <default> public $connections ] + Property [ <default> public $host ] + Property [ <default> public $port ] + Property [ <default> public $type ] + Property [ <default> public $mode ] + Property [ <default> public $ports ] + Property [ <default> public $master_pid ] + Property [ <default> public $manager_pid ] + Property [ <default> public $worker_id ] + Property [ <default> public $taskworker ] + Property [ <default> public $worker_pid ] + Property [ <default> public $onRequest ] + Property [ <default> public $onHandshake ] + Property [ <default> public $setting ] + } + + - Methods [42] { + Method [ <internal:swoole, overwrites Swoole\Server, prototype Swoole\Server> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> $event_name ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole, overwrites Swoole\Server, prototype Swoole\Server> public method start ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, overwrites Swoole\Server, prototype Swoole\Server> public method __sleep ] { + } + + Method [ <internal:swoole, overwrites Swoole\Server, prototype Swoole\Server> public method __wakeup ] { + } + + Method [ <internal:swoole, inherits Swoole\Server, ctor> public method __construct ] { + + - Parameters [4] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port ] + Parameter #2 [ <optional> $mode ] + Parameter #3 [ <optional> $sock_type ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method listen ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $sock_type ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method addlistener ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $sock_type ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method send ] { + + - Parameters [3] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $send_data ] + Parameter #2 [ <optional> $reactor_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method sendto ] { + + - Parameters [4] { + Parameter #0 [ <required> $ip ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $send_data ] + Parameter #3 [ <optional> $server_socket ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method sendwait ] { + + - Parameters [2] { + Parameter #0 [ <required> $conn_fd ] + Parameter #1 [ <required> $send_data ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method exist ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method protect ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $is_protected ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method sendfile ] { + + - Parameters [4] { + Parameter #0 [ <required> $conn_fd ] + Parameter #1 [ <required> $filename ] + Parameter #2 [ <optional> $offset ] + Parameter #3 [ <optional> $length ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method close ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $reset ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method confirm ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method pause ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method resume ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method task ] { + + - Parameters [3] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $worker_id ] + Parameter #2 [ <optional> $finish_callback ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method taskwait ] { + + - Parameters [3] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $timeout ] + Parameter #2 [ <optional> $worker_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method taskWaitMulti ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method taskCo ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method finish ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method reload ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method shutdown ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method stop ] { + + - Parameters [1] { + Parameter #0 [ <optional> $worker_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getLastError ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method heartbeat ] { + + - Parameters [1] { + Parameter #0 [ <required> $reactor_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $reactor_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method connection_list ] { + + - Parameters [2] { + Parameter #0 [ <required> $start_fd ] + Parameter #1 [ <optional> $find_count ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getClientInfo ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $reactor_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getClientList ] { + + - Parameters [2] { + Parameter #0 [ <required> $start_fd ] + Parameter #1 [ <optional> $find_count ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method after ] { + + - Parameters [3] { + Parameter #0 [ <required> $ms ] + Parameter #1 [ <required> $callback ] + Parameter #2 [ <optional> $param ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method tick ] { + + - Parameters [2] { + Parameter #0 [ <required> $ms ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method clearTimer ] { + + - Parameters [1] { + Parameter #0 [ <required> $timer_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method defer ] { + + - Parameters [1] { + Parameter #0 [ <required> $callback ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] { + + - Parameters [2] { + Parameter #0 [ <required> $message ] + Parameter #1 [ <required> $dst_worker_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method addProcess ] { + + - Parameters [1] { + Parameter #0 [ <required> swoole_process $process ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method stats ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getSocket ] { + + - Parameters [1] { + Parameter #0 [ <optional> $port ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method bind ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $uid ] + } + } + } + } + + Class [ <internal:swoole> class Swoole\Http\Response ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:swoole> static public method create ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + } + + - Properties [4] { + Property [ <default> public $fd ] + Property [ <default> public $header ] + Property [ <default> public $cookie ] + Property [ <default> public $trailer ] + } + + - Methods [15] { + Method [ <internal:swoole> public method initHeader ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method cookie ] { + + - Parameters [7] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <optional> $value ] + Parameter #2 [ <optional> $expires ] + Parameter #3 [ <optional> $path ] + Parameter #4 [ <optional> $domain ] + Parameter #5 [ <optional> $secure ] + Parameter #6 [ <optional> $httponly ] + } + } + + Method [ <internal:swoole> public method rawcookie ] { + + - Parameters [7] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <optional> $value ] + Parameter #2 [ <optional> $expires ] + Parameter #3 [ <optional> $path ] + Parameter #4 [ <optional> $domain ] + Parameter #5 [ <optional> $secure ] + Parameter #6 [ <optional> $httponly ] + } + } + + Method [ <internal:swoole> public method status ] { + + - Parameters [1] { + Parameter #0 [ <required> $http_code ] + } + } + + Method [ <internal:swoole> public method gzip ] { + + - Parameters [1] { + Parameter #0 [ <optional> $compress_level ] + } + } + + Method [ <internal:swoole> public method header ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <optional> $ucwords ] + } + } + + Method [ <internal:swoole> public method trailer ] { + + - Parameters [3] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <optional> $ucwords ] + } + } + + Method [ <internal:swoole> public method write ] { + + - Parameters [1] { + Parameter #0 [ <required> $content ] + } + } + + Method [ <internal:swoole> public method end ] { + + - Parameters [1] { + Parameter #0 [ <optional> $content ] + } + } + + Method [ <internal:swoole> public method sendfile ] { + + - Parameters [3] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <optional> $offset ] + Parameter #2 [ <optional> $length ] + } + } + + Method [ <internal:swoole> public method redirect ] { + + - Parameters [2] { + Parameter #0 [ <required> $location ] + Parameter #1 [ <optional> $http_code ] + } + } + + Method [ <internal:swoole> public method detach ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Http\Request ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [9] { + Property [ <default> public $fd ] + Property [ <default> public $header ] + Property [ <default> public $server ] + Property [ <default> public $request ] + Property [ <default> public $cookie ] + Property [ <default> public $get ] + Property [ <default> public $files ] + Property [ <default> public $post ] + Property [ <default> public $tmpfiles ] + } + + - Methods [5] { + Method [ <internal:swoole> public method rawcontent ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getData ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Buffer ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [12] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> $size ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method __toString ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method substr ] { + + - Parameters [3] { + Parameter #0 [ <required> $offset ] + Parameter #1 [ <optional> $length ] + Parameter #2 [ <optional> $seek ] + } + } + + Method [ <internal:swoole> public method write ] { + + - Parameters [2] { + Parameter #0 [ <required> $offset ] + Parameter #1 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method read ] { + + - Parameters [2] { + Parameter #0 [ <required> $offset ] + Parameter #1 [ <required> $length ] + } + } + + Method [ <internal:swoole> public method append ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method expand ] { + + - Parameters [1] { + Parameter #0 [ <required> $size ] + } + } + + Method [ <internal:swoole> public method recycle ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method clear ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method __sleep ] { + } + + Method [ <internal:swoole> public method __wakeup ] { + } + } + } + + Class [ <internal:swoole> class Swoole\WebSocket\Server extends Swoole\Http\Server ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ <internal:swoole> static public method pack ] { + + - Parameters [4] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $opcode ] + Parameter #2 [ <optional> $finish ] + Parameter #3 [ <optional> $mask ] + } + } + + Method [ <internal:swoole> static public method unpack ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + } + + - Properties [31] { + Property [ <default> public $onConnect ] + Property [ <default> public $onReceive ] + Property [ <default> public $onClose ] + Property [ <default> public $onPacket ] + Property [ <default> public $onBufferFull ] + Property [ <default> public $onBufferEmpty ] + Property [ <default> public $onStart ] + Property [ <default> public $onShutdown ] + Property [ <default> public $onWorkerStart ] + Property [ <default> public $onWorkerStop ] + Property [ <default> public $onWorkerExit ] + Property [ <default> public $onWorkerError ] + Property [ <default> public $onTask ] + Property [ <default> public $onFinish ] + Property [ <default> public $onManagerStart ] + Property [ <default> public $onManagerStop ] + Property [ <default> public $onPipeMessage ] + Property [ <default> public $connections ] + Property [ <default> public $host ] + Property [ <default> public $port ] + Property [ <default> public $type ] + Property [ <default> public $mode ] + Property [ <default> public $ports ] + Property [ <default> public $master_pid ] + Property [ <default> public $manager_pid ] + Property [ <default> public $worker_id ] + Property [ <default> public $taskworker ] + Property [ <default> public $worker_pid ] + Property [ <default> public $onRequest ] + Property [ <default> public $onHandshake ] + Property [ <default> public $setting ] + } + + - Methods [44] { + Method [ <internal:swoole, overwrites Swoole\Http\Server, prototype Swoole\Server> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> $event_name ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method push ] { + + - Parameters [4] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $data ] + Parameter #2 [ <optional> $opcode ] + Parameter #3 [ <optional> $finish ] + } + } + + Method [ <internal:swoole, overwrites Swoole\Server, prototype Swoole\Server> public method exist ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole> public method isEstablished ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, inherits Swoole\Http\Server, prototype Swoole\Server> public method start ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Http\Server, prototype Swoole\Server> public method __sleep ] { + } + + Method [ <internal:swoole, inherits Swoole\Http\Server, prototype Swoole\Server> public method __wakeup ] { + } + + Method [ <internal:swoole, inherits Swoole\Server, ctor> public method __construct ] { + + - Parameters [4] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port ] + Parameter #2 [ <optional> $mode ] + Parameter #3 [ <optional> $sock_type ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method listen ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $sock_type ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method addlistener ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $sock_type ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method send ] { + + - Parameters [3] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $send_data ] + Parameter #2 [ <optional> $reactor_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method sendto ] { + + - Parameters [4] { + Parameter #0 [ <required> $ip ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $send_data ] + Parameter #3 [ <optional> $server_socket ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method sendwait ] { + + - Parameters [2] { + Parameter #0 [ <required> $conn_fd ] + Parameter #1 [ <required> $send_data ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method protect ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $is_protected ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method sendfile ] { + + - Parameters [4] { + Parameter #0 [ <required> $conn_fd ] + Parameter #1 [ <required> $filename ] + Parameter #2 [ <optional> $offset ] + Parameter #3 [ <optional> $length ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method close ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $reset ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method confirm ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method pause ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method resume ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method task ] { + + - Parameters [3] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $worker_id ] + Parameter #2 [ <optional> $finish_callback ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method taskwait ] { + + - Parameters [3] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $timeout ] + Parameter #2 [ <optional> $worker_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method taskWaitMulti ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method taskCo ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method finish ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method reload ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method shutdown ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method stop ] { + + - Parameters [1] { + Parameter #0 [ <optional> $worker_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getLastError ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method heartbeat ] { + + - Parameters [1] { + Parameter #0 [ <required> $reactor_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $reactor_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method connection_list ] { + + - Parameters [2] { + Parameter #0 [ <required> $start_fd ] + Parameter #1 [ <optional> $find_count ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getClientInfo ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $reactor_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getClientList ] { + + - Parameters [2] { + Parameter #0 [ <required> $start_fd ] + Parameter #1 [ <optional> $find_count ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method after ] { + + - Parameters [3] { + Parameter #0 [ <required> $ms ] + Parameter #1 [ <required> $callback ] + Parameter #2 [ <optional> $param ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method tick ] { + + - Parameters [2] { + Parameter #0 [ <required> $ms ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method clearTimer ] { + + - Parameters [1] { + Parameter #0 [ <required> $timer_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method defer ] { + + - Parameters [1] { + Parameter #0 [ <required> $callback ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] { + + - Parameters [2] { + Parameter #0 [ <required> $message ] + Parameter #1 [ <required> $dst_worker_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method addProcess ] { + + - Parameters [1] { + Parameter #0 [ <required> swoole_process $process ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method stats ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getSocket ] { + + - Parameters [1] { + Parameter #0 [ <optional> $port ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method bind ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $uid ] + } + } + } + } + + Class [ <internal:swoole> class Swoole\WebSocket\Frame ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:swoole> class Swoole\MySQL ] { + + - Constants [6] { + Constant [ public integer STATE_QUERY ] { 0 } + Constant [ public integer STATE_READ_START ] { 1 } + Constant [ public integer STATE_READ_FIELD ] { 2 } + Constant [ public integer STATE_READ_ROW ] { 3 } + Constant [ public integer STATE_READ_END ] { 5 } + Constant [ public integer STATE_CLOSED ] { 6 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [11] { + Property [ <default> public $serverInfo ] + Property [ <default> public $sock ] + Property [ <default> public $connected ] + Property [ <default> public $errno ] + Property [ <default> public $connect_errno ] + Property [ <default> public $error ] + Property [ <default> public $connect_error ] + Property [ <default> public $insert_id ] + Property [ <default> public $affected_rows ] + Property [ <default> public $onConnect ] + Property [ <default> public $onClose ] + } + + - Methods [11] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method connect ] { + + - Parameters [2] { + Parameter #0 [ <required> array $server_config ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method begin ] { + + - Parameters [1] { + Parameter #0 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method commit ] { + + - Parameters [1] { + Parameter #0 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method rollback ] { + + - Parameters [1] { + Parameter #0 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method escape ] { + + - Parameters [2] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <optional> $flags ] + } + } + + Method [ <internal:swoole> public method query ] { + + - Parameters [2] { + Parameter #0 [ <required> $sql ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method close ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getState ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> $event_name ] + Parameter #1 [ <required> $callback ] + } + } + } + } + + Class [ <internal:swoole> class Swoole\MySQL\Exception extends Exception implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + } + } + } + + Class [ <internal:swoole> class Swoole\Mmap ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:swoole> static public method open ] { + + - Parameters [3] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <optional> $size ] + Parameter #2 [ <optional> $offset ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:swoole> class Swoole\Channel ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $size ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method push ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method pop ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method stats ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Coroutine\Channel ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:swoole> static public method select ] { + + - Parameters [3] { + Parameter #0 [ <required> array or NULL &$read_list ] + Parameter #1 [ <required> array or NULL &$write_list ] + Parameter #2 [ <required> $timeout ] + } + } + } + + - Properties [1] { + Property [ <default> public $capacity ] + } + + - Methods [9] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $size ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method push ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method pop ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method isEmpty ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method isFull ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method close ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method stats ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method length ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\RingQueue ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [7] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $len ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method push ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole> public method pop ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method count ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method isFull ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method isEmpty ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\MsgQueue ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [7] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $len ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method push ] { + + - Parameters [2] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $type ] + } + } + + Method [ <internal:swoole> public method pop ] { + + - Parameters [1] { + Parameter #0 [ <optional> $type ] + } + } + + Method [ <internal:swoole> public method setBlocking ] { + + - Parameters [1] { + Parameter #0 [ <required> $blocking ] + } + } + + Method [ <internal:swoole> public method stats ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method destory ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Http2\Client extends Swoole\Client ] { + + - Constants [7] { + Constant [ public integer MSG_OOB ] { 1 } + Constant [ public integer MSG_PEEK ] { 2 } + Constant [ public integer MSG_DONTWAIT ] { 64 } + Constant [ public integer MSG_WAITALL ] { 256 } + Constant [ public integer SHUT_RDWR ] { 2 } + Constant [ public integer SHUT_RD ] { 0 } + Constant [ public integer SHUT_WR ] { 1 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [16] { + Property [ <default> public $errCode ] + Property [ <default> public $sock ] + Property [ <default> public $reuse ] + Property [ <default> public $reuseCount ] + Property [ <default> public $type ] + Property [ <default> public $id ] + Property [ <default> public $setting ] + Property [ <default> public $onConnect ] + Property [ <default> public $onError ] + Property [ <default> public $onReceive ] + Property [ <default> public $onClose ] + Property [ <default> public $onBufferFull ] + Property [ <default> public $onBufferEmpty ] + Property [ <default> public $onSSLReady ] + Property [ <default> public $requestHeaders ] + Property [ <default> public $cookies ] + } + + - Methods [34] { + Method [ <internal:swoole, overwrites Swoole\Client, ctor> public method __construct ] { + } + + Method [ <internal:swoole, overwrites Swoole\Client, prototype Swoole\Client, dtor> public method __destruct ] { + } + + Method [ <internal:swoole> public method setHeaders ] { + } + + Method [ <internal:swoole> public method setCookies ] { + } + + Method [ <internal:swoole> public method get ] { + } + + Method [ <internal:swoole> public method post ] { + } + + Method [ <internal:swoole> public method onConnect ] { + } + + Method [ <internal:swoole> public method onError ] { + } + + Method [ <internal:swoole> public method onReceive ] { + } + + Method [ <internal:swoole> public method onClose ] { + } + + Method [ <internal:swoole> public method openStream ] { + } + + Method [ <internal:swoole> public method push ] { + } + + Method [ <internal:swoole> public method closeStream ] { + } + + Method [ <internal:swoole, inherits Swoole\Client> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method connect ] { + + - Parameters [4] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port ] + Parameter #2 [ <optional> $timeout ] + Parameter #3 [ <optional> $sock_flag ] + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method recv ] { + + - Parameters [2] { + Parameter #0 [ <optional> $size ] + Parameter #1 [ <optional> $flag ] + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method send ] { + + - Parameters [2] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $flag ] + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method pipe ] { + + - Parameters [1] { + Parameter #0 [ <required> $dst_socket ] + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method sendfile ] { + + - Parameters [3] { + Parameter #0 [ <required> $filename ] + Parameter #1 [ <optional> $offset ] + Parameter #2 [ <optional> $length ] + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method sendto ] { + + - Parameters [3] { + Parameter #0 [ <required> $ip ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $data ] + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method sleep ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method wakeup ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method pause ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method resume ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method shutdown ] { + + - Parameters [1] { + Parameter #0 [ <required> $how ] + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method enableSSL ] { + + - Parameters [1] { + Parameter #0 [ <optional> $callback ] + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method getPeerCert ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method verifyPeerCert ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method isConnected ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method getsockname ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method getpeername ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method close ] { + + - Parameters [1] { + Parameter #0 [ <optional> $force ] + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> $event_name ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole, inherits Swoole\Client> public method getSocket ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Http2\Response ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> public $errCode ] + Property [ <default> public $statusCode ] + Property [ <default> public $body ] + Property [ <default> public $streamId ] + } + + - Methods [0] { + } + } + + Class [ <internal:swoole> class Swoole\Coroutine\Http2\Client ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [9] { + Property [ <default> public $errCode ] + Property [ <default> public $sock ] + Property [ <default> public $reuse ] + Property [ <default> public $reuseCount ] + Property [ <default> public $type ] + Property [ <default> public $setting ] + Property [ <default> public $connected ] + Property [ <default> public $host ] + Property [ <default> public $port ] + } + + - Methods [8] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port ] + Parameter #2 [ <optional> $ssl ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:swoole> public method connect ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method send ] { + + - Parameters [1] { + Parameter #0 [ <required> $request ] + } + } + + Method [ <internal:swoole> public method recv ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method write ] { + + - Parameters [3] { + Parameter #0 [ <required> $stream_id ] + Parameter #1 [ <required> $data ] + Parameter #2 [ <optional> $end_stream ] + } + } + + Method [ <internal:swoole> public method close ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:swoole> class Swoole\Coroutine\Http2\Request ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [5] { + Property [ <default> public $method ] + Property [ <default> public $headers ] + Property [ <default> public $data ] + Property [ <default> public $pipeline ] + Property [ <default> public $files ] + } + + - Methods [0] { + } + } + + Class [ <internal:swoole> class Swoole\Serialize ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ <internal:swoole> static public method pack ] { + + - Parameters [2] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $flag ] + } + } + + Method [ <internal:swoole> static public method unpack ] { + + - Parameters [2] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <optional> $args ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:swoole> class Swoole\Redis ] { + + - Constants [5] { + Constant [ public integer STATE_CONNECT ] { 0 } + Constant [ public integer STATE_READY ] { 1 } + Constant [ public integer STATE_WAIT_RESULT ] { 2 } + Constant [ public integer STATE_SUBSCRIBE ] { 3 } + Constant [ public integer STATE_CLOSED ] { 4 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [9] { + Property [ <default> public $onConnect ] + Property [ <default> public $onClose ] + Property [ <default> public $onMessage ] + Property [ <default> public $setting ] + Property [ <default> public $host ] + Property [ <default> public $port ] + Property [ <default> public $sock ] + Property [ <default> public $errCode ] + Property [ <default> public $errMsg ] + } + + - Methods [7] { + Method [ <internal:swoole, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> array or NULL $setting ] + } + } + + Method [ <internal:swoole, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> $event_name ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method connect ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $callback ] + } + } + + Method [ <internal:swoole> public method close ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method getState ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method __call ] { + + - Parameters [2] { + Parameter #0 [ <required> $command ] + Parameter #1 [ <required> $params ] + } + } + } + } + + Class [ <internal:swoole> class Swoole\Redis\Server extends Swoole\Server ] { + + - Constants [7] { + Constant [ public integer NIL ] { 1 } + Constant [ public integer ERROR ] { 0 } + Constant [ public integer STATUS ] { 2 } + Constant [ public integer INT ] { 3 } + Constant [ public integer STRING ] { 4 } + Constant [ public integer SET ] { 5 } + Constant [ public integer MAP ] { 6 } + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:swoole> static public method format ] { + + - Parameters [2] { + Parameter #0 [ <required> $type ] + Parameter #1 [ <optional> $value ] + } + } + } + + - Properties [29] { + Property [ <default> public $onConnect ] + Property [ <default> public $onReceive ] + Property [ <default> public $onClose ] + Property [ <default> public $onPacket ] + Property [ <default> public $onBufferFull ] + Property [ <default> public $onBufferEmpty ] + Property [ <default> public $onStart ] + Property [ <default> public $onShutdown ] + Property [ <default> public $onWorkerStart ] + Property [ <default> public $onWorkerStop ] + Property [ <default> public $onWorkerExit ] + Property [ <default> public $onWorkerError ] + Property [ <default> public $onTask ] + Property [ <default> public $onFinish ] + Property [ <default> public $onManagerStart ] + Property [ <default> public $onManagerStop ] + Property [ <default> public $onPipeMessage ] + Property [ <default> public $setting ] + Property [ <default> public $connections ] + Property [ <default> public $host ] + Property [ <default> public $port ] + Property [ <default> public $type ] + Property [ <default> public $mode ] + Property [ <default> public $ports ] + Property [ <default> public $master_pid ] + Property [ <default> public $manager_pid ] + Property [ <default> public $worker_id ] + Property [ <default> public $taskworker ] + Property [ <default> public $worker_pid ] + } + + - Methods [43] { + Method [ <internal:swoole, overwrites Swoole\Server, prototype Swoole\Server> public method start ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole> public method setHandler ] { + + - Parameters [4] { + Parameter #0 [ <required> $command ] + Parameter #1 [ <required> $callback ] + Parameter #2 [ <optional> $number_of_string_param ] + Parameter #3 [ <optional> $type_of_array_param ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server, ctor> public method __construct ] { + + - Parameters [4] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <optional> $port ] + Parameter #2 [ <optional> $mode ] + Parameter #3 [ <optional> $sock_type ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method listen ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $sock_type ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method addlistener ] { + + - Parameters [3] { + Parameter #0 [ <required> $host ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $sock_type ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method on ] { + + - Parameters [2] { + Parameter #0 [ <required> $event_name ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> array $settings ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method send ] { + + - Parameters [3] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $send_data ] + Parameter #2 [ <optional> $reactor_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method sendto ] { + + - Parameters [4] { + Parameter #0 [ <required> $ip ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <required> $send_data ] + Parameter #3 [ <optional> $server_socket ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method sendwait ] { + + - Parameters [2] { + Parameter #0 [ <required> $conn_fd ] + Parameter #1 [ <required> $send_data ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method exist ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method protect ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $is_protected ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method sendfile ] { + + - Parameters [4] { + Parameter #0 [ <required> $conn_fd ] + Parameter #1 [ <required> $filename ] + Parameter #2 [ <optional> $offset ] + Parameter #3 [ <optional> $length ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method close ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $reset ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method confirm ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method pause ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method resume ] { + + - Parameters [1] { + Parameter #0 [ <required> $fd ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method task ] { + + - Parameters [3] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $worker_id ] + Parameter #2 [ <optional> $finish_callback ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method taskwait ] { + + - Parameters [3] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $timeout ] + Parameter #2 [ <optional> $worker_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method taskWaitMulti ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method taskCo ] { + + - Parameters [2] { + Parameter #0 [ <required> array $tasks ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method finish ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method reload ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method shutdown ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method stop ] { + + - Parameters [1] { + Parameter #0 [ <optional> $worker_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getLastError ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method heartbeat ] { + + - Parameters [1] { + Parameter #0 [ <required> $reactor_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method connection_info ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $reactor_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method connection_list ] { + + - Parameters [2] { + Parameter #0 [ <required> $start_fd ] + Parameter #1 [ <optional> $find_count ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getClientInfo ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <optional> $reactor_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getClientList ] { + + - Parameters [2] { + Parameter #0 [ <required> $start_fd ] + Parameter #1 [ <optional> $find_count ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method after ] { + + - Parameters [3] { + Parameter #0 [ <required> $ms ] + Parameter #1 [ <required> $callback ] + Parameter #2 [ <optional> $param ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method tick ] { + + - Parameters [2] { + Parameter #0 [ <required> $ms ] + Parameter #1 [ <required> $callback ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method clearTimer ] { + + - Parameters [1] { + Parameter #0 [ <required> $timer_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method defer ] { + + - Parameters [1] { + Parameter #0 [ <required> $callback ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method sendMessage ] { + + - Parameters [2] { + Parameter #0 [ <required> $message ] + Parameter #1 [ <required> $dst_worker_id ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method addProcess ] { + + - Parameters [1] { + Parameter #0 [ <required> swoole_process $process ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method stats ] { + + - Parameters [0] { + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method getSocket ] { + + - Parameters [1] { + Parameter #0 [ <optional> $port ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method bind ] { + + - Parameters [2] { + Parameter #0 [ <required> $fd ] + Parameter #1 [ <required> $uid ] + } + } + + Method [ <internal:swoole, inherits Swoole\Server> public method __sleep ] { + } + + Method [ <internal:swoole, inherits Swoole\Server> public method __wakeup ] { + } + } + } + } +} + diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec new file mode 100644 index 0000000..e132e14 --- /dev/null +++ b/php-pecl-swoole4.spec @@ -0,0 +1,575 @@ +# remirepo spec file for php-pecl-swoole2 +# +# Copyright (c) 2013-2018 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} +%global sub_prefix %{scl_prefix} +%scl_package php-pecl-swoole +%endif + +%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} +%global pecl_name swoole +%if "%{php_version}" < "5.6" +# After sockets +%global ini_name %{pecl_name}.ini +%else +# After 20-sockets +%global ini_name 40-%{pecl_name}.ini +%endif + +%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8 +%global with_pgsql 1 +%else +%global with_pgsql 0 +%endif + +%if 0%{?fedora} >= 22 || 0%{?rhel} >= 6 +%global with_nghttpd2 1 +%else +%global with_nghttpd2 0 +%endif + +%global with_hiredis 1 + +Summary: PHP's asynchronous concurrent distributed networking framework +Name: %{?sub_prefix}php-pecl-%{pecl_name}2 +Version: 2.2.0 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +License: BSD +URL: http://pecl.php.net/package/%{pecl_name} +Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz + +BuildRequires: %{?dtsprefix}gcc +BuildRequires: %{?scl_prefix}php-devel > 7 +BuildRequires: %{?scl_prefix}php-pear +BuildRequires: %{?scl_prefix}php-sockets +BuildRequires: %{?scl_prefix}php-mysqlnd +BuildRequires: pcre-devel +BuildRequires: openssl-devel +%if %{with_nghttpd2} +BuildRequires: libnghttp2-devel +%endif +%if %{with_pgsql} +BuildRequires: postgresql-devel > 9.5 +%endif +%if %{with_hiredis} +BuildRequires: hiredis-devel +%endif + +Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} +Requires: %{?scl_prefix}php(api) = %{php_core_api} +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} +%if "%{?scl_prefix}" != "%{?sub_prefix}" +Provides: %{?scl_prefix}php-pecl-%{pecl_name}2 = %{version}-%{release} +Provides: %{?scl_prefix}php-pecl-%{pecl_name}2%{?_isa} = %{version}-%{release} +%endif + +# Single version can be installed +Conflicts: %{?sub_prefix}php-pecl-%{pecl_name} < 2 +Conflicts: %{?scl_prefix}php-pecl-%{pecl_name} < 2 + +%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} +# Other third party repo stuff +Obsoletes: php56u-pecl-%{pecl_name}2 <= %{version} +Obsoletes: php56w-pecl-%{pecl_name}2 <= %{version} +Obsoletes: php70u-pecl-%{pecl_name}2 <= %{version} +Obsoletes: php70w-pecl-%{pecl_name}2 <= %{version} +%if "%{php_version}" > "7.1" +Obsoletes: php71u-pecl-%{pecl_name}2 <= %{version} +Obsoletes: php71w-pecl-%{pecl_name}2 <= %{version} +%endif +%if "%{php_version}" > "7.2" +Obsoletes: php72u-pecl-%{pecl_name}2 <= %{version} +Obsoletes: php72w-pecl-%{pecl_name}2 <= %{version} +%endif +%endif + +%if 0%{?fedora} < 20 && 0%{?rhel} < 7 +# Filter shared private +%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} +%{?filter_setup} +%endif + + +%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} +%if "%{?scl_prefix}" != "%{?sub_prefix}" +Provides: %{?scl_prefix}php-pecl-%{pecl_name}-devel = %{version}-%{release} +Provides: %{?scl_prefix}php-pecl-%{pecl_name}-devel%{?_isa} = %{version}-%{release} +%endif + +%description devel +These are the files needed to compile programs using %{name}. + + +%prep +%setup -q -c +mv %{pecl_name}-%{version} NTS + +# Don't install/register tests, install examples as doc +sed -e '/examples/s/role="src"/role="doc"/' \ + %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ + -i package.xml + + +cd NTS +# Sanity check, really often broken +extver=$(sed -n '/#define PHP_SWOOLE_VERSION/{s/.* "//;s/".*$//;p}' php_swoole.h) +if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then + : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever:-%{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 %{summary} extension module +extension=%{pecl_name}.so + +; Configuration +;swoole.aio_thread_num = 2 +;swoole.display_errors = On +;swoole.use_namespace = On +:swoole.use_shortname = On +;swoole.fast_serialize = Off +;swoole.unixsock_buffer_size = 8388608 +EOF + + +%build +%{?dtsenable} + +peclbuild() { +%configure \ + --with-swoole \ + --enable-sockets \ + --enable-trace-log \ +%if %{with_hiredis} + --enable-async-redis \ +%endif + --enable-openssl \ +%if %{with_nghttpd2} + --enable-http2 \ +%endif +%if %{with_pgsql} + --enable-coroutine-postgresql \ +%endif + --enable-thread \ + --enable-mysqlnd \ + --enable-coroutine \ + --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 + + +%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}/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:%{pecl_docdir}/%{pecl_name}/LICENSE} +%doc %{pecl_docdir}/%{pecl_name}/*md +%doc %{pecl_docdir}/%{pecl_name}/CREDITS +%{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}/examples +%{php_incldir}/ext/%{pecl_name} + +%if %{with_zts} +%{php_ztsincldir}/ext/%{pecl_name} +%endif + + +%changelog +* 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 |