taxum
    Preparing search index...

    Type Alias ServiceFn

    ServiceFn: (
        request: HttpRequest,
    ) => Promise<ReadonlyHttpResponse> | ReadonlyHttpResponse

    Represents a service function used to handle HTTP requests and generate corresponding HTTP responses.

    The function receives an HttpRequest object as input, processes it as needed, and returns either a promise that resolves to a ReadonlyHttpResponse or a direct ReadonlyHttpResponse object.

    Type declaration