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;
interface OnDisconnectInterface
{
/**
* @param Server $server
* @param int $fd
*/
public function onDisconnect(Server $server, int $fd): void;
}