rest-vir - v1.0.0
    Preparing search index...

    Type Alias GenericEndpointImplementationParams

    Generic parameters for EndpointImplementation that should be compatible with any endpoint implementation.

    type GenericEndpointImplementationParams = {
        context: any;
        endpoint: any;
        log: Readonly<ServiceLogger>;
        method: any;
        pathParams: Readonly<Record<string, string>>;
        request: ServerRequest;
        requestData: any;
        requestHeaders: IncomingHttpHeaders;
        response: ServerResponse;
        searchParams: BaseSearchParams;
        server: RunningServerInfo;
        service: MinimalService<any>;
    }
    Index

    Properties

    context: any
    endpoint: any
    log: Readonly<ServiceLogger>
    method: any
    pathParams: Readonly<Record<string, string>>
    request: ServerRequest
    requestData: any
    requestHeaders: IncomingHttpHeaders
    response: ServerResponse
    searchParams: BaseSearchParams

    The actual running server info.

    service: MinimalService<any>