From bfc9e789a6bf90775da9a3095e7877899deb6a2d Mon Sep 17 00:00:00 2001 From: Demin Yin Date: Sun, 26 Apr 2020 11:12:57 -0700 Subject: [PATCH] updates for Swoole 4.5.0 Signed-off-by: Demin Yin --- output/swoole/aliases.php | 1 - output/swoole/constants.php | 43 ++++++----- output/swoole/functions.php | 32 ++++++++ output/swoole/namespace/Buffer.php | 77 ------------------- output/swoole/namespace/Coroutine.php | 35 +++++++++ .../namespace/Coroutine/Http/Client.php | 21 +++++ .../namespace/Coroutine/Http2/Client.php | 7 ++ output/swoole/namespace/Coroutine/Socket.php | 21 +++++ output/swoole/namespace/Coroutine/System.php | 28 +++++++ output/swoole/namespace/Http/Request.php | 7 ++ output/swoole/namespace/Http/Response.php | 2 +- output/swoole/namespace/Runtime.php | 6 +- output/swoole/namespace/Server.php | 39 ++++++++++ 13 files changed, 218 insertions(+), 101 deletions(-) delete mode 100644 output/swoole/namespace/Buffer.php diff --git a/output/swoole/aliases.php b/output/swoole/aliases.php index f43ddb48..2853fb15 100644 --- a/output/swoole/aliases.php +++ b/output/swoole/aliases.php @@ -20,7 +20,6 @@ class_alias(Swoole\Coroutine\System::class, Co\System::class); class_alias(Swoole\Atomic::class, swoole_atomic::class); class_alias(Swoole\Atomic\Long::class, swoole_atomic_long::class); -class_alias(Swoole\Buffer::class, swoole_buffer::class); class_alias(Swoole\Client::class, swoole_client::class); class_alias(Swoole\Connection\Iterator::class, swoole_connection_iterator::class); class_alias(Swoole\Coroutine::class, co::class); diff --git a/output/swoole/constants.php b/output/swoole/constants.php index cc9e15c9..f12e53f4 100644 --- a/output/swoole/constants.php +++ b/output/swoole/constants.php @@ -1,10 +1,10 @@