eee
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user