summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION302
1 files changed, 249 insertions, 53 deletions
diff --git a/REFLECTION b/REFLECTION
index c2c8132..18b2cf6 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
+Extension [ <persistent> extension #137 swoole version 2.0.8 ] {
- INI {
Entry [ swoole.aio_thread_num <ALL> ]
@@ -63,7 +63,7 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 }
Constant [ integer SWOOLE_EVENT_READ ] { 512 }
Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 }
- Constant [ string SWOOLE_VERSION ] { 2.0.7 }
+ Constant [ string SWOOLE_VERSION ] { 2.0.8 }
Constant [ integer SWOOLE_REDIS_MODE_MULTI ] { 0 }
Constant [ integer SWOOLE_REDIS_MODE_PIPELINE ] { 1 }
Constant [ integer SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 }
@@ -226,6 +226,12 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Parameter #1 [ <required> $content ]
}
}
+ Function [ <internal:swoole> function swoole_async_dns_lookup_coro ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $domain_name ]
+ }
+ }
Function [ <internal:swoole> function swoole_client_select ] {
- Parameters [4] {
@@ -266,11 +272,9 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
- Parameters [0] {
}
}
- Function [ <internal:swoole> function swoole_load_module ] {
- }
}
- - Classes [35] {
+ - Classes [34] {
Class [ <internal:swoole> class Swoole\Server ] {
- Constants [0] {
@@ -285,7 +289,7 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
- Properties [0] {
}
- - Methods [38] {
+ - Methods [39] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [4] {
@@ -296,6 +300,12 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
}
}
+ Method [ <internal:swoole, dtor> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:swoole> public method listen ] {
- Parameters [3] {
@@ -379,10 +389,11 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Method [ <internal:swoole> public method sendfile ] {
- - Parameters [3] {
+ - Parameters [4] {
Parameter #0 [ <required> $conn_fd ]
Parameter #1 [ <required> $filename ]
Parameter #2 [ <optional> $offset ]
+ Parameter #3 [ <optional> $length ]
}
}
@@ -708,7 +719,7 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
- Static properties [0] {
}
- - Static methods [6] {
+ - Static methods [7] {
Method [ <internal:swoole> static public method read ] {
- Parameters [4] {
@@ -755,6 +766,13 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
}
}
+ Method [ <internal:swoole> static public method dnsLookupCoro ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $domain_name ]
+ }
+ }
+
Method [ <internal:swoole> static public method set ] {
- Parameters [1] {
@@ -1038,9 +1056,10 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Method [ <internal:swoole> public method sendfile ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> $filename ]
Parameter #1 [ <optional> $offset ]
+ Parameter #2 [ <optional> $length ]
}
}
@@ -1157,50 +1176,114 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Property [ <default> public $sock ]
}
- - Methods [15] {
+ - Methods [16] {
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 [0] {
+ }
}
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 getSocket ] {
+
+ - Parameters [0] {
+ }
}
}
}
@@ -1221,7 +1304,7 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Property [ <default> public $errMsg ]
}
- - Methods [148] {
+ - Methods [151] {
Method [ <internal:swoole, ctor> public method __construct ] {
}
@@ -1665,6 +1748,15 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Method [ <internal:swoole> public method exec ] {
}
+
+ Method [ <internal:swoole> public method eval ] {
+ }
+
+ Method [ <internal:swoole> public method evalSha ] {
+ }
+
+ Method [ <internal:swoole> public method script ] {
+ }
}
}
@@ -1949,12 +2041,13 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Method [ <internal:swoole> public method addFile ] {
- - Parameters [5] {
+ - 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 ]
}
}
@@ -2110,7 +2203,7 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Method [ <internal:swoole> public method useQueue ] {
- Parameters [2] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <optional> $key ]
Parameter #1 [ <optional> $mode ]
}
}
@@ -2247,8 +2340,9 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Method [ <internal:swoole> public method get ] {
- - Parameters [1] {
+ - Parameters [2] {
Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $field ]
}
}
@@ -2267,8 +2361,9 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Method [ <internal:swoole> public method exist ] {
- - Parameters [1] {
+ - Parameters [2] {
Parameter #0 [ <required> $key ]
+ Parameter #1 [ <optional> $field ]
}
}
@@ -2324,7 +2419,12 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Class [ <internal:swoole> class Swoole\Lock ] {
- - Constants [0] {
+ - Constants [5] {
+ Constant [ integer FILELOCK ] { 2 }
+ Constant [ integer MUTEX ] { 3 }
+ Constant [ integer SEM ] { 4 }
+ Constant [ integer RWLOCK ] { 1 }
+ Constant [ integer SPINLOCK ] { 5 }
}
- Static properties [0] {
@@ -2336,7 +2436,7 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
- Properties [0] {
}
- - Methods [7] {
+ - Methods [8] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [2] {
@@ -2357,6 +2457,13 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
}
}
+ Method [ <internal:swoole> public method lockwait ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $timeout ]
+ }
+ }
+
Method [ <internal:swoole> public method trylock ] {
- Parameters [0] {
@@ -2397,7 +2504,7 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
- Properties [0] {
}
- - Methods [6] {
+ - Methods [8] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [1] {
@@ -2432,6 +2539,20 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
}
}
+ 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] {
@@ -2457,7 +2578,7 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Property [ <default> private $global ]
}
- - Methods [38] {
+ - Methods [39] {
Method [ <internal:swoole, overwrites Swoole\Server, prototype Swoole\Server> public method on ] {
- Parameters [2] {
@@ -2482,6 +2603,12 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
}
}
+ Method [ <internal:swoole, inherits Swoole\Server, dtor> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:swoole, inherits Swoole\Server> public method listen ] {
- Parameters [3] {
@@ -2551,10 +2678,11 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Method [ <internal:swoole, inherits Swoole\Server> public method sendfile ] {
- - Parameters [3] {
+ - Parameters [4] {
Parameter #0 [ <required> $conn_fd ]
Parameter #1 [ <required> $filename ]
Parameter #2 [ <optional> $offset ]
+ Parameter #3 [ <optional> $length ]
}
}
@@ -2767,7 +2895,7 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
- Properties [0] {
}
- - Methods [10] {
+ - Methods [11] {
Method [ <internal:swoole> public method initHeader ] {
- Parameters [0] {
@@ -2823,6 +2951,15 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
}
}
+ 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] {
@@ -2839,9 +2976,10 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Method [ <internal:swoole> public method sendfile ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> $filename ]
Parameter #1 [ <optional> $offset ]
+ Parameter #2 [ <optional> $length ]
}
}
@@ -2999,7 +3137,7 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
- Properties [0] {
}
- - Methods [39] {
+ - Methods [40] {
Method [ <internal:swoole, overwrites Swoole\Http\Server, prototype Swoole\Server> public method on ] {
- Parameters [2] {
@@ -3041,6 +3179,12 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
}
}
+ Method [ <internal:swoole, inherits Swoole\Server, dtor> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:swoole, inherits Swoole\Server> public method listen ] {
- Parameters [3] {
@@ -3103,10 +3247,11 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Method [ <internal:swoole, inherits Swoole\Server> public method sendfile ] {
- - Parameters [3] {
+ - Parameters [4] {
Parameter #0 [ <required> $conn_fd ]
Parameter #1 [ <required> $filename ]
Parameter #2 [ <optional> $offset ]
+ Parameter #3 [ <optional> $length ]
}
}
@@ -3325,7 +3470,13 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Class [ <internal:swoole> class Swoole\MySQL ] {
- - Constants [0] {
+ - Constants [6] {
+ Constant [ integer STATE_QUERY ] { 0 }
+ Constant [ integer STATE_READ_START ] { 1 }
+ Constant [ integer STATE_READ_FIELD ] { 2 }
+ Constant [ integer STATE_READ_ROW ] { 3 }
+ Constant [ integer STATE_READ_END ] { 4 }
+ Constant [ integer STATE_CLOSED ] { 5 }
}
- Static properties [0] {
@@ -3334,10 +3485,14 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
- Static methods [0] {
}
- - Properties [0] {
+ - Properties [4] {
+ Property [ <default> public $errno ]
+ Property [ <default> public $connect_errno ]
+ Property [ <default> public $insert_id ]
+ Property [ <default> public $affected_rows ]
}
- - Methods [8] {
+ - Methods [11] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [0] {
@@ -3358,6 +3513,27 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
}
}
+ 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] {
@@ -3374,13 +3550,13 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
}
}
- Method [ <internal:swoole> public method getBuffer ] {
+ Method [ <internal:swoole> public method close ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method close ] {
+ Method [ <internal:swoole> public method getState ] {
- Parameters [0] {
}
@@ -3453,24 +3629,6 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
}
}
- Class [ <internal:swoole> class Swoole\Module ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
- }
-
- - Methods [0] {
- }
- }
-
Class [ <internal:swoole> class Swoole\Mmap ] {
- Constants [0] {
@@ -3568,7 +3726,7 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Property [ <default> public $reuseCount ]
}
- - Methods [30] {
+ - Methods [33] {
Method [ <internal:swoole, overwrites Swoole\Client, ctor> public method __construct ] {
}
@@ -3599,6 +3757,15 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
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] {
@@ -3641,9 +3808,10 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Method [ <internal:swoole, inherits Swoole\Client> public method sendfile ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> $filename ]
Parameter #1 [ <optional> $offset ]
+ Parameter #2 [ <optional> $length ]
}
}
@@ -3793,7 +3961,12 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Class [ <internal:swoole> class Swoole\Redis ] {
- - Constants [0] {
+ - Constants [5] {
+ Constant [ integer STATE_CONNECT ] { 0 }
+ Constant [ integer STATE_READY ] { 1 }
+ Constant [ integer STATE_WAIT_RESULT ] { 2 }
+ Constant [ integer STATE_SUBSCRIBE ] { 3 }
+ Constant [ integer STATE_CLOSED ] { 4 }
}
- Static properties [0] {
@@ -3805,11 +3978,18 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
- Properties [0] {
}
- - Methods [6] {
+ - 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 ] {
@@ -3830,6 +4010,15 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
}
Method [ <internal:swoole> public method close ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:swoole> public method getState ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:swoole> public method __call ] {
@@ -3870,7 +4059,7 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
- Properties [0] {
}
- - Methods [39] {
+ - Methods [40] {
Method [ <internal:swoole, overwrites Swoole\Server, prototype Swoole\Server> public method start ] {
- Parameters [0] {
@@ -3897,6 +4086,12 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
}
}
+ Method [ <internal:swoole, inherits Swoole\Server, dtor> public method __destruct ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:swoole, inherits Swoole\Server> public method listen ] {
- Parameters [3] {
@@ -3974,10 +4169,11 @@ Extension [ <persistent> extension #132 swoole version 2.0.7 ] {
Method [ <internal:swoole, inherits Swoole\Server> public method sendfile ] {
- - Parameters [3] {
+ - Parameters [4] {
Parameter #0 [ <required> $conn_fd ]
Parameter #1 [ <required> $filename ]
Parameter #2 [ <optional> $offset ]
+ Parameter #3 [ <optional> $length ]
}
}