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§
- Heartbeat
- Wrapper for a muxado TypedSession that adds heartbeating over a dedicated typed stream.
- Heartbeat
Config - The heartbeat task configuration.
- Heartbeat
Ctl - Controller for the heartbeat task.
Traits§
- Heartbeat
Handler - A handler called on every heartbeat with the latency for that beat.