Expand description
IICP provider node — registration, heartbeats, and task serving.
Implements:
GET /iicp/health— liveness / capacity (always 200)GET /metrics— Prometheus text (503 ifmetricsfeature absent)POST /v1/task— task handler with concurrency gate (IICP-E021), nonce replay protection (IICP-E011), and W3C traceparent propagation.
Structs§
- Iicp
Node - IICP provider node — handles registration, heartbeats, and task serving.
- Node
Config - Configuration for an IICP provider node.
- Task
Request - Task
Response
Functions§
- derive_
native_ endpoint - #457 / ADR-040 — derive the native binary
transport_endpointfrom the HTTPendpoint. They share one host:port (serve() multiplexes both planes on one socket via first-byte detection), so the native URI is the same authority with theiicpscheme (iicpsecfor TLS). Authority only — any path on the HTTP endpoint is dropped. Returns None if the endpoint is not http(s).