Skip to main content

decode_request_grid

Function decode_request_grid 

Source
pub fn decode_request_grid(
    body: &str,
    content_type: &str,
) -> Result<HGrid, CodecError>
Expand description

Decode a request body into an HGrid using the given Content-Type.

Falls back to "text/zinc" if the content type is not recognized.