Skip to main content

probe_status

Function probe_status 

Source
pub fn probe_status(
    port: u16,
    method: &str,
    path: &str,
    timeout: Duration,
) -> Option<u16>
Expand description

The status code alone, for a caller that only wants to know whether a service is up and answering. None and 0 mean what they mean in probe.