Skip to main content

parse_http_url_logic_local

Function parse_http_url_logic_local 

Source
pub fn parse_http_url_logic_local(
    url: &str,
) -> Option<(String, String, Option<u16>)>
Expand description

Parses and validates an HTTP URL into scheme, host, and optional port.

§Parameters

§Returns

Returns Some when crate::runtime::dynamic::parse_http_url_logic_local 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::runtime::dynamic::parse_http_url_logic_local.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::parse_http_url_logic_local(todo!(), todo!(), todo!());