taxum
    Preparing search index...

    Type Alias HandlerFn

    HandlerFn: (req: HttpRequest) => Promise<HttpResponseLike> | HttpResponseLike

    Represents a function that handles an HTTP request and returns an HTTP response.

    The response can either be a promise that resolves to an HTTP-like response object or a direct HTTP-like response object.

    Type declaration