Expand description
HTTP-over-TCP management client. Mirrors crate::UnixMgmtClient
but talks to crate::http_server over hyper::client::conn::http1.
One TCP connection per call: the management API is verb-at-a-time and not chatty enough to amortize a connection pool. Each call opens a fresh TCP stream, runs the H1 handshake, sends a single POST, consumes either a one-shot JSON body or a chunked NDJSON stream, then drops the connection.
Structs§
- Http
Mgmt Client - Plaintext HTTP/1.1 mgmt client. Cheap to clone —
addrisCopy,tokenis reference-counted.