summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-08-31 14:02:25 +0200
committerRemi Collet <remi@remirepo.net>2018-08-31 14:02:25 +0200
commit10ce346530a757323bd9ea0aeae3cac1de5cd960 (patch)
treedb41d6e0904a1bd91689e28bf07f59b5427c1b98 /REFLECTION
parent0f701e29462ce5c4e2aedc9bde0f1aa8fae39bd2 (diff)
v4.1.0
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION272
1 files changed, 251 insertions, 21 deletions
diff --git a/REFLECTION b/REFLECTION
index 4997035..8075de9 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,6 +1,9 @@
-Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
+Extension [ <persistent> extension #148 swoole version 4.1.0 ] {
- INI {
+ Entry [ swoole.enable_coroutine <ALL> ]
+ Current = 'On'
+ }
Entry [ swoole.aio_thread_num <ALL> ]
Current = '2'
}
@@ -21,7 +24,7 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
}
}
- - Constants [164] {
+ - Constants [192] {
Constant [ integer SWOOLE_BASE ] { 4 }
Constant [ integer SWOOLE_THREAD ] { 2 }
Constant [ integer SWOOLE_PROCESS ] { 3 }
@@ -66,7 +69,7 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 }
Constant [ integer SWOOLE_EVENT_READ ] { 512 }
Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 }
- Constant [ string SWOOLE_VERSION ] { 4.0.4 }
+ Constant [ string SWOOLE_VERSION ] { 4.1.0 }
Constant [ integer SWOOLE_ERROR_MALLOC_FAIL ] { 501 }
Constant [ integer SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 }
Constant [ integer SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 }
@@ -156,6 +159,8 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
Constant [ integer SW_PGSQL_ASSOC ] { 1 }
Constant [ integer SW_PGSQL_NUM ] { 2 }
Constant [ integer SW_PGSQL_BOTH ] { 3 }
+ Constant [ integer SWOOLE_EXIT_IN_COROUTINE ] { 2 }
+ Constant [ integer SWOOLE_EXIT_IN_SERVER ] { 4 }
Constant [ integer SWOOLE_AIO_BASE ] { 0 }
Constant [ integer SWOOLE_AIO_LINUX ] { 0 }
Constant [ integer SWOOLE_FILELOCK ] { 2 }
@@ -163,13 +168,39 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
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 WEBSOCKET_STATUS_CLOSING ] { 4 }
+ Constant [ integer WEBSOCKET_OPCODE_CONTINUATION ] { 0 }
+ Constant [ integer WEBSOCKET_OPCODE_TEXT ] { 1 }
+ Constant [ integer WEBSOCKET_OPCODE_BINARY ] { 2 }
+ Constant [ integer WEBSOCKET_OPCODE_CLOSE ] { 8 }
+ Constant [ integer WEBSOCKET_OPCODE_PING ] { 9 }
+ Constant [ integer WEBSOCKET_OPCODE_PONG ] { 10 }
+ Constant [ integer WEBSOCKET_CLOSE_NORMAL ] { 1000 }
+ Constant [ integer WEBSOCKET_CLOSE_GOING_AWAY ] { 1001 }
+ Constant [ integer WEBSOCKET_CLOSE_PROTOCOL_ERROR ] { 1002 }
+ Constant [ integer WEBSOCKET_CLOSE_DATA_ERROR ] { 1003 }
+ Constant [ integer WEBSOCKET_CLOSE_STATUS_ERROR ] { 1005 }
+ Constant [ integer WEBSOCKET_CLOSE_ABNORMAL ] { 1006 }
+ Constant [ integer WEBSOCKET_CLOSE_MESSAGE_ERROR ] { 1007 }
+ Constant [ integer WEBSOCKET_CLOSE_POLICY_ERROR ] { 1008 }
+ Constant [ integer WEBSOCKET_CLOSE_MESSAGE_TOO_BIG ] { 1009 }
+ Constant [ integer WEBSOCKET_CLOSE_EXTENSION_MISSING ] { 1010 }
+ Constant [ integer WEBSOCKET_CLOSE_SERVER_ERROR ] { 1011 }
+ Constant [ integer WEBSOCKET_CLOSE_TLS ] { 1015 }
+ Constant [ integer SWOOLE_HTTP2_TYPE_DATA ] { 0 }
+ Constant [ integer SWOOLE_HTTP2_TYPE_HEADERS ] { 1 }
+ Constant [ integer SWOOLE_HTTP2_TYPE_PRIORITY ] { 2 }
+ Constant [ integer SWOOLE_HTTP2_TYPE_RST_STREAM ] { 3 }
+ Constant [ integer SWOOLE_HTTP2_TYPE_SETTINGS ] { 4 }
+ Constant [ integer SWOOLE_HTTP2_TYPE_PUSH_PROMISE ] { 5 }
+ Constant [ integer SWOOLE_HTTP2_TYPE_PING ] { 6 }
+ Constant [ integer SWOOLE_HTTP2_TYPE_GOAWAY ] { 7 }
+ Constant [ integer SWOOLE_HTTP2_TYPE_WINDOW_UPDATE ] { 8 }
+ Constant [ integer SWOOLE_HTTP2_TYPE_CONTINUATION ] { 9 }
Constant [ integer SWOOLE_HTTP2_ERROR_NO_ERROR ] { 0 }
Constant [ integer SWOOLE_HTTP2_ERROR_PROTOCOL_ERROR ] { 1 }
Constant [ integer SWOOLE_HTTP2_ERROR_INTERNAL_ERROR ] { 2 }
@@ -428,7 +459,7 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
}
}
- - Classes [48] {
+ - Classes [51] {
Class [ <internal:swoole> class Swoole\Server ] {
- Constants [0] {
@@ -995,7 +1026,7 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
}
}
- Class [ <internal:swoole> <iterateable> class Swoole\Connection\Iterator implements Iterator, Traversable, Countable, ArrayAccess ] {
+ Class [ <internal:swoole> <iterateable> class Swoole\Connection\Iterator implements Iterator, Traversable, ArrayAccess, Countable ] {
- Constants [0] {
}
@@ -1591,16 +1622,15 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
- Static methods [0] {
}
- - Properties [6] {
+ - Properties [5] {
Property [ <default> public $errCode ]
Property [ <default> public $sock ]
Property [ <default> public $type ]
- Property [ <default> public $id ]
Property [ <default> public $setting ]
Property [ <default> public $connected ]
}
- - Methods [17] {
+ - Methods [18] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [1] {
@@ -1646,9 +1676,8 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
Method [ <internal:swoole> public method send ] {
- - Parameters [2] {
+ - Parameters [1] {
Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $flag ]
}
}
@@ -1664,12 +1693,21 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
Method [ <internal:swoole> public method sendto ] {
- Parameters [3] {
- Parameter #0 [ <required> $ip ]
+ Parameter #0 [ <required> $address ]
Parameter #1 [ <required> $port ]
Parameter #2 [ <required> $data ]
}
}
+ Method [ <internal:swoole> public method recvfrom ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $length ]
+ Parameter #1 [ <required> &$address ]
+ Parameter #2 [ <optional> &$port ]
+ }
+ }
+
Method [ <internal:swoole> public method enableSSL ] {
- Parameters [0] {
@@ -2801,7 +2839,7 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
Property [ <default> public $body ]
}
- - Methods [19] {
+ - Methods [20] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [3] {
@@ -2902,6 +2940,16 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
}
}
+ Method [ <internal:swoole> public method addData ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $path ]
+ Parameter #1 [ <required> $name ]
+ Parameter #2 [ <optional> $type ]
+ Parameter #3 [ <optional> $filename ]
+ }
+ }
+
Method [ <internal:swoole> public method isConnected ] {
- Parameters [0] {
@@ -2953,7 +3001,7 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
- Static properties [0] {
}
- - Static methods [16] {
+ - Static methods [18] {
Method [ <internal:swoole> static public method create ] {
- Parameters [1] {
@@ -3071,6 +3119,21 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
Parameter #4 [ <optional> $service ]
}
}
+
+ Method [ <internal:swoole> static public method getBackTrace ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $cid ]
+ Parameter #1 [ <optional> $options ]
+ Parameter #2 [ <optional> $limit ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method listCoroutines ] {
+
+ - Parameters [0] {
+ }
+ }
}
- Properties [0] {
@@ -3080,6 +3143,134 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
}
}
+ Class [ <internal:swoole> <iterateable> class Swoole\Coroutine\Iterator implements Iterator, Traversable, Countable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [7] {
+ 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] {
+ }
+ }
+ }
+ }
+
+ Class [ <internal:swoole> class Swoole\ExitException 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 [12] {
+ Method [ <internal:swoole> public method getFlags ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method getStatus ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ 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\Http\Client ] {
- Constants [0] {
@@ -3495,7 +3686,7 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
}
}
- Class [ <internal:swoole> <iterateable> class Swoole\Table implements ArrayAccess, Iterator, Traversable, Countable ] {
+ Class [ <internal:swoole> <iterateable> class Swoole\Table implements Iterator, Traversable, ArrayAccess, Countable ] {
- Constants [3] {
Constant [ public integer TYPE_INT ] { 1 }
@@ -3717,6 +3908,36 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
}
}
+ Class [ <internal:swoole> class Swoole\Runtime ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [2] {
+ Method [ <internal:swoole> static public method enableStrictMode ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> static public method enableCoroutine ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $enable ]
+ }
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
Class [ <internal:swoole> class Swoole\Lock ] {
- Constants [5] {
@@ -4344,8 +4565,9 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
Method [ <internal:swoole> public method status ] {
- - Parameters [1] {
+ - Parameters [2] {
Parameter #0 [ <required> $http_code ]
+ Parameter #1 [ <optional> $reason ]
}
}
@@ -4430,8 +4652,9 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
- Static methods [0] {
}
- - Properties [9] {
+ - Properties [10] {
Property [ <default> public $fd ]
+ Property [ <default> public $streamId ]
Property [ <default> public $header ]
Property [ <default> public $server ]
Property [ <default> public $request ]
@@ -5668,7 +5891,7 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
Property [ <default> public $port ]
}
- - Methods [10] {
+ - Methods [11] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [3] {
@@ -5700,7 +5923,14 @@ Extension [ <persistent> extension #147 swoole version 4.0.4 ] {
Method [ <internal:swoole> public method stats ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <optional> $key ]
+ }
+ }
+
+ Method [ <internal:swoole> public method isStreamExist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $stream_id ]
}
}