Class NodeRequester

Class used to fire HTTP(S) requests.

Hierarchy

  • NodeRequester

Implements

Constructors

Properties

apiUrl: string
baseUrl: string
cookies: false | Cookies

Pass false to ignore cookies. Pass a CookieJar to use cookies.

oAuthAccessToken: undefined | string = undefined
headers: Record<string, string> = ...

Methods

  • Type Parameters

    • T

    Parameters

    • path: string
    • body: KeyValue<any> = {}
    • ignoreNonce: boolean = false

    Returns Promise<T>

Generated using TypeDoc