Skip to main content

parse_client_relay_frame

Function parse_client_relay_frame 

Source
pub fn parse_client_relay_frame(
    json: &str,
) -> Result<ClientRelayFrame, SoftchatError>
Expand description

Parse one bounded client-to-relay JSON frame.

ยงErrors

Returns SoftchatError::InvalidRelayFrame for malformed commands, arity, nested event/filter validation, duplicate batch IDs, or size violations.