Class User

See

https://docs.kutt.it/#tag/users

Example

const users = new User(config);

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: "/users" = "/users"

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

    Parameters

    • url: string

    Returns string

Generated using TypeDoc