modify plugin name
This commit is contained in:
+3
-4
@@ -159,11 +159,10 @@ class Http extends Component
|
||||
$fdCollector->set($response->fd, $response);
|
||||
if (is_callable($handshake)) {
|
||||
call_user_func($handshake, $request, $response);
|
||||
if (is_callable($open)) {
|
||||
$open($request);
|
||||
}
|
||||
}
|
||||
|
||||
if (is_callable($open)) {
|
||||
$open($request);
|
||||
}
|
||||
while (($data = $response->recv()) instanceof Frame) {
|
||||
try {
|
||||
if ($data->opcode == WEBSOCKET_OPCODE_PING || $data->opcode == WEBSOCKET_OPCODE_PONG) {
|
||||
|
||||
Reference in New Issue
Block a user