pub async fn dial<C>(
endpoint: &Endpoint,
config: ClientWsConfig,
codec: C,
) -> Result<WsConn<C>>where
C: WebSocketCodec + Clone,
Expand description
Connects to the given WS address and port.
pub async fn dial<C>(
endpoint: &Endpoint,
config: ClientWsConfig,
codec: C,
) -> Result<WsConn<C>>where
C: WebSocketCodec + Clone,
Connects to the given WS address and port.