Guide Introduction
This guide covers how to:
Section titled “This guide covers how to:”- Connect to the WebSocket endpoint.
- Send a request using Protobuf encoding.
- Decode and process responses.
- Handle different leg types in results (transit, non‑transit, waiting, flexible).
- Render meaningful summaries for users.
You’ll use the protobufjs and ws npm packages throughout.
Install them with:
npm install ws protobufjs