ARRequestClient is a helper class to:

  • authenticate to Axioroute API
  • send requests to Axioroute API
  • listen to request status via subscriptions (with polling under the hood)

Constructors

Properties

_authToken: undefined | string
_expires_at: undefined | number
_handlers: {
    [status: string]: ARRequestHandler[];
}

Type declaration

_pending_token_response: undefined | boolean
_refreshToken: undefined | string
_refresh_expires_at: undefined | number
_requests: {
    [requestId: string]: ARRequest;
}

Type declaration

_apiBaseUrl: undefined | string
_apiEnv: string = DEFAULT_API_ENV
_apiKey: undefined | string
_authUrl: undefined | string
_instance: ARRequestClient

Methods

Generated using TypeDoc