private function startWsServer()
    {
        if (! $this->serverInstance instanceof RatchetWsServer) {
            throw new \Exception("{$this->class} must be an instance of ".RatchetWsServer::class." to create a WebSocket server");
        }

        $this->bootWithBlacklist();

        return $this->bootWebSocketServer();
    }
private function startWsServer()
    {
        if (! $this->serverInstance instanceof RatchetWsServer) {
            throw new \Exception("{$this->class} must be an instance of ".RatchetWsServer::class." to create a WebSocket server");
        }

        $this->bootWithBlacklist();

        return $this->bootWebSocketServer();
    }
private function startWsServer ( ) { if ( ! $ this -> serverInstance instanceof RatchetWsServer ) { throw new \ Exception ( "{$this->class} must be an instance of " . RatchetWsServer :: class . " to create a WebSocket server" ) ; } $ this -> bootWithBlacklist ( ) ; return $ this -> bootWebSocketServer ( ) ; }
Deploy a WsServer.

@return IoServer
Deploy a WsServer .