Files
kiri-core/http-server/SInterface/OnReceive.php
T
2021-08-24 18:24:46 +08:00

26 lines
310 B
PHP

<?php
namespace Server\SInterface;
use Swoole\Server;
/**
*
*/
interface OnReceive
{
/**
* @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;
}