HttpRequestListener typedef

HttpRequestListener = void Function(IncomingMessage request, ServerResponse response)

Listener on HTTP requests of HttpServer.

See also:

Implementation

typedef HttpRequestListener = void Function(
    IncomingMessage request, ServerResponse response);