uri property

Uri get uri

Where clients should point a WebSocketTransportConfig.

Always ws://: the hub never terminates TLS itself. A wss:// deployment puts a reverse proxy in front, and clients use the proxy's address.

Implementation

Uri get uri => Uri(scheme: 'ws', host: _server.address.host, port: port);