onReceive

主服务为SERVER时有效,当接收到客户端数据时,会触发此事件

函数原型

public static function onReceive(\swoole_server $server, int $fd, int $reactor_id, string $data): void
{
}

results matching ""

    No results matching ""