Expand description
Heartbeating TypedSession wrapper.
This can be used to wrap a TypedSession to provide heartbeating functionality. The wrapper will start a background task to send heartbeats to the remote via a dedicated heartbeat stream. It will also accept incoming heartbeat streams and start a task to reply to them.
Structs
- Wrapper for a muxado TypedSession that adds heartbeating over a dedicated typed stream.
- The heartbeat task configuration.
- Controller for the heartbeat task.
Traits
- A handler called on every heartbeat with the latency for that beat.