Files
kiri-http-server/Contract/OnCloseInterface.php
T

23 lines
226 B
PHP
Raw Normal View History

2022-01-09 03:49:02 +08:00
<?php
2022-01-10 11:39:55 +08:00
namespace Kiri\Server\Contract;
2022-01-09 03:49:02 +08:00
2022-02-22 11:47:16 +08:00
use Swoole\WebSocket\Server;
2022-01-09 03:49:02 +08:00
/**
*
*/
interface OnCloseInterface
{
/**
* @param int $fd
2022-02-22 11:47:16 +08:00
* @return void
2022-01-09 03:49:02 +08:00
*/
2022-06-16 18:07:27 +08:00
public function onClose(int $fd): void;
2022-01-09 03:49:02 +08:00
}