Skip to main content

encode_fetch_interface_response

Function encode_fetch_interface_response 

Source
pub fn encode_fetch_interface_response(
    request_value: &FetchInterfaceRequest,
    value: &FetchInterfaceResponse,
    limits: Limits,
) -> Result<Response<Vec<u8>>, EncodeHttpError>
Expand description

Encodes a successful fetch_interface response as a direct body with HTTP 200.