Skip to main content

Module ws

Module ws 

Source
Expand description

WebSocket frame types and extension trait for JMAP Chat.

Wraps WsFrame with chat-specific variants for ChatTypingEvent and ChatPresenceEvent, which arrive as WsFrame::Unknown on the base transport.

Spec: draft-atwood-jmap-chat-wss-00

Enums§

ChatWsFrame
A parsed frame from the JMAP Chat WebSocket, including chat-specific variants.

Traits§

ChatWsExt
Extension trait adding JMAP Chat ephemeral-event methods to WsSession.

Functions§

parse_chat_ws_frame
Promote a base-client WsFrame to a ChatWsFrame.