Skip to main content

Module net

Module net 

Source
Expand description

Network configuration and policy boundary.

All network-facing code must enter through this module or its children. This boundary owns event-driven HTTP client and server construction, listener/socket setup, proxy and TLS policy, request and shutdown timeouts, and QoS admission. Higher layers supply routers, payloads, and domain handlers; they should not open sockets, build HTTP clients, or run protocol loops outside net.

Modules§

http
HTTP client and server runtime owned by the network boundary.
qos
QoS admission policy for inbound and outbound network work.

Structs§

NetworkConfig
Resolved network policy shared by HTTP clients and servers.
NetworkRuntime
Refreshable network configuration shared by network adapters.

Enums§

NetworkConfigError
Network configuration error grouped by owning submodule.