This commit is contained in:
2021-11-18 11:37:12 +08:00
parent adc63be3e4
commit 740dc7ebbd
17 changed files with 27 additions and 27 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace Server\Contract;
use Swoole\Server;
interface OnConnectInterface
{
/**
* @param Server $server
* @param int $fd
* @return void
*/
public function onConnect(Server $server, int $fd): void;
}