eee
This commit is contained in:
@@ -2,17 +2,15 @@
|
||||
|
||||
namespace Kiri\Server\Contract;
|
||||
|
||||
use Swoole\WebSocket\Server;
|
||||
|
||||
interface OnDisconnectInterface
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* @param Server|\Swoole\Coroutine\Http\Server $server
|
||||
* @param int $fd
|
||||
* @return void
|
||||
*/
|
||||
public function onDisconnect(Server|\Swoole\Coroutine\Http\Server $server, int $fd): void;
|
||||
public function onDisconnect(int $fd): void;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user