HttpRequestHandler.handle

Handles an HTTP request. Note that this method may be called from multiple threads, as requests may be processed in parallel, so you should avoid performing actions which are not thread-safe.

The context ctx is passed as a ref because the context ultimately belongs to the worker that's handling the request.

interface HttpRequestHandler
void
handle

Parameters

ctx HttpRequestContext

The request context.