summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION170
1 files changed, 62 insertions, 108 deletions
diff --git a/REFLECTION b/REFLECTION
index 5a23f44..e9ebf68 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
+Extension [ <persistent> extension #122 swoole version 4.7.0 ] {
- Dependencies {
Dependency [ json (Required) ]
@@ -28,12 +28,12 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
}
}
- - Constants [365] {
- Constant [ string SWOOLE_VERSION ] { 4.6.7 }
- Constant [ int SWOOLE_VERSION_ID ] { 40607 }
+ - Constants [373] {
+ Constant [ string SWOOLE_VERSION ] { 4.7.0 }
+ Constant [ int SWOOLE_VERSION_ID ] { 40700 }
Constant [ int SWOOLE_MAJOR_VERSION ] { 4 }
- Constant [ int SWOOLE_MINOR_VERSION ] { 6 }
- Constant [ int SWOOLE_RELEASE_VERSION ] { 7 }
+ Constant [ int SWOOLE_MINOR_VERSION ] { 7 }
+ Constant [ int SWOOLE_RELEASE_VERSION ] { 0 }
Constant [ string SWOOLE_EXTRA_VERSION ] { }
Constant [ bool SWOOLE_DEBUG ] { }
Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 }
@@ -108,11 +108,13 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
Constant [ int SWOOLE_ERROR_FILE_NOT_EXIST ] { 700 }
Constant [ int SWOOLE_ERROR_FILE_TOO_LARGE ] { 701 }
Constant [ int SWOOLE_ERROR_FILE_EMPTY ] { 702 }
- Constant [ int SWOOLE_ERROR_DNSLOOKUP_DUPLICATE_REQUEST ] { 703 }
- Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_FAILED ] { 704 }
- Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_TIMEOUT ] { 705 }
- Constant [ int SWOOLE_ERROR_BAD_IPV6_ADDRESS ] { 706 }
- Constant [ int SWOOLE_ERROR_UNREGISTERED_SIGNAL ] { 707 }
+ Constant [ int SWOOLE_ERROR_DNSLOOKUP_DUPLICATE_REQUEST ] { 710 }
+ Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_FAILED ] { 711 }
+ Constant [ int SWOOLE_ERROR_DNSLOOKUP_RESOLVE_TIMEOUT ] { 712 }
+ Constant [ int SWOOLE_ERROR_DNSLOOKUP_UNSUPPORTED ] { 713 }
+ Constant [ int SWOOLE_ERROR_DNSLOOKUP_NO_SERVER ] { 714 }
+ Constant [ int SWOOLE_ERROR_BAD_IPV6_ADDRESS ] { 720 }
+ Constant [ int SWOOLE_ERROR_UNREGISTERED_SIGNAL ] { 721 }
Constant [ int SWOOLE_ERROR_EVENT_SOCKET_REMOVED ] { 800 }
Constant [ int SWOOLE_ERROR_SESSION_CLOSED_BY_SERVER ] { 1001 }
Constant [ int SWOOLE_ERROR_SESSION_CLOSED_BY_CLIENT ] { 1002 }
@@ -189,6 +191,10 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
Constant [ int SWOOLE_ERROR_CO_PROTECT_STACK_FAILED ] { 10012 }
Constant [ int SWOOLE_ERROR_CO_STD_THREAD_LINK_ERROR ] { 10013 }
Constant [ int SWOOLE_ERROR_CO_DISABLED_MULTI_THREAD ] { 10014 }
+ Constant [ int SWOOLE_ERROR_CO_CANNOT_CANCEL ] { 10015 }
+ Constant [ int SWOOLE_ERROR_CO_NOT_EXISTS ] { 10016 }
+ Constant [ int SWOOLE_ERROR_CO_CANCELED ] { 10017 }
+ Constant [ int SWOOLE_ERROR_CO_TIMEDOUT ] { 10018 }
Constant [ int SWOOLE_TRACE_SERVER ] { 2 }
Constant [ int SWOOLE_TRACE_CLIENT ] { 4 }
Constant [ int SWOOLE_TRACE_BUFFER ] { 8 }
@@ -203,7 +209,7 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
Constant [ int SWOOLE_TRACE_EOF_PROTOCOL ] { 4096 }
Constant [ int SWOOLE_TRACE_LENGTH_PROTOCOL ] { 8192 }
Constant [ int SWOOLE_TRACE_CLOSE ] { 16384 }
- Constant [ int SWOOLE_TRACE_WEBSOCEKT ] { 32768 }
+ Constant [ int SWOOLE_TRACE_WEBSOCKET ] { 32768 }
Constant [ int SWOOLE_TRACE_REDIS_CLIENT ] { 65536 }
Constant [ int SWOOLE_TRACE_MYSQL_CLIENT ] { 131072 }
Constant [ int SWOOLE_TRACE_HTTP_CLIENT ] { 262144 }
@@ -218,7 +224,8 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
Constant [ int SWOOLE_TRACE_CO_HTTP_SERVER ] { 134217728 }
Constant [ int SWOOLE_TRACE_TABLE ] { 268435456 }
Constant [ int SWOOLE_TRACE_CO_CURL ] { 536870912 }
- Constant [ int SWOOLE_TRACE_ALL ] { 4294967295 }
+ Constant [ int SWOOLE_TRACE_CARES ] { 1073741824 }
+ Constant [ int SWOOLE_TRACE_ALL ] { 9223372036854775807 }
Constant [ int SWOOLE_LOG_DEBUG ] { 0 }
Constant [ int SWOOLE_LOG_TRACE ] { 1 }
Constant [ int SWOOLE_LOG_INFO ] { 2 }
@@ -255,6 +262,7 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
Constant [ int SWOOLE_CHANNEL_OK ] { 0 }
Constant [ int SWOOLE_CHANNEL_TIMEOUT ] { -1 }
Constant [ int SWOOLE_CHANNEL_CLOSED ] { -2 }
+ Constant [ int SWOOLE_CHANNEL_CANCELED ] { -3 }
Constant [ int SWOOLE_HOOK_TCP ] { 2 }
Constant [ int SWOOLE_HOOK_UDP ] { 4 }
Constant [ int SWOOLE_HOOK_UNIX ] { 8 }
@@ -414,9 +422,10 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
}
Function [ <internal:swoole> function swoole_async_dns_lookup_coro ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> $domain_name ]
Parameter #1 [ <optional> $timeout ]
+ Parameter #2 [ <optional> $type ]
}
}
Function [ <internal:swoole> function swoole_async_set ] {
@@ -724,7 +733,7 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
}
}
- - Classes [53] {
+ - Classes [52] {
Class [ <internal:swoole> class Swoole\Exception extends Exception implements Throwable ] {
- Constants [0] {
@@ -1381,7 +1390,7 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
Property [ <default> public $workers ]
}
- - Methods [9] {
+ - Methods [11] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [4] {
@@ -1436,12 +1445,24 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
}
}
+ Method [ <internal:swoole> public method detach ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:swoole> public method start ] {
- Parameters [0] {
}
}
+ Method [ <internal:swoole> public method stop ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:swoole> public method shutdown ] {
- Parameters [0] {
@@ -1450,7 +1471,7 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
}
}
- Class [ <internal:swoole> <iterateable> class Swoole\Table implements Iterator, Traversable, ArrayAccess, Countable ] {
+ Class [ <internal:swoole> <iterateable> class Swoole\Table implements Iterator, Traversable, Countable ] {
- Constants [3] {
Constant [ public int TYPE_INT ] { 1 }
@@ -1469,7 +1490,7 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
Property [ <default> public $memorySize ]
}
- - Methods [24] {
+ - Methods [20] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [2] {
@@ -1579,36 +1600,13 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
}
}
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $offset ]
- }
- }
-
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetGet ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $offset ]
- }
- }
-
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetSet ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $offset ]
- Parameter #1 [ <required> $value ]
- }
- }
-
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetUnset ] {
+ Method [ <internal:swoole, prototype Iterator> public method rewind ] {
- - Parameters [1] {
- Parameter #0 [ <required> $offset ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole, prototype Iterator> public method rewind ] {
+ Method [ <internal:swoole, prototype Iterator> public method valid ] {
- Parameters [0] {
}
@@ -1631,66 +1629,6 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
- Parameters [0] {
}
}
-
- Method [ <internal:swoole, prototype Iterator> public method valid ] {
-
- - Parameters [0] {
- }
- }
- }
- }
-
- Class [ <internal:swoole> class Swoole\Table\Row implements ArrayAccess ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [2] {
- Property [ <default> public $key ]
- Property [ <default> public $value ]
- }
-
- - Methods [5] {
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetExists ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $offset ]
- }
- }
-
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetGet ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $offset ]
- }
- }
-
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetSet ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $offset ]
- Parameter #1 [ <required> $value ]
- }
- }
-
- Method [ <internal:swoole, prototype ArrayAccess> public method offsetUnset ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $offset ]
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
}
}
@@ -1978,7 +1916,7 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
- Static properties [0] {
}
- - Static methods [35] {
+ - Static methods [37] {
Method [ <internal:swoole> static public method create ] {
- Parameters [2] {
@@ -2020,6 +1958,19 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
}
}
+ Method [ <internal:swoole> static public method cancel ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $cid ]
+ }
+ }
+
+ Method [ <internal:swoole> static public method isCanceled ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:swoole> static public method suspend ] {
- Parameters [0] {
@@ -2125,9 +2076,10 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
Method [ <internal:swoole> static public method dnsLookup ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> $domain_name ]
Parameter #1 [ <optional> $timeout ]
+ Parameter #2 [ <optional> $type ]
}
}
@@ -2716,9 +2668,10 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
Method [ <internal:swoole> static public method dnsLookup ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> $domain_name ]
Parameter #1 [ <optional> $timeout ]
+ Parameter #2 [ <optional> $type ]
}
}
@@ -6474,7 +6427,7 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
- Static methods [0] {
}
- - Properties [16] {
+ - Properties [17] {
Property [ <default> private $onConnect ]
Property [ <default> private $onReceive ]
Property [ <default> private $onClose ]
@@ -6485,6 +6438,7 @@ Extension [ <persistent> extension #118 swoole version 4.6.7 ] {
Property [ <default> private $onHandShake ]
Property [ <default> private $onOpen ]
Property [ <default> private $onMessage ]
+ Property [ <default> private $onDisconnect ]
Property [ <default> public $host ]
Property [ <default> public $port ]
Property [ <default> public $type ]