modify plugin name
This commit is contained in:
@@ -162,6 +162,9 @@ class Http extends Component
|
|||||||
}
|
}
|
||||||
while (($data = $response->recv()) instanceof Frame) {
|
while (($data = $response->recv()) instanceof Frame) {
|
||||||
try {
|
try {
|
||||||
|
if ($data->opcode == WEBSOCKET_OPCODE_PING || $data->opcode == WEBSOCKET_OPCODE_PONG) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
call_user_func($message, $data);
|
call_user_func($message, $data);
|
||||||
} catch (\Throwable $throwable) {
|
} catch (\Throwable $throwable) {
|
||||||
$this->logger()->error($throwable->getMessage());
|
$this->logger()->error($throwable->getMessage());
|
||||||
|
|||||||
Reference in New Issue
Block a user