Interface IApiHandler

A base type for an API handler.

interface IApiHandler {
    getApiClient: AxiosClientProvider;
    request: IncomingMessage;
    response: ServerResponse<IncomingMessage>;
    apiResponse(): ApiResponseBuilder;
}

Properties

getApiClient: AxiosClientProvider

The function, that returns the read-to-use and authorized API client.

request: IncomingMessage

The request context.

response: ServerResponse<IncomingMessage>

The response context.

Methods

Generated using TypeDoc