omaha_client::protocol::response

Function parse_json_response

Source
pub fn parse_json_response(json: &[u8]) -> Result<Response>
Expand description

Parse a slice of bytes into a Response object (stripping out the ResponseWrapper in the process)