pub fn split<T>(
ws: WebSocketStream<T>,
) -> (SinkWriter<Outgoing<T>>, StreamReader<Incoming<T>, Bytes>)Expand description
Splits a WebSocketStream into wRPC byte-stream halves: an AsyncWrite
outgoing half and an AsyncRead incoming half, suitable for use with
wrpc_transport::frame.