Skip to main content

ParseEndpoint

Function ParseEndpoint 

Source
fn ParseEndpoint(Endpoint: &str) -> (String, String)
Expand description

Split http://host:port/path into (host:port, /path). Defaults the path to /v1/traces when the endpoint has none. Returns owned Strings so the spawned thread does not borrow the build-time &'static str.