Skip to main content

fetch

Function fetch 

Source
pub fn fetch(http_base: &str, trust: &Trust) -> Result<ServerInfo, ClientError>
Expand description

Asks the server what it is.

No token: the same “server-wide, not the vessel’s own” reasoning crate::units::fetch_active’s own doc gives, and confirmed the same way – this answers without one on a server with security on.

§Errors

If the server cannot be reached, or its root does not carry a server.id and server.version the way every Signal K server this crate has met does.