Skip to main content

encode_request_frame

Function encode_request_frame 

Source
pub fn encode_request_frame(
    method: &str,
    context: &CallContext,
    body: &[u8],
) -> Result<Vec<u8>, FrameError>
Expand description

Encodes method_len:u16be | context_len:u32be | method | context | body. The operation stream FIN is the outer delimiter.