Expand description
Local server used to communicate with the peer core. Handles external client connections (HTTP/WebSocket).
This module acts as the bridge between external clients and the Freenet node’s core logic.
It parses ClientRequests, sends them to the main node event loop (node::Node) via an
internal channel, and forwards HostResponses back to the clients.
See ../architecture.md for its place in the overall architecture.
Modules§
Structs§
- Attested
Contract - Represents an attested contract entry with metadata for token expiration.
- WebApp
Functions§
- serve_
gateway - serve_
gateway_ for_ test - Serves the gateway and returns the concrete types (for integration testing). This allows tests to access internal state like the attested_contracts map.
Type Aliases§
- Attested
Contract Map - Maps authentication tokens to attested contract metadata.