This commit is contained in:
2021-08-12 12:40:06 +08:00
parent 39af292171
commit 9a6c7b835b
19 changed files with 655 additions and 29 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace Server\SInterface;
use Swoole\Server;
/**
*
*/
interface OnClose
{
/**
* @param Server $server
* @param int $fd
*/
public function onClose(Server $server, int $fd): void;
/**
* @param Server $server
* @param int $fd
*/
public function onDisconnect(Server $server, int $fd): void;
}