Function webtonic_proto::reply_to_http_response[][src]

pub fn reply_to_http_response(reply: Reply) -> Option<HttpResponse<BoxBody>>

Parse a Reply into a Response.

Arguments

  • reply: The Reply to parse

Returns

  • Some(response), if parsing the Response succeded
  • None, if parsing failed