pub fn decode_stream_frame<T, E>(frame: Bytes) -> Option<T>where
E: Encoding,
T: DeserializeOwned,Expand description
Decode a websocket-framed streaming payload produced by encode_stream_frame.
This function returns None if the frame is invalid or cannot be decoded.
It cannot handle masked frames, as those are not produced by our encoding function.