> # EWSLite Web Server API

> The EWSLite library (located in the target/mcoewslite directory) is a compact embedded HTTP server written in C. It is designed for building RESTful APIs in resource-constrained environments and provides basic support for HTTP methods, request routing, JSON response generation, and WebSocket communication. Configuration is performed at compile time through macro definitions, which allows functionality to be precisely tailored to the needs of a specific application while keeping overhead minimal.

> Within eXtremeDB/rt, EWSLite is used to implement the monitoring module, located in the target/mcorestrt directory. This module exposes internal database runtime statistics through a REST API, enabling applications to query metrics such as memory usage, transaction activity, I/O operation counts, and other performance indicators. Responses are generated in structured JSON format, making them easy to consume by external monitoring tools, dashboards, or custom applications. By relying on EWSLite, the monitoring module delivers real-time visibility into database operations with minimal overhead, while remaining fully portable across platforms supported by eXtremeDB/rt.