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

26 lines
319 B
PHP
Raw Normal View History

2021-08-12 12:40:06 +08:00
<?php
namespace Server\SInterface;
use Swoole\Server;
/**
*
*/
2021-09-24 02:23:24 +08:00
interface OnReceiveInterface
2021-08-12 12:40:06 +08:00
{
/**
* @param Server $server
* @param int $fd
* @param int $reactor_id
* @param string $data
* @return void
*/
public function onReceive(Server $server, int $fd, int $reactor_id, string $data): void;
}