Expand description
HTTP transport and credential storage for the Cognitum Seed adapter.
The per-Seed bearer token lives in the operator secret store
(SeedCredentials, persisted by super::seed_creds::FileCredentials);
it is only ever placed in an Authorization header and never appears
in errors, logs or chain payloads.
Structs§
- Http
Seed Transport - reqwest-backed transport.
Enums§
- Method
- HTTP method subset the Seed API uses.
Constants§
- MAX_
RESPONSE_ BYTES - Largest response body accepted from a Seed.
Traits§
- Seed
Credentials - Where per-Seed tokens live.
- Seed
Transport - Sends requests to one Seed.
Functions§
- validate_
base_ url - Validate a Seed base URL:
http(s)://host[:port], nothing else. - validate_
path - Validate an API path:
/api/v1/...with safe characters only.