This commit is contained in:
2026-02-26 14:48:00 +08:00
parent 6362c7f5ea
commit 4e999574a9
2 changed files with 12 additions and 2 deletions
+12
View File
@@ -21,8 +21,20 @@ abstract class Websocket implements OnMessageInterface, OnDisconnectInterface
public Transport $transport;
/**
* @var Server
*/
private Server $server;
/**
* @return Server
*/
public function getServer(): Server
{
return $this->server;
}
/**
* @param string $host
* @param int $port