pub fn parse_response(
response_status: StatusCode,
body: Vec<u8>,
) -> Result<(), WebPushError>
Expand description
Parses the response from the push service, and will return Err
if the request was bad.
pub fn parse_response(
response_status: StatusCode,
body: Vec<u8>,
) -> Result<(), WebPushError>
Parses the response from the push service, and will return Err
if the request was bad.