Single-threaded HTTP/1.1 server lifted from the Luhmann web server and generalised: THttpRequest/THttpResponse/IRequestHandler/THttpServer plus ParseRequest/UrlDecode. WebSocket upgrades are handled via Net.WebSockets and Broadcast(payload) pushes a text frame to every connected socket (the reload-specific BroadcastReload became a generic Broadcast). Built on Net.Sockets. Private split helpers are prefixed to avoid colliding with a consumer's same-named functions. Tests cover parsing, URL decoding, a loopback request round-trip, and a WebSocket upgrade + broadcast (43 tests total). |
||
|---|---|---|
| .. | ||
| src | ||
| project.xml | ||