ringline-ping
ringline-native Ping client.
A simple PING/PONG protocol client built on ringline::ConnCtx
for use inside the ringline async runtime. Useful for connection health checks
and latency measurement.
Quick Start
use ConnCtx;
use Client;
async
Features
- Single command:
pingsendsPING\r\nand waits forPONG\r\n - Connection pooling: round-robin pool with lazy reconnection
- Instrumentation: optional per-command callbacks and built-in histogram metrics
Copy Semantics
| Path | Copies | Mechanism |
|---|---|---|
| Recv | 0 | with_data() pattern-matches PONG\r\n -- no value extraction. |
| Send | 1 | 6-byte PING\r\n copied into the send pool. |