Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RequestClient

Index

Constructors

constructor

Properties

Private accessToken

accessToken: string

Private accountId

accountId: string

Private concurrency

concurrency: number

Private queue

queue: AsyncQueue<RequestTask>

Private request

request: function

Type declaration

    • (options: any): Promise<object>
    • Parameters

      • options: any

      Returns Promise<object>

Private timeout

timeout: Timer

Methods

preprocess

  • preprocess(body: any, response: object): object
  • Parameters

    • body: any
    • response: object
      • headers: any

    Returns object

    • data: any
    • headers: any

push

requestGenerator

  • requestGenerator(): (Anonymous function)

retryAfter

  • retryAfter(task: RequestTask, retryAfter: number, done: Function): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc