final case classConnect(url: String, subprotocol: String) extends Command with Product with Serializable
This connect command is sent by a client applications with the intent to connect to a router.
It is sent to the Wamp ExtensionManager, which is obtained via WampExtension#manager.
Either the manager replies with a CommandFailed signal or with a Connected signal
bearing the reference to the newly spawned client.TransportHandler actor.
url
is the URL to connect to (e.g. "ws://somehost.com:9999/path/to/ws")
subprotocol
is the WebSocket subprotocol to negotiate (e.g. "wamp.2.msgpack" or "wamp.2.json")
This connect command is sent by a client applications with the intent to connect to a router.
It is sent to the Wamp ExtensionManager, which is obtained via WampExtension#manager. Either the manager replies with a CommandFailed signal or with a Connected signal bearing the reference to the newly spawned client.TransportHandler actor.
is the URL to connect to (e.g. "ws://somehost.com:9999/path/to/ws")
is the WebSocket subprotocol to negotiate (e.g. "wamp.2.msgpack" or "wamp.2.json")