Expand description
Digest-authenticating HTTP client for a camera’s own CGI interface.
Every management protocol in this workspace — CGI control, the Dahua event
attach stream, ONVIF SOAP, snapshots, storage queries — reaches the camera
through CameraHttpClient. It exists as its own crate so that
dahua-camera-events, -control, -onvif, -record and -discovery can
share one connection pool and one Digest implementation without depending
on each other.
§Credentials
CameraHttpClient holds a password, so it implements std::fmt::Debug
by hand and prints the password as <redacted>. URLs are stripped of any
embedded userinfo before they reach a log line or an error message.
§Features
tls— allowhttps://management URLs. Off by default.
Re-exports§
pub use client::CameraHttpClient;
Modules§
- client
- HTTP client for the cameras’ own CGI interfaces.