pub fn encode_frame(frame: &Frame) -> Bytes
Encode a Frame into the bytes of one WebSocket binary message.
Frame