Skip to main content

http_status_line_from_response

Function http_status_line_from_response 

Source
pub fn http_status_line_from_response(response: &str) -> Option<String>
Expand description

Returns the complete first status line from an HTTP response.

§Parameters

§Returns

Returns Some when crate::http::http_status_line_from_response can produce a value and None otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::http::http_status_line_from_response.

§Examples

ⓘ
let _result = pharos_runtime_core::http::http_status_line_from_response(todo!());
  • crate::http for adjacent helpers that share the same runtime surface.