oa_gateway_bench::owp_client

Function subscribe

Source
pub(crate) async fn subscribe(
    ws: &mut WebSocketStream<MaybeTlsStream<TcpStream>>,
    sid: &str,
    message_name: &str,
    topic: &str,
    verbose: bool,
) -> Result<(), String>
Expand description

SUB and, when the server is verbose, the following +OK.