Class APIAbstract

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

#request: {
    (options: string | RequestOptions | URL, callback?: ((res: IncomingMessage) => void)): ClientRequest;
    (url: string | URL, options: RequestOptions, callback?: ((res: IncomingMessage) => void)): ClientRequest;
} | {
    (options: string | RequestOptions | URL, callback?: ((res: IncomingMessage) => void)): http.ClientRequest;
    (url: string | URL, options: RequestOptions, callback?: ((res: IncomingMessage) => void)): http.ClientRequest;
}
config: ConfigI
prefix: string

Methods

  • Protected

    Type Parameters

    • Response = unknown

    Parameters

    • Optional url: string

    Returns Promise<Response>

  • Protected

    =

    Type Parameters

    • Response = unknown

    Parameters

    • Optional url: string

    Returns Promise<Response>

  • Protected

    Type Parameters

    • Response = unknown

    Parameters

    • params: ParamsT
    • Optional url: string

    Returns Promise<Response>

  • Protected

    Type Parameters

    • Response = unknown

    Parameters

    • data: BodyT
    • Optional url: string

    Returns Promise<Response>

  • Protected

    Type Parameters

    • Response = unknown

    Parameters

    • data: BodyT
    • Optional url: string

    Returns Promise<Response>

  • Protected

    Type Parameters

    • Response = unknown

    Parameters

    Returns Promise<Response>

  • Protected

    Parameters

    • url: string

    Returns string

Generated using TypeDoc