handy_httpd.components.worker

This module contains the logic for each server worker, which involves parsing and handling incoming requests.

Members

Functions

handleClient
void handleClient(HttpServer server, Socket socket, ubyte[] receiveBuffer, MsgParser!Msg requestParser, Logger logger)

The main logical function that's called when a new client socket is accepted which receives the request, handles it, and then closes the socket and frees any allocated resources.