Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ApiSettings

Settings for API used in composeApi

Hierarchy

  • ApiSettings

Index

Constructors

Properties

Constructors

constructor

  • new ApiSettings(nodeHost: string, apiVersion?: ApiVersion, httpOptions?: any | AxiosRequestConfig): ApiSettings
  • Parameters

    • nodeHost: string

      The url of the Burst peer

    • Default value apiVersion: ApiVersion = ApiVersion.V1

      For future usage.

    • Optional httpOptions: any | AxiosRequestConfig

      Optional http options, like additional header. The default implementation uses axios. In case of a custom client pass your own options. see Axios Configuration

    Returns ApiSettings

Properties

apiVersion

apiVersion: ApiVersion

For future usage.

Optional httpOptions

httpOptions: any | AxiosRequestConfig

Optional http options, like additional header. The default implementation uses axios. In case of a custom client pass your own options. see Axios Configuration

nodeHost

nodeHost: string

The url of the Burst peer

Generated using TypeDoc