Skip to main content

Module manager

Module manager 

Source
Expand description

Network Manager - Single Source of Truth for Network Configuration

This module consolidates ALL network-related configuration and creation logic. It is the ONLY place in the codebase that:

  • Reads environment variables for network configuration
  • Knows about transport-specific types (SharedHttpServer, TcpRequestClient, etc.)
  • Performs mode selection based on RequestPlaneMode
  • Creates servers and clients

The rest of the codebase works exclusively with trait objects and never directly accesses transport implementations or configuration.

Structs§

NetworkManager
Network Manager - Central coordinator for all network resources

Functions§

get_actual_tcp_rpc_port
Get the actual TCP RPC port that the server is listening on.