Skip to main content

send_frame

Function send_frame 

Source
pub async fn send_frame(
    stream: &mut TcpStream,
    data: &[u8],
    kind: &FrameKind,
) -> Result<(), ConnectError>
Expand description

Send a framed message using the active transport kind.