Files
kiri-coroutine-server/core/Struct.php
T

19 lines
284 B
PHP
Raw Normal View History

2026-02-26 14:39:04 +08:00
<?php
namespace Coroutine\Server;
use Swoole\Http\Response;
class Struct
{
public mixed $user;
public int $fd;
public Response $ws;
public function __construct(mixed $user, int $fd, Response $ws)
{
$this->fd = $fd;
$this->user = $user;
$this->ws = $ws;
}
}