This commit is contained in:
2021-11-30 14:32:56 +08:00
parent 4d1587bc8d
commit 2870a64792
19 changed files with 936 additions and 0 deletions
@@ -0,0 +1,19 @@
<?php
namespace Kiri\Server\Contract;
use Swoole\Server;
use Swoole\WebSocket\Frame;
interface OnMessageInterface
{
/**
* @param Server $server
* @param Frame $frame
* @return void
*/
public function onMessage(Server $server, Frame $frame): void;
}