Files
kiri-core/http-server/SInterface/OnMessageInterface.php
T

20 lines
262 B
PHP
Raw Normal View History

2021-08-12 12:40:06 +08:00
<?php
namespace Server\SInterface;
use Swoole\Server;
use Swoole\WebSocket\Frame;
2021-09-24 02:23:24 +08:00
interface OnMessageInterface
2021-08-12 12:40:06 +08:00
{
/**
* @param Server $server
* @param Frame $frame
* @return void
*/
2021-08-12 12:43:20 +08:00
public function onMessage(Server $server, Frame $frame): void;
2021-08-12 12:40:06 +08:00
}