Expand description
HikVision ISAPI implementation of CameraConfigProvider.
ISAPI is a plain HTTP(S) request/response API whose bodies are XML in the
http://www.hikvision.com/ver20/XMLSchema namespace. Authentication is HTTP Digest (RFC 2617):
every request is sent once unauthenticated, and on the 401 challenge an Authorization: Digest
header is built with super::digest::digest_auth_header and the request is retried once
(HikVisionIsapiClient::isapi_request_raw).
All XML is parsed by substring extraction (the kernel’s offline-build constraint forbids an XML
crate); the helpers below mirror services/onvif.rs. Writes are read-modify-write: GET the
current element, splice in the changed sub-fields, and PUT the result back so device-managed
fields (ids, namespaces, untouched sub-elements) are preserved verbatim.
Structs§
- HikVision
Isapi Client - A HikVision camera reached over ISAPI with HTTP Digest authentication.