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,18 @@
<?php
namespace Kiri\Server\Contract;
use Swoole\Server;
interface OnConnectInterface
{
/**
* @param Server $server
* @param int $fd
* @return void
*/
public function onConnect(Server $server, int $fd): void;
}