handleHTTPConnection

Treats an existing connection as an HTTP connection and processes incoming requests.

After all requests have been processed, the connection will be closed and the function returns to the caller.

@safe
void
handleHTTPConnection

Parameters

connection TCPConnection

The stream to treat as an incoming HTTP client connection.

context HTTPServerContext

Information about the incoming listener and available virtual hosts

Meta