Files
kiri-http-server/Contract/OnPacketInterface.php
T
as2252258 b2728947a3 Revert "改名"
This reverts commit fdf58326
2022-01-10 11:39:55 +08:00

20 lines
318 B
PHP

<?php
namespace Kiri\Server\Contract;
use Kiri\Server\Abstracts\Server;
interface OnPacketInterface
{
/**
* @param Server $server
* @param string $data
* @param array $clientInfo
* @return mixed
*/
public function onPacket(Server $server, string $data, array $clientInfo): void;
}