pub fn encode_json_frame(frame: &JsonFrame) -> String
Serialize a JsonFrame to a WebSocket text payload.
JsonFrame