send_helper

Function send_helper 

Source
pub(crate) fn send_helper<S>(
    ws: &mut WebSocketStream<S>,
    msg: &mut Option<Message>,
    cx: &mut Context<'_>,
) -> Poll<Result<(), Error>>
where S: AsyncRead + AsyncWrite + Unpin,
Expand description

Performs an asynchronous message send to the websocket.