pub fn http_status_code_from_response(response: &str) -> u16Expand description
Extracts a response status code from an HTTP status line.
§Parameters
response: Input consumed bycrate::http::http_status_code_from_response.
§Returns
Returns the computed value produced by crate::http::http_status_code_from_response.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::http::http_status_code_from_response.
§Examples
ⓘ
let _result = pharos_runtime_core::http::http_status_code_from_response(todo!());§Related
crate::httpfor adjacent helpers that share the same runtime surface.