pub async fn listen<C>(
endpoint: &Endpoint,
config: ServerWsConfig,
codec: C,
) -> Result<WsListener<C>>
Expand description
Listens on the given WS address and port.
pub async fn listen<C>(
endpoint: &Endpoint,
config: ServerWsConfig,
codec: C,
) -> Result<WsListener<C>>
Listens on the given WS address and port.