Extension [ extension #70 swoole version 1.10.5 ] { - INI { Entry [ swoole.aio_thread_num ] Current = '2' } Entry [ swoole.display_errors ] Current = 'On' } Entry [ swoole.use_namespace ] Current = 'Off' } Entry [ swoole.fast_serialize ] Current = 'Off' } Entry [ swoole.unixsock_buffer_size ] Current = '8388608' } } - Constants [109] { 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 ] { 1.10.5 } 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_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_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 } } - Functions { Function [ function swoole_version ] { - Parameters [0] { } } Function [ function swoole_cpu_num ] { - Parameters [0] { } } Function [ function swoole_last_error ] { - Parameters [0] { } } Function [ function swoole_event_add ] { - Parameters [4] { Parameter #0 [ $fd ] Parameter #1 [ $read_callback ] Parameter #2 [ $write_callback ] Parameter #3 [ $events ] } } Function [ function swoole_event_set ] { - Parameters [4] { Parameter #0 [ $fd ] Parameter #1 [ $read_callback ] Parameter #2 [ $write_callback ] Parameter #3 [ $events ] } } Function [ function swoole_event_del ] { - Parameters [1] { Parameter #0 [ $fd ] } } Function [ function swoole_event_exit ] { - Parameters [0] { } } Function [ function swoole_event_wait ] { - Parameters [0] { } } Function [ function swoole_event_write ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $data ] } } Function [ function swoole_event_defer ] { - Parameters [1] { Parameter #0 [ $callback ] } } Function [ function swoole_event_cycle ] { - Parameters [2] { Parameter #0 [ $callback ] Parameter #1 [ $before ] } } Function [ function swoole_event_dispatch ] { - Parameters [0] { } } Function [ function swoole_event_isset ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $events ] } } Function [ function swoole_timer_after ] { - Parameters [3] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] Parameter #2 [ $param ] } } Function [ function swoole_timer_tick ] { - Parameters [2] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] } } Function [ function swoole_timer_exists ] { - Parameters [1] { Parameter #0 [ $timer_id ] } } Function [ function swoole_timer_clear ] { - Parameters [1] { Parameter #0 [ $timer_id ] } } Function [ function swoole_async_set ] { - Parameters [1] { Parameter #0 [ array $settings ] } } Function [ function swoole_async_read ] { - Parameters [4] { Parameter #0 [ $filename ] Parameter #1 [ $callback ] Parameter #2 [ $chunk_size ] Parameter #3 [ $offset ] } } Function [ function swoole_async_write ] { - Parameters [4] { Parameter #0 [ $filename ] Parameter #1 [ $content ] Parameter #2 [ $offset ] Parameter #3 [ $callback ] } } Function [ function swoole_async_readfile ] { - Parameters [2] { Parameter #0 [ $filename ] Parameter #1 [ $callback ] } } Function [ function swoole_async_writefile ] { - Parameters [4] { Parameter #0 [ $filename ] Parameter #1 [ $content ] Parameter #2 [ $callback ] Parameter #3 [ $flags ] } } Function [ function swoole_async_dns_lookup ] { - Parameters [2] { Parameter #0 [ $domain_name ] Parameter #1 [ $content ] } } Function [ function swoole_client_select ] { - Parameters [4] { Parameter #0 [ &$read_array ] Parameter #1 [ &$write_array ] Parameter #2 [ &$error_array ] Parameter #3 [ $timeout ] } } Function [ function swoole_select ] { - Parameters [4] { Parameter #0 [ &$read_array ] Parameter #1 [ &$write_array ] Parameter #2 [ &$error_array ] Parameter #3 [ $timeout ] } } Function [ function swoole_set_process_name ] { - Parameters [1] { Parameter #0 [ $process_name ] } } Function [ function swoole_get_local_ip ] { - Parameters [0] { } } Function [ function swoole_get_local_mac ] { - Parameters [0] { } } Function [ function swoole_strerror ] { - Parameters [2] { Parameter #0 [ $errno ] Parameter #1 [ $error_type ] } } Function [ function swoole_errno ] { - Parameters [0] { } } } - Classes [30] { Class [ class swoole_server ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [29] { Property [ public $onConnect ] Property [ public $onReceive ] Property [ public $onClose ] Property [ public $onPacket ] Property [ public $onBufferFull ] Property [ public $onBufferEmpty ] Property [ public $onStart ] Property [ public $onShutdown ] Property [ public $onWorkerStart ] Property [ public $onWorkerStop ] Property [ public $onWorkerExit ] Property [ public $onWorkerError ] Property [ public $onTask ] Property [ public $onFinish ] Property [ public $onManagerStart ] Property [ public $onManagerStop ] Property [ public $onPipeMessage ] Property [ public $setting ] Property [ public $connections ] Property [ public $host ] Property [ public $port ] Property [ public $type ] Property [ public $mode ] Property [ public $ports ] Property [ public $master_pid ] Property [ public $manager_pid ] Property [ public $worker_id ] Property [ public $taskworker ] Property [ public $worker_pid ] } - Methods [41] { Method [ public method __construct ] { - Parameters [4] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $mode ] Parameter #3 [ $sock_type ] } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method listen ] { - Parameters [3] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $sock_type ] } } Method [ public method addlistener ] { - Parameters [3] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $sock_type ] } } Method [ public method on ] { - Parameters [2] { Parameter #0 [ $event_name ] Parameter #1 [ $callback ] } } Method [ public method set ] { - Parameters [1] { Parameter #0 [ array $settings ] } } Method [ public method start ] { - Parameters [0] { } } Method [ public method send ] { - Parameters [3] { Parameter #0 [ $fd ] Parameter #1 [ $send_data ] Parameter #2 [ $reactor_id ] } } Method [ public method sendto ] { - Parameters [4] { Parameter #0 [ $ip ] Parameter #1 [ $port ] Parameter #2 [ $send_data ] Parameter #3 [ $server_socket ] } } Method [ public method sendwait ] { - Parameters [2] { Parameter #0 [ $conn_fd ] Parameter #1 [ $send_data ] } } Method [ public method exist ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method protect ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $is_protected ] } } Method [ public method sendfile ] { - Parameters [4] { Parameter #0 [ $conn_fd ] Parameter #1 [ $filename ] Parameter #2 [ $offset ] Parameter #3 [ $length ] } } Method [ public method close ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $reset ] } } Method [ public method confirm ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method pause ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method resume ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method task ] { - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $worker_id ] Parameter #2 [ $finish_callback ] } } Method [ public method taskwait ] { - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $timeout ] Parameter #2 [ $worker_id ] } } Method [ public method taskWaitMulti ] { - Parameters [2] { Parameter #0 [ array $tasks ] Parameter #1 [ $timeout ] } } Method [ public method finish ] { - Parameters [1] { Parameter #0 [ $data ] } } Method [ public method reload ] { - Parameters [0] { } } Method [ public method shutdown ] { - Parameters [0] { } } Method [ public method stop ] { - Parameters [1] { Parameter #0 [ $worker_id ] } } Method [ public method getLastError ] { - Parameters [0] { } } Method [ public method heartbeat ] { - Parameters [1] { Parameter #0 [ $reactor_id ] } } Method [ public method connection_info ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $reactor_id ] } } Method [ public method connection_list ] { - Parameters [2] { Parameter #0 [ $start_fd ] Parameter #1 [ $find_count ] } } Method [ public method getClientInfo ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $reactor_id ] } } Method [ public method getClientList ] { - Parameters [2] { Parameter #0 [ $start_fd ] Parameter #1 [ $find_count ] } } Method [ public method after ] { - Parameters [3] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] Parameter #2 [ $param ] } } Method [ public method tick ] { - Parameters [2] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] } } Method [ public method clearTimer ] { - Parameters [1] { Parameter #0 [ $timer_id ] } } Method [ public method defer ] { - Parameters [1] { Parameter #0 [ $callback ] } } Method [ public method sendMessage ] { - Parameters [2] { Parameter #0 [ $message ] Parameter #1 [ $dst_worker_id ] } } Method [ public method addProcess ] { - Parameters [1] { Parameter #0 [ swoole_process $process ] } } Method [ public method stats ] { - Parameters [0] { } } Method [ public method getSocket ] { - Parameters [1] { Parameter #0 [ $port ] } } Method [ public method bind ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $uid ] } } Method [ public method __sleep ] { } Method [ public method __wakeup ] { } } } Class [ class swoole_timer ] { - Constants [0] { } - Static properties [0] { } - Static methods [4] { Method [ static public method tick ] { - Parameters [2] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] } } Method [ static public method after ] { - Parameters [3] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] Parameter #2 [ $param ] } } Method [ static public method exists ] { - Parameters [1] { Parameter #0 [ $timer_id ] } } Method [ static public method clear ] { - Parameters [1] { Parameter #0 [ $timer_id ] } } } - Properties [0] { } - Methods [0] { } } Class [ class swoole_event ] { - Constants [0] { } - Static properties [0] { } - Static methods [8] { Method [ static public method add ] { - Parameters [4] { Parameter #0 [ $fd ] Parameter #1 [ $read_callback ] Parameter #2 [ $write_callback ] Parameter #3 [ $events ] } } Method [ static public method del ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ static public method set ] { - Parameters [4] { Parameter #0 [ $fd ] Parameter #1 [ $read_callback ] Parameter #2 [ $write_callback ] Parameter #3 [ $events ] } } Method [ static public method exit ] { - Parameters [0] { } } Method [ static public method write ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $data ] } } Method [ static public method wait ] { - Parameters [0] { } } Method [ static public method defer ] { - Parameters [1] { Parameter #0 [ $callback ] } } Method [ static public method cycle ] { - Parameters [2] { Parameter #0 [ $callback ] Parameter #1 [ $before ] } } } - Properties [0] { } - Methods [0] { } } Class [ class swoole_async ] { - Constants [0] { } - Static properties [0] { } - Static methods [7] { Method [ static public method read ] { - Parameters [4] { Parameter #0 [ $filename ] Parameter #1 [ $callback ] Parameter #2 [ $chunk_size ] Parameter #3 [ $offset ] } } Method [ static public method write ] { - Parameters [4] { Parameter #0 [ $filename ] Parameter #1 [ $content ] Parameter #2 [ $offset ] Parameter #3 [ $callback ] } } Method [ static public method readFile ] { - Parameters [2] { Parameter #0 [ $filename ] Parameter #1 [ $callback ] } } Method [ static public method writeFile ] { - Parameters [4] { Parameter #0 [ $filename ] Parameter #1 [ $content ] Parameter #2 [ $callback ] Parameter #3 [ $flags ] } } Method [ static public method dnsLookup ] { - Parameters [2] { Parameter #0 [ $domain_name ] Parameter #1 [ $content ] } } Method [ static public method set ] { - Parameters [1] { Parameter #0 [ array $settings ] } } Method [ static public method exec ] { - Parameters [2] { Parameter #0 [ $command ] Parameter #1 [ $callback ] } } } - Properties [0] { } - Methods [0] { } } Class [ class swoole_connection_iterator implements Iterator, Traversable, Countable, ArrayAccess ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [11] { Method [ public method rewind ] { - Parameters [0] { } } Method [ public method next ] { - Parameters [0] { } } Method [ public method current ] { - Parameters [0] { } } Method [ public method key ] { - Parameters [0] { } } Method [ public method valid ] { - Parameters [0] { } } Method [ public method count ] { - Parameters [0] { } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method offsetExists ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method offsetGet ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method offsetSet ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $value ] } } Method [ public method offsetUnset ] { - Parameters [1] { Parameter #0 [ $fd ] } } } } Class [ class swoole_exception extends Exception implements Throwable ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [4] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] Parameter #1 [ $code ] Parameter #2 [ $previous ] } } Method [ public method __wakeup ] { } Method [ final public method getMessage ] { } Method [ final public method getCode ] { } Method [ final public method getFile ] { } Method [ final public method getLine ] { } Method [ final public method getTrace ] { } Method [ final public method getPrevious ] { } Method [ final public method getTraceAsString ] { } Method [ public method __toString ] { } } } Class [ class swoole_server_port ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [16] { Property [ public $onConnect ] Property [ public $onReceive ] Property [ public $onClose ] Property [ public $onPacket ] Property [ public $onBufferFull ] Property [ public $onBufferEmpty ] Property [ public $onRequest ] Property [ public $onHandShake ] Property [ public $onMessage ] Property [ public $onOpen ] Property [ public $host ] Property [ public $port ] Property [ public $type ] Property [ public $sock ] Property [ public $setting ] Property [ public $connections ] } - Methods [7] { Method [ private method __construct ] { - Parameters [0] { } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method set ] { - Parameters [1] { Parameter #0 [ array $settings ] } } Method [ public method on ] { - Parameters [2] { Parameter #0 [ $event_name ] Parameter #1 [ $callback ] } } Method [ public method __sleep ] { } Method [ public method __wakeup ] { } Method [ public method getSocket ] { - Parameters [0] { } } } } Class [ 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 [ public $errCode ] Property [ public $sock ] Property [ public $reuse ] Property [ public $reuseCount ] Property [ public $type ] Property [ public $id ] Property [ public $setting ] Property [ public $onConnect ] Property [ public $onError ] Property [ public $onReceive ] Property [ public $onClose ] Property [ public $onBufferFull ] Property [ public $onBufferEmpty ] Property [ public $onSSLReady ] } - Methods [23] { Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ $type ] Parameter #1 [ $async ] } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method set ] { - Parameters [1] { Parameter #0 [ array $settings ] } } Method [ public method connect ] { - Parameters [4] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $timeout ] Parameter #3 [ $sock_flag ] } } Method [ public method recv ] { - Parameters [2] { Parameter #0 [ $size ] Parameter #1 [ $flag ] } } Method [ public method send ] { - Parameters [2] { Parameter #0 [ $data ] Parameter #1 [ $flag ] } } Method [ public method pipe ] { - Parameters [1] { Parameter #0 [ $dst_socket ] } } Method [ public method sendfile ] { - Parameters [3] { Parameter #0 [ $filename ] Parameter #1 [ $offset ] Parameter #2 [ $length ] } } Method [ public method sendto ] { - Parameters [3] { Parameter #0 [ $ip ] Parameter #1 [ $port ] Parameter #2 [ $data ] } } Method [ public method sleep ] { - Parameters [0] { } } Method [ public method wakeup ] { - Parameters [0] { } } Method [ public method pause ] { - Parameters [0] { } } Method [ public method resume ] { - Parameters [0] { } } Method [ public method shutdown ] { - Parameters [1] { Parameter #0 [ $how ] } } Method [ public method enableSSL ] { - Parameters [1] { Parameter #0 [ $callback ] } } Method [ public method getPeerCert ] { - Parameters [0] { } } Method [ public method verifyPeerCert ] { - Parameters [0] { } } Method [ public method isConnected ] { - Parameters [0] { } } Method [ public method getsockname ] { - Parameters [0] { } } Method [ public method getpeername ] { - Parameters [0] { } } Method [ public method close ] { - Parameters [1] { Parameter #0 [ $force ] } } Method [ public method on ] { - Parameters [2] { Parameter #0 [ $event_name ] Parameter #1 [ $callback ] } } Method [ public method getSocket ] { - Parameters [0] { } } } } Class [ class swoole_http_client ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [19] { Property [ public $type ] Property [ public $errCode ] Property [ public $sock ] Property [ public $statusCode ] Property [ public $host ] Property [ public $port ] Property [ public $requestMethod ] Property [ public $requestHeaders ] Property [ public $requestBody ] Property [ public $uploadFiles ] Property [ public $set_cookie_headers ] Property [ public $downloadFile ] Property [ public $headers ] Property [ public $cookies ] Property [ public $body ] Property [ public $onConnect ] Property [ public $onError ] Property [ public $onMessage ] Property [ public $onClose ] } - Methods [17] { Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $ssl ] } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method set ] { - Parameters [1] { Parameter #0 [ array $settings ] } } Method [ public method setMethod ] { - Parameters [1] { Parameter #0 [ $method ] } } Method [ public method setHeaders ] { - Parameters [1] { Parameter #0 [ array $headers ] } } Method [ public method setCookies ] { - Parameters [1] { Parameter #0 [ array $cookies ] } } Method [ public method setData ] { - Parameters [1] { Parameter #0 [ $data ] } } Method [ public method addFile ] { - Parameters [6] { Parameter #0 [ $path ] Parameter #1 [ $name ] Parameter #2 [ $type ] Parameter #3 [ $filename ] Parameter #4 [ $offset ] Parameter #5 [ $length ] } } Method [ public method execute ] { - Parameters [2] { Parameter #0 [ $path ] Parameter #1 [ $callback ] } } Method [ public method push ] { - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $opcode ] Parameter #2 [ $finish ] } } Method [ public method get ] { - Parameters [2] { Parameter #0 [ $path ] Parameter #1 [ $callback ] } } Method [ public method post ] { - Parameters [3] { Parameter #0 [ $path ] Parameter #1 [ $data ] Parameter #2 [ $callback ] } } Method [ public method upgrade ] { - Parameters [2] { Parameter #0 [ $path ] Parameter #1 [ $callback ] } } Method [ public method download ] { - Parameters [4] { Parameter #0 [ $path ] Parameter #1 [ $file ] Parameter #2 [ $callback ] Parameter #3 [ $offset ] } } Method [ public method isConnected ] { - Parameters [0] { } } Method [ public method close ] { - Parameters [0] { } } Method [ public method on ] { - Parameters [2] { Parameter #0 [ $event_name ] Parameter #1 [ $callback ] } } } } Class [ 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 [ static public method wait ] { - Parameters [1] { Parameter #0 [ $blocking ] } } Method [ static public method signal ] { - Parameters [2] { Parameter #0 [ $signal_no ] Parameter #1 [ $callback ] } } Method [ static public method alarm ] { - Parameters [1] { Parameter #0 [ $usec ] } } Method [ static public method kill ] { - Parameters [2] { Parameter #0 [ $pid ] Parameter #1 [ $signal_no ] } } Method [ static public method daemon ] { - Parameters [2] { Parameter #0 [ $nochdir ] Parameter #1 [ $noclose ] } } Method [ static public method setaffinity ] { - Parameters [1] { Parameter #0 [ array $cpu_settings ] } } } - Properties [6] { Property [ public $pipe ] Property [ public $callback ] Property [ public $msgQueueId ] Property [ public $msgQueueKey ] Property [ public $pid ] Property [ public $id ] } - Methods [16] { Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $callback ] Parameter #1 [ $redirect_stdin_and_stdout ] Parameter #2 [ $pipe_type ] } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method setTimeout ] { - Parameters [1] { Parameter #0 [ $seconds ] } } Method [ public method setBlocking ] { - Parameters [1] { Parameter #0 [ $blocking ] } } Method [ public method useQueue ] { - Parameters [2] { Parameter #0 [ $key ] Parameter #1 [ $mode ] } } Method [ public method statQueue ] { - Parameters [0] { } } Method [ public method freeQueue ] { - Parameters [0] { } } Method [ public method start ] { - Parameters [0] { } } Method [ public method write ] { - Parameters [1] { Parameter #0 [ $data ] } } Method [ public method close ] { - Parameters [0] { } } Method [ public method read ] { - Parameters [1] { Parameter #0 [ $size ] } } Method [ public method push ] { - Parameters [1] { Parameter #0 [ $data ] } } Method [ public method pop ] { - Parameters [1] { Parameter #0 [ $size ] } } Method [ public method exit ] { - Parameters [1] { Parameter #0 [ $exit_code ] } } Method [ public method exec ] { - Parameters [2] { Parameter #0 [ $exec_file ] Parameter #1 [ $args ] } } Method [ public method name ] { - Parameters [1] { Parameter #0 [ $process_name ] } } } } Class [ 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 [ public method __construct ] { - Parameters [2] { Parameter #0 [ $table_size ] Parameter #1 [ $conflict_proportion ] } } Method [ public method column ] { - Parameters [3] { Parameter #0 [ $name ] Parameter #1 [ $type ] Parameter #2 [ $size ] } } Method [ public method create ] { - Parameters [0] { } } Method [ public method destroy ] { - Parameters [0] { } } Method [ public method set ] { - Parameters [2] { Parameter #0 [ $key ] Parameter #1 [ array $value ] } } Method [ public method get ] { - Parameters [2] { Parameter #0 [ $key ] Parameter #1 [ $field ] } } Method [ public method count ] { - Parameters [0] { } } Method [ public method del ] { - Parameters [1] { Parameter #0 [ $key ] } } Method [ public method exist ] { - Parameters [1] { Parameter #0 [ $key ] } } Method [ public method incr ] { - Parameters [3] { Parameter #0 [ $key ] Parameter #1 [ $column ] Parameter #2 [ $incrby ] } } Method [ public method decr ] { - Parameters [3] { Parameter #0 [ $key ] Parameter #1 [ $column ] Parameter #2 [ $decrby ] } } Method [ public method getMemorySize ] { - Parameters [0] { } } Method [ public method offsetExists ] { - Parameters [1] { Parameter #0 [ $offset ] } } Method [ public method offsetGet ] { - Parameters [1] { Parameter #0 [ $offset ] } } Method [ public method offsetSet ] { - Parameters [2] { Parameter #0 [ $offset ] Parameter #1 [ $value ] } } Method [ public method offsetUnset ] { - Parameters [1] { Parameter #0 [ $offset ] } } Method [ public method __sleep ] { } Method [ public method __wakeup ] { } Method [ public method rewind ] { - Parameters [0] { } } Method [ public method next ] { - Parameters [0] { } } Method [ public method current ] { - Parameters [0] { } } Method [ public method key ] { - Parameters [0] { } } Method [ public method valid ] { - Parameters [0] { } } } } Class [ class swoole_table_row implements ArrayAccess ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [2] { Property [ public $key ] Property [ public $value ] } - Methods [5] { Method [ public method offsetExists ] { - Parameters [1] { Parameter #0 [ $offset ] } } Method [ public method offsetGet ] { - Parameters [1] { Parameter #0 [ $offset ] } } Method [ public method offsetSet ] { - Parameters [2] { Parameter #0 [ $offset ] Parameter #1 [ $value ] } } Method [ public method offsetUnset ] { - Parameters [1] { Parameter #0 [ $offset ] } } Method [ public method __destruct ] { - Parameters [0] { } } } } Class [ 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 [ public $errCode ] } - Methods [9] { Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ $type ] Parameter #1 [ $filename ] } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method lock ] { - Parameters [0] { } } Method [ public method lockwait ] { - Parameters [1] { Parameter #0 [ $timeout ] } } Method [ public method trylock ] { - Parameters [0] { } } Method [ public method lock_read ] { - Parameters [0] { } } Method [ public method trylock_read ] { - Parameters [0] { } } Method [ public method unlock ] { - Parameters [0] { } } Method [ public method destroy ] { - Parameters [0] { } } } } Class [ class swoole_atomic ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [10] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $value ] } } Method [ public method add ] { - Parameters [1] { Parameter #0 [ $add_value ] } } Method [ public method sub ] { - Parameters [1] { Parameter #0 [ $sub_value ] } } Method [ public method get ] { - Parameters [0] { } } Method [ public method set ] { - Parameters [1] { Parameter #0 [ $value ] } } Method [ public method wait ] { - Parameters [1] { Parameter #0 [ $timeout ] } } Method [ public method wakeup ] { - Parameters [1] { Parameter #0 [ $count ] } } Method [ public method cmpset ] { - Parameters [2] { Parameter #0 [ $cmp_value ] Parameter #1 [ $new_value ] } } Method [ public method __sleep ] { } Method [ public method __wakeup ] { } } } Class [ class swoole_atomic_long ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [8] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $value ] } } Method [ public method add ] { - Parameters [1] { Parameter #0 [ $add_value ] } } Method [ public method sub ] { - Parameters [1] { Parameter #0 [ $sub_value ] } } Method [ public method get ] { - Parameters [0] { } } Method [ public method set ] { - Parameters [1] { Parameter #0 [ $value ] } } Method [ public method cmpset ] { - Parameters [2] { Parameter #0 [ $cmp_value ] Parameter #1 [ $new_value ] } } Method [ public method __sleep ] { } Method [ public method __wakeup ] { } } } Class [ class swoole_http_server extends swoole_server ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [31] { Property [ public $onConnect ] Property [ public $onReceive ] Property [ public $onClose ] Property [ public $onPacket ] Property [ public $onBufferFull ] Property [ public $onBufferEmpty ] Property [ public $onStart ] Property [ public $onShutdown ] Property [ public $onWorkerStart ] Property [ public $onWorkerStop ] Property [ public $onWorkerExit ] Property [ public $onWorkerError ] Property [ public $onTask ] Property [ public $onFinish ] Property [ public $onManagerStart ] Property [ public $onManagerStop ] Property [ public $onPipeMessage ] Property [ public $connections ] Property [ public $host ] Property [ public $port ] Property [ public $type ] Property [ public $mode ] Property [ public $ports ] Property [ public $master_pid ] Property [ public $manager_pid ] Property [ public $worker_id ] Property [ public $taskworker ] Property [ public $worker_pid ] Property [ public $onRequest ] Property [ public $onHandshake ] Property [ public $setting ] } - Methods [41] { Method [ public method on ] { - Parameters [2] { Parameter #0 [ $event_name ] Parameter #1 [ $callback ] } } Method [ public method start ] { - Parameters [0] { } } Method [ public method __sleep ] { } Method [ public method __wakeup ] { } Method [ public method __construct ] { - Parameters [4] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $mode ] Parameter #3 [ $sock_type ] } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method listen ] { - Parameters [3] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $sock_type ] } } Method [ public method addlistener ] { - Parameters [3] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $sock_type ] } } Method [ public method set ] { - Parameters [1] { Parameter #0 [ array $settings ] } } Method [ public method send ] { - Parameters [3] { Parameter #0 [ $fd ] Parameter #1 [ $send_data ] Parameter #2 [ $reactor_id ] } } Method [ public method sendto ] { - Parameters [4] { Parameter #0 [ $ip ] Parameter #1 [ $port ] Parameter #2 [ $send_data ] Parameter #3 [ $server_socket ] } } Method [ public method sendwait ] { - Parameters [2] { Parameter #0 [ $conn_fd ] Parameter #1 [ $send_data ] } } Method [ public method exist ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method protect ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $is_protected ] } } Method [ public method sendfile ] { - Parameters [4] { Parameter #0 [ $conn_fd ] Parameter #1 [ $filename ] Parameter #2 [ $offset ] Parameter #3 [ $length ] } } Method [ public method close ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $reset ] } } Method [ public method confirm ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method pause ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method resume ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method task ] { - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $worker_id ] Parameter #2 [ $finish_callback ] } } Method [ public method taskwait ] { - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $timeout ] Parameter #2 [ $worker_id ] } } Method [ public method taskWaitMulti ] { - Parameters [2] { Parameter #0 [ array $tasks ] Parameter #1 [ $timeout ] } } Method [ public method finish ] { - Parameters [1] { Parameter #0 [ $data ] } } Method [ public method reload ] { - Parameters [0] { } } Method [ public method shutdown ] { - Parameters [0] { } } Method [ public method stop ] { - Parameters [1] { Parameter #0 [ $worker_id ] } } Method [ public method getLastError ] { - Parameters [0] { } } Method [ public method heartbeat ] { - Parameters [1] { Parameter #0 [ $reactor_id ] } } Method [ public method connection_info ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $reactor_id ] } } Method [ public method connection_list ] { - Parameters [2] { Parameter #0 [ $start_fd ] Parameter #1 [ $find_count ] } } Method [ public method getClientInfo ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $reactor_id ] } } Method [ public method getClientList ] { - Parameters [2] { Parameter #0 [ $start_fd ] Parameter #1 [ $find_count ] } } Method [ public method after ] { - Parameters [3] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] Parameter #2 [ $param ] } } Method [ public method tick ] { - Parameters [2] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] } } Method [ public method clearTimer ] { - Parameters [1] { Parameter #0 [ $timer_id ] } } Method [ public method defer ] { - Parameters [1] { Parameter #0 [ $callback ] } } Method [ public method sendMessage ] { - Parameters [2] { Parameter #0 [ $message ] Parameter #1 [ $dst_worker_id ] } } Method [ public method addProcess ] { - Parameters [1] { Parameter #0 [ swoole_process $process ] } } Method [ public method stats ] { - Parameters [0] { } } Method [ public method getSocket ] { - Parameters [1] { Parameter #0 [ $port ] } } Method [ public method bind ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $uid ] } } } } Class [ class swoole_http_response ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [4] { Property [ public $fd ] Property [ public $header ] Property [ public $cookie ] Property [ public $trailer ] } - Methods [13] { Method [ public method initHeader ] { - Parameters [0] { } } Method [ public method cookie ] { - Parameters [7] { Parameter #0 [ $name ] Parameter #1 [ $value ] Parameter #2 [ $expires ] Parameter #3 [ $path ] Parameter #4 [ $domain ] Parameter #5 [ $secure ] Parameter #6 [ $httponly ] } } Method [ public method rawcookie ] { - Parameters [7] { Parameter #0 [ $name ] Parameter #1 [ $value ] Parameter #2 [ $expires ] Parameter #3 [ $path ] Parameter #4 [ $domain ] Parameter #5 [ $secure ] Parameter #6 [ $httponly ] } } Method [ public method status ] { - Parameters [1] { Parameter #0 [ $http_code ] } } Method [ public method gzip ] { - Parameters [1] { Parameter #0 [ $compress_level ] } } Method [ public method header ] { - Parameters [3] { Parameter #0 [ $key ] Parameter #1 [ $value ] Parameter #2 [ $ucwords ] } } Method [ public method trailer ] { - Parameters [3] { Parameter #0 [ $key ] Parameter #1 [ $value ] Parameter #2 [ $ucwords ] } } Method [ public method write ] { - Parameters [1] { Parameter #0 [ $content ] } } Method [ public method end ] { - Parameters [1] { Parameter #0 [ $content ] } } Method [ public method sendfile ] { - Parameters [3] { Parameter #0 [ $filename ] Parameter #1 [ $offset ] Parameter #2 [ $length ] } } Method [ public method __sleep ] { } Method [ public method __wakeup ] { } Method [ public method __destruct ] { - Parameters [0] { } } } } Class [ class swoole_http_request ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [9] { Property [ public $fd ] Property [ public $header ] Property [ public $server ] Property [ public $request ] Property [ public $cookie ] Property [ public $get ] Property [ public $files ] Property [ public $post ] Property [ public $tmpfiles ] } - Methods [5] { Method [ public method rawcontent ] { - Parameters [0] { } } Method [ public method getData ] { - Parameters [0] { } } Method [ public method __sleep ] { } Method [ public method __wakeup ] { } Method [ public method __destruct ] { - Parameters [0] { } } } } Class [ class swoole_buffer ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [12] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $size ] } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method __toString ] { - Parameters [0] { } } Method [ public method substr ] { - Parameters [3] { Parameter #0 [ $offset ] Parameter #1 [ $length ] Parameter #2 [ $seek ] } } Method [ public method write ] { - Parameters [2] { Parameter #0 [ $offset ] Parameter #1 [ $data ] } } Method [ public method read ] { - Parameters [2] { Parameter #0 [ $offset ] Parameter #1 [ $length ] } } Method [ public method append ] { - Parameters [1] { Parameter #0 [ $data ] } } Method [ public method expand ] { - Parameters [1] { Parameter #0 [ $size ] } } Method [ public method recycle ] { - Parameters [0] { } } Method [ public method clear ] { - Parameters [0] { } } Method [ public method __sleep ] { } Method [ public method __wakeup ] { } } } Class [ class swoole_websocket_server extends swoole_http_server ] { - Constants [0] { } - Static properties [0] { } - Static methods [2] { Method [ static public method pack ] { - Parameters [4] { Parameter #0 [ $data ] Parameter #1 [ $opcode ] Parameter #2 [ $finish ] Parameter #3 [ $mask ] } } Method [ static public method unpack ] { - Parameters [1] { Parameter #0 [ $data ] } } } - Properties [31] { Property [ public $onConnect ] Property [ public $onReceive ] Property [ public $onClose ] Property [ public $onPacket ] Property [ public $onBufferFull ] Property [ public $onBufferEmpty ] Property [ public $onStart ] Property [ public $onShutdown ] Property [ public $onWorkerStart ] Property [ public $onWorkerStop ] Property [ public $onWorkerExit ] Property [ public $onWorkerError ] Property [ public $onTask ] Property [ public $onFinish ] Property [ public $onManagerStart ] Property [ public $onManagerStop ] Property [ public $onPipeMessage ] Property [ public $connections ] Property [ public $host ] Property [ public $port ] Property [ public $type ] Property [ public $mode ] Property [ public $ports ] Property [ public $master_pid ] Property [ public $manager_pid ] Property [ public $worker_id ] Property [ public $taskworker ] Property [ public $worker_pid ] Property [ public $onRequest ] Property [ public $onHandshake ] Property [ public $setting ] } - Methods [43] { Method [ public method on ] { - Parameters [2] { Parameter #0 [ $event_name ] Parameter #1 [ $callback ] } } Method [ public method push ] { - Parameters [4] { Parameter #0 [ $fd ] Parameter #1 [ $data ] Parameter #2 [ $opcode ] Parameter #3 [ $finish ] } } Method [ public method exist ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method isEstablished ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method start ] { - Parameters [0] { } } Method [ public method __sleep ] { } Method [ public method __wakeup ] { } Method [ public method __construct ] { - Parameters [4] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $mode ] Parameter #3 [ $sock_type ] } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method listen ] { - Parameters [3] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $sock_type ] } } Method [ public method addlistener ] { - Parameters [3] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $sock_type ] } } Method [ public method set ] { - Parameters [1] { Parameter #0 [ array $settings ] } } Method [ public method send ] { - Parameters [3] { Parameter #0 [ $fd ] Parameter #1 [ $send_data ] Parameter #2 [ $reactor_id ] } } Method [ public method sendto ] { - Parameters [4] { Parameter #0 [ $ip ] Parameter #1 [ $port ] Parameter #2 [ $send_data ] Parameter #3 [ $server_socket ] } } Method [ public method sendwait ] { - Parameters [2] { Parameter #0 [ $conn_fd ] Parameter #1 [ $send_data ] } } Method [ public method protect ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $is_protected ] } } Method [ public method sendfile ] { - Parameters [4] { Parameter #0 [ $conn_fd ] Parameter #1 [ $filename ] Parameter #2 [ $offset ] Parameter #3 [ $length ] } } Method [ public method close ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $reset ] } } Method [ public method confirm ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method pause ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method resume ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method task ] { - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $worker_id ] Parameter #2 [ $finish_callback ] } } Method [ public method taskwait ] { - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $timeout ] Parameter #2 [ $worker_id ] } } Method [ public method taskWaitMulti ] { - Parameters [2] { Parameter #0 [ array $tasks ] Parameter #1 [ $timeout ] } } Method [ public method finish ] { - Parameters [1] { Parameter #0 [ $data ] } } Method [ public method reload ] { - Parameters [0] { } } Method [ public method shutdown ] { - Parameters [0] { } } Method [ public method stop ] { - Parameters [1] { Parameter #0 [ $worker_id ] } } Method [ public method getLastError ] { - Parameters [0] { } } Method [ public method heartbeat ] { - Parameters [1] { Parameter #0 [ $reactor_id ] } } Method [ public method connection_info ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $reactor_id ] } } Method [ public method connection_list ] { - Parameters [2] { Parameter #0 [ $start_fd ] Parameter #1 [ $find_count ] } } Method [ public method getClientInfo ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $reactor_id ] } } Method [ public method getClientList ] { - Parameters [2] { Parameter #0 [ $start_fd ] Parameter #1 [ $find_count ] } } Method [ public method after ] { - Parameters [3] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] Parameter #2 [ $param ] } } Method [ public method tick ] { - Parameters [2] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] } } Method [ public method clearTimer ] { - Parameters [1] { Parameter #0 [ $timer_id ] } } Method [ public method defer ] { - Parameters [1] { Parameter #0 [ $callback ] } } Method [ public method sendMessage ] { - Parameters [2] { Parameter #0 [ $message ] Parameter #1 [ $dst_worker_id ] } } Method [ public method addProcess ] { - Parameters [1] { Parameter #0 [ swoole_process $process ] } } Method [ public method stats ] { - Parameters [0] { } } Method [ public method getSocket ] { - Parameters [1] { Parameter #0 [ $port ] } } Method [ public method bind ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $uid ] } } } } Class [ class swoole_websocket_frame ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [0] { } } Class [ 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 [ public $serverInfo ] Property [ public $sock ] Property [ public $connected ] Property [ public $errno ] Property [ public $connect_errno ] Property [ public $error ] Property [ public $connect_error ] Property [ public $insert_id ] Property [ public $affected_rows ] Property [ public $onConnect ] Property [ public $onClose ] } - Methods [11] { Method [ public method __construct ] { - Parameters [0] { } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method connect ] { - Parameters [2] { Parameter #0 [ array $server_config ] Parameter #1 [ $callback ] } } Method [ public method begin ] { - Parameters [1] { Parameter #0 [ $callback ] } } Method [ public method commit ] { - Parameters [1] { Parameter #0 [ $callback ] } } Method [ public method rollback ] { - Parameters [1] { Parameter #0 [ $callback ] } } Method [ public method escape ] { - Parameters [2] { Parameter #0 [ $string ] Parameter #1 [ $flags ] } } Method [ public method query ] { - Parameters [2] { Parameter #0 [ $sql ] Parameter #1 [ $callback ] } } Method [ public method close ] { - Parameters [0] { } } Method [ public method getState ] { - Parameters [0] { } } Method [ public method on ] { - Parameters [2] { Parameter #0 [ $event_name ] Parameter #1 [ $callback ] } } } } Class [ class swoole_mysql_exception extends Exception implements Throwable ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [4] { Property [ protected $message ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] Parameter #1 [ $code ] Parameter #2 [ $previous ] } } Method [ public method __wakeup ] { } Method [ final public method getMessage ] { } Method [ final public method getCode ] { } Method [ final public method getFile ] { } Method [ final public method getLine ] { } Method [ final public method getTrace ] { } Method [ final public method getPrevious ] { } Method [ final public method getTraceAsString ] { } Method [ public method __toString ] { } } } Class [ class swoole_mmap ] { - Constants [0] { } - Static properties [0] { } - Static methods [1] { Method [ static public method open ] { - Parameters [3] { Parameter #0 [ $filename ] Parameter #1 [ $size ] Parameter #2 [ $offset ] } } } - Properties [0] { } - Methods [0] { } } Class [ class swoole_channel ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [5] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $size ] } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method push ] { - Parameters [1] { Parameter #0 [ $data ] } } Method [ public method pop ] { - Parameters [0] { } } Method [ public method stats ] { - Parameters [0] { } } } } Class [ 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 [ public $errCode ] Property [ public $sock ] Property [ public $reuse ] Property [ public $reuseCount ] Property [ public $type ] Property [ public $id ] Property [ public $setting ] Property [ public $onConnect ] Property [ public $onError ] Property [ public $onReceive ] Property [ public $onClose ] Property [ public $onBufferFull ] Property [ public $onBufferEmpty ] Property [ public $onSSLReady ] Property [ public $requestHeaders ] Property [ public $cookies ] } - Methods [34] { Method [ public method __construct ] { } Method [ public method __destruct ] { } Method [ public method setHeaders ] { } Method [ public method setCookies ] { } Method [ public method get ] { } Method [ public method post ] { } Method [ public method onConnect ] { } Method [ public method onError ] { } Method [ public method onReceive ] { } Method [ public method onClose ] { } Method [ public method openStream ] { } Method [ public method push ] { } Method [ public method closeStream ] { } Method [ public method set ] { - Parameters [1] { Parameter #0 [ array $settings ] } } Method [ public method connect ] { - Parameters [4] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $timeout ] Parameter #3 [ $sock_flag ] } } Method [ public method recv ] { - Parameters [2] { Parameter #0 [ $size ] Parameter #1 [ $flag ] } } Method [ public method send ] { - Parameters [2] { Parameter #0 [ $data ] Parameter #1 [ $flag ] } } Method [ public method pipe ] { - Parameters [1] { Parameter #0 [ $dst_socket ] } } Method [ public method sendfile ] { - Parameters [3] { Parameter #0 [ $filename ] Parameter #1 [ $offset ] Parameter #2 [ $length ] } } Method [ public method sendto ] { - Parameters [3] { Parameter #0 [ $ip ] Parameter #1 [ $port ] Parameter #2 [ $data ] } } Method [ public method sleep ] { - Parameters [0] { } } Method [ public method wakeup ] { - Parameters [0] { } } Method [ public method pause ] { - Parameters [0] { } } Method [ public method resume ] { - Parameters [0] { } } Method [ public method shutdown ] { - Parameters [1] { Parameter #0 [ $how ] } } Method [ public method enableSSL ] { - Parameters [1] { Parameter #0 [ $callback ] } } Method [ public method getPeerCert ] { - Parameters [0] { } } Method [ public method verifyPeerCert ] { - Parameters [0] { } } Method [ public method isConnected ] { - Parameters [0] { } } Method [ public method getsockname ] { - Parameters [0] { } } Method [ public method getpeername ] { - Parameters [0] { } } Method [ public method close ] { - Parameters [1] { Parameter #0 [ $force ] } } Method [ public method on ] { - Parameters [2] { Parameter #0 [ $event_name ] Parameter #1 [ $callback ] } } Method [ public method getSocket ] { - Parameters [0] { } } } } Class [ class swoole_http2_response ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [3] { Property [ public $statusCode ] Property [ public $body ] Property [ public $streamId ] } - Methods [0] { } } Class [ class swoole_serialize ] { - Constants [0] { } - Static properties [0] { } - Static methods [2] { Method [ static public method pack ] { - Parameters [2] { Parameter #0 [ $data ] Parameter #1 [ $flag ] } } Method [ static public method unpack ] { - Parameters [2] { Parameter #0 [ $string ] Parameter #1 [ $args ] } } } - Properties [0] { } - Methods [0] { } } Class [ 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 [ public $onConnect ] Property [ public $onClose ] Property [ public $onMessage ] Property [ public $setting ] Property [ public $host ] Property [ public $port ] Property [ public $sock ] Property [ public $errCode ] Property [ public $errMsg ] } - Methods [7] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ array or NULL $setting ] } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method on ] { - Parameters [2] { Parameter #0 [ $event_name ] Parameter #1 [ $callback ] } } Method [ public method connect ] { - Parameters [3] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $callback ] } } Method [ public method close ] { - Parameters [0] { } } Method [ public method getState ] { - Parameters [0] { } } Method [ public method __call ] { - Parameters [2] { Parameter #0 [ $command ] Parameter #1 [ $params ] } } } } Class [ 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 [ static public method format ] { - Parameters [2] { Parameter #0 [ $type ] Parameter #1 [ $value ] } } } - Properties [29] { Property [ public $onConnect ] Property [ public $onReceive ] Property [ public $onClose ] Property [ public $onPacket ] Property [ public $onBufferFull ] Property [ public $onBufferEmpty ] Property [ public $onStart ] Property [ public $onShutdown ] Property [ public $onWorkerStart ] Property [ public $onWorkerStop ] Property [ public $onWorkerExit ] Property [ public $onWorkerError ] Property [ public $onTask ] Property [ public $onFinish ] Property [ public $onManagerStart ] Property [ public $onManagerStop ] Property [ public $onPipeMessage ] Property [ public $setting ] Property [ public $connections ] Property [ public $host ] Property [ public $port ] Property [ public $type ] Property [ public $mode ] Property [ public $ports ] Property [ public $master_pid ] Property [ public $manager_pid ] Property [ public $worker_id ] Property [ public $taskworker ] Property [ public $worker_pid ] } - Methods [42] { Method [ public method start ] { - Parameters [0] { } } Method [ public method setHandler ] { - Parameters [4] { Parameter #0 [ $command ] Parameter #1 [ $callback ] Parameter #2 [ $number_of_string_param ] Parameter #3 [ $type_of_array_param ] } } Method [ public method __construct ] { - Parameters [4] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $mode ] Parameter #3 [ $sock_type ] } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method listen ] { - Parameters [3] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $sock_type ] } } Method [ public method addlistener ] { - Parameters [3] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $sock_type ] } } Method [ public method on ] { - Parameters [2] { Parameter #0 [ $event_name ] Parameter #1 [ $callback ] } } Method [ public method set ] { - Parameters [1] { Parameter #0 [ array $settings ] } } Method [ public method send ] { - Parameters [3] { Parameter #0 [ $fd ] Parameter #1 [ $send_data ] Parameter #2 [ $reactor_id ] } } Method [ public method sendto ] { - Parameters [4] { Parameter #0 [ $ip ] Parameter #1 [ $port ] Parameter #2 [ $send_data ] Parameter #3 [ $server_socket ] } } Method [ public method sendwait ] { - Parameters [2] { Parameter #0 [ $conn_fd ] Parameter #1 [ $send_data ] } } Method [ public method exist ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method protect ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $is_protected ] } } Method [ public method sendfile ] { - Parameters [4] { Parameter #0 [ $conn_fd ] Parameter #1 [ $filename ] Parameter #2 [ $offset ] Parameter #3 [ $length ] } } Method [ public method close ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $reset ] } } Method [ public method confirm ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method pause ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method resume ] { - Parameters [1] { Parameter #0 [ $fd ] } } Method [ public method task ] { - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $worker_id ] Parameter #2 [ $finish_callback ] } } Method [ public method taskwait ] { - Parameters [3] { Parameter #0 [ $data ] Parameter #1 [ $timeout ] Parameter #2 [ $worker_id ] } } Method [ public method taskWaitMulti ] { - Parameters [2] { Parameter #0 [ array $tasks ] Parameter #1 [ $timeout ] } } Method [ public method finish ] { - Parameters [1] { Parameter #0 [ $data ] } } Method [ public method reload ] { - Parameters [0] { } } Method [ public method shutdown ] { - Parameters [0] { } } Method [ public method stop ] { - Parameters [1] { Parameter #0 [ $worker_id ] } } Method [ public method getLastError ] { - Parameters [0] { } } Method [ public method heartbeat ] { - Parameters [1] { Parameter #0 [ $reactor_id ] } } Method [ public method connection_info ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $reactor_id ] } } Method [ public method connection_list ] { - Parameters [2] { Parameter #0 [ $start_fd ] Parameter #1 [ $find_count ] } } Method [ public method getClientInfo ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $reactor_id ] } } Method [ public method getClientList ] { - Parameters [2] { Parameter #0 [ $start_fd ] Parameter #1 [ $find_count ] } } Method [ public method after ] { - Parameters [3] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] Parameter #2 [ $param ] } } Method [ public method tick ] { - Parameters [2] { Parameter #0 [ $ms ] Parameter #1 [ $callback ] } } Method [ public method clearTimer ] { - Parameters [1] { Parameter #0 [ $timer_id ] } } Method [ public method defer ] { - Parameters [1] { Parameter #0 [ $callback ] } } Method [ public method sendMessage ] { - Parameters [2] { Parameter #0 [ $message ] Parameter #1 [ $dst_worker_id ] } } Method [ public method addProcess ] { - Parameters [1] { Parameter #0 [ swoole_process $process ] } } Method [ public method stats ] { - Parameters [0] { } } Method [ public method getSocket ] { - Parameters [1] { Parameter #0 [ $port ] } } Method [ public method bind ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ $uid ] } } Method [ public method __sleep ] { } Method [ public method __wakeup ] { } } } } }