ores.http.server

Table of Contents

Diagram

ores.http.server component diagram

Figure 1: ores.http.server

Summary

ores.http.server is the HTTP server process entrypoint for ORE Studio. It reads configuration, opens NATS connections for domain service calls, registers all route handlers from ores.http.core, and starts the Boost.Asio event loop to serve HTTP requests. It is the process external REST clients connect to.

Inputs

  • Configuration file: bind address, port, JWT public key, NATS server URL.
  • Incoming TCP connections from external HTTP clients.

Outputs

  • A running HTTP/1.1 server on the configured address/port.
  • HTTP responses forwarded from NATS domain services via ores.http.core routes.

Entry points

  • src/main.cpp — process entry point.
  • src/app/ — bootstrap and route wiring.
  • src/config/ — configuration parsing.

Dependencies

  • ores.http.core — all route implementations.
  • ores.http.api — server infrastructure (Boost.Beast/Asio).
  • ores.logging, nats.c.

See also

Emacs 29.3 (Org mode 9.6.15)