Skip to main content

parse_relay_response_frame

Function parse_relay_response_frame 

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

Parse one bounded relay-to-client JSON frame.

ยงErrors

Returns SoftchatError::InvalidRelayFrame for malformed commands, invalid nested events, incorrect arity, or size violations.