Skip to main content

encode_response_frame

Function encode_response_frame 

Source
pub fn encode_response_frame(
    response: &BrowserResponse,
    content: &[u8],
) -> Result<Vec<u8>, BrowserProtocolError>
Expand description

Encode one typed JSON-header-plus-binary response frame.

ยงErrors

Returns an error for a stale version, inconsistent length, or exceeded bound.