pub fn decode_message_typed(text: &str) -> Result<TypedMessage, Error>Expand description
Decode a WebSocket text frame into a typed message (Go DecodeMessage parity).
Dispatches by the type field:
- Protocol-1 envelope types →
Envelope nextwhose payload wraps an event-shaped frame →EventMessageevent→EventMessagestatus→StatusResponse(with camelCaseloopIdfallback)event_batch→ rawValue(useexpand_wire_messagesto flatten)- Unknown → raw
Value