This commit is contained in:
2026-02-26 14:39:04 +08:00
parent c0a61aebdd
commit d90d2eb844
6 changed files with 463 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?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;
}
}