diff options
Diffstat (limited to 'REFLECTION')
| -rw-r--r-- | REFLECTION | 234 | 
1 files changed, 229 insertions, 5 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #86 swoole version 4.8.2 ] { +Extension [ <persistent> extension #86 swoole version 4.8.3 ] {    - Dependencies {      Dependency [ json (Required) ] @@ -29,11 +29,11 @@ Extension [ <persistent> extension #86 swoole version 4.8.2 ] {    }    - Constants [390] { -    Constant [ string SWOOLE_VERSION ] { 4.8.2 } -    Constant [ int SWOOLE_VERSION_ID ] { 40802 } +    Constant [ string SWOOLE_VERSION ] { 4.8.3 } +    Constant [ int SWOOLE_VERSION_ID ] { 40803 }      Constant [ int SWOOLE_MAJOR_VERSION ] { 4 }      Constant [ int SWOOLE_MINOR_VERSION ] { 8 } -    Constant [ int SWOOLE_RELEASE_VERSION ] { 2 } +    Constant [ int SWOOLE_RELEASE_VERSION ] { 3 }      Constant [ string SWOOLE_EXTRA_VERSION ] {  }      Constant [ bool SWOOLE_DEBUG ] {  }      Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 } @@ -781,6 +781,224 @@ Extension [ <persistent> extension #86 swoole version 4.8.2 ] {        - Parameters [0] {        }      } +    Function [ <internal:swoole> function swoole_native_socket_create_listen ] { + +      - Parameters [2] { +        Parameter #0 [ <required> int $port ] +        Parameter #1 [ <optional> int $backlog = 128 ] +      } +      - Return [ Swoole\Coroutine\Socket|false ] +    } +    Function [ <internal:swoole> function swoole_native_socket_accept ] { + +      - Parameters [1] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +      } +      - Return [ Swoole\Coroutine\Socket|false ] +    } +    Function [ <internal:swoole> function swoole_native_socket_set_nonblock ] { + +      - Parameters [1] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +      } +      - Return [ bool ] +    } +    Function [ <internal:swoole> function swoole_native_socket_set_block ] { + +      - Parameters [1] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +      } +      - Return [ bool ] +    } +    Function [ <internal:swoole> function swoole_native_socket_listen ] { + +      - Parameters [2] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <optional> int $backlog = 0 ] +      } +      - Return [ bool ] +    } +    Function [ <internal:swoole> function swoole_native_socket_close ] { + +      - Parameters [1] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +      } +      - Return [ void ] +    } +    Function [ <internal:swoole> function swoole_native_socket_write ] { + +      - Parameters [3] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> string $data ] +        Parameter #2 [ <optional> ?int $length = null ] +      } +      - Return [ int|false ] +    } +    Function [ <internal:swoole> function swoole_native_socket_read ] { + +      - Parameters [3] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> int $length ] +        Parameter #2 [ <optional> int $mode = PHP_BINARY_READ ] +      } +      - Return [ string|false ] +    } +    Function [ <internal:swoole> function swoole_native_socket_getsockname ] { + +      - Parameters [3] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> &$address ] +        Parameter #2 [ <optional> &$port = null ] +      } +      - Return [ bool ] +    } +    Function [ <internal:swoole> function swoole_native_socket_getpeername ] { + +      - Parameters [3] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> &$address ] +        Parameter #2 [ <optional> &$port = null ] +      } +      - Return [ bool ] +    } +    Function [ <internal:swoole> function swoole_native_socket_create ] { + +      - Parameters [3] { +        Parameter #0 [ <required> int $domain ] +        Parameter #1 [ <required> int $type ] +        Parameter #2 [ <required> int $protocol ] +      } +      - Return [ Swoole\Coroutine\Socket|false ] +    } +    Function [ <internal:swoole> function swoole_native_socket_connect ] { + +      - Parameters [3] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> string $address ] +        Parameter #2 [ <optional> ?int $port = null ] +      } +      - Return [ bool ] +    } +    Function [ <internal:swoole> function swoole_native_socket_strerror ] { + +      - Parameters [1] { +        Parameter #0 [ <required> int $error_code ] +      } +      - Return [ string ] +    } +    Function [ <internal:swoole> function swoole_native_socket_bind ] { + +      - Parameters [3] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> string $address ] +        Parameter #2 [ <optional> int $port = 0 ] +      } +      - Return [ bool ] +    } +    Function [ <internal:swoole> function swoole_native_socket_recv ] { + +      - Parameters [4] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> &$data ] +        Parameter #2 [ <required> int $length ] +        Parameter #3 [ <required> int $flags ] +      } +      - Return [ int|false ] +    } +    Function [ <internal:swoole> function swoole_native_socket_send ] { + +      - Parameters [4] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> string $data ] +        Parameter #2 [ <required> int $length ] +        Parameter #3 [ <required> int $flags ] +      } +      - Return [ int|false ] +    } +    Function [ <internal:swoole> function swoole_native_socket_recvfrom ] { + +      - Parameters [6] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> &$data ] +        Parameter #2 [ <required> int $length ] +        Parameter #3 [ <required> int $flags ] +        Parameter #4 [ <required> &$address ] +        Parameter #5 [ <optional> &$port = null ] +      } +      - Return [ int|false ] +    } +    Function [ <internal:swoole> function swoole_native_socket_sendto ] { + +      - Parameters [6] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> string $data ] +        Parameter #2 [ <required> int $length ] +        Parameter #3 [ <required> int $flags ] +        Parameter #4 [ <required> string $address ] +        Parameter #5 [ <optional> ?int $port = null ] +      } +      - Return [ int|false ] +    } +    Function [ <internal:swoole> function swoole_native_socket_get_option ] { + +      - Parameters [3] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> int $level ] +        Parameter #2 [ <required> int $option ] +      } +      - Return [ array|int|false ] +    } +    Function [ <internal:swoole> function swoole_native_socket_set_option ] { + +      - Parameters [4] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> int $level ] +        Parameter #2 [ <required> int $option ] +        Parameter #3 [ <required> $value ] +      } +      - Return [ bool ] +    } +    Function [ <internal:swoole> function swoole_native_socket_getopt ] { + +      - Parameters [3] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> int $level ] +        Parameter #2 [ <required> int $option ] +      } +      - Return [ array|int|false ] +    } +    Function [ <internal:swoole> function swoole_native_socket_setopt ] { + +      - Parameters [4] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <required> int $level ] +        Parameter #2 [ <required> int $option ] +        Parameter #3 [ <required> $value ] +      } +      - Return [ bool ] +    } +    Function [ <internal:swoole> function swoole_native_socket_shutdown ] { + +      - Parameters [2] { +        Parameter #0 [ <required> Swoole\Coroutine\Socket $socket ] +        Parameter #1 [ <optional> int $mode = 2 ] +      } +      - Return [ bool ] +    } +    Function [ <internal:swoole> function swoole_native_socket_last_error ] { + +      - Parameters [1] { +        Parameter #0 [ <optional> ?Swoole\Coroutine\Socket $socket = null ] +      } +      - Return [ int ] +    } +    Function [ <internal:swoole> function swoole_native_socket_clear_error ] { + +      - Parameters [1] { +        Parameter #0 [ <optional> ?Swoole\Coroutine\Socket $socket = null ] +      } +      - Return [ void ] +    }      Function [ <internal:swoole> function swoole_native_curl_close ] {        - Parameters [1] { @@ -3415,7 +3633,7 @@ Extension [ <persistent> extension #86 swoole version 4.8.2 ] {          Property [ public $errMsg = '' ]        } -      - Methods [30] { +      - Methods [31] {          Method [ <internal:swoole, ctor> public method __construct ] {            - Parameters [3] { @@ -3643,6 +3861,12 @@ Extension [ <persistent> extension #86 swoole version 4.8.2 ] {            - Parameters [0] {            }          } + +        Method [ <internal:swoole> public method isClosed ] { + +          - Parameters [0] { +          } +        }        }      }  | 
