Skip to main content

Module server_info

Module server_info 

Source
Expand description

Fetching the server’s own identity off the wire.

GET /signalk – the root Signal K itself sits on, before any API version – answers with the server implementation’s own id and version, nothing about a boat: confirmed against a real server, {"server": {"id":"signalk-server-node","version":"2.31.1"}, "endpoints": {...}}. This is the one figure that says which server, not which vessel, a client has found – two installations serving the same boat’s data (one built into an onboard device, and a shore-side test instance) are otherwise indistinguishable from the outside.

Structs§

ServerInfo
What a Signal K server says about itself at its own root.

Functions§

fetch
Asks the server what it is.