Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • <internal>

Index

Constructors

Methods

  • addMiddleware<T>(onFulfilled: ((response: AxiosResponse<T>) => any), onRejected: ((error: AxiosError<T>) => any)): void
  • setBaseUrl(url: string): void
  • Parameters

    • url: string

    Returns void

  • setHeaders(headers: Headers): void
  • Parameters

    Returns void

  • setTimeout(timeout: number): void
  • Parameters

    • timeout: number

    Returns void

  • setToken(token: string, prefix?: "Bearer" | "Identity"): void
  • Parameters

    • token: string
    • Optional prefix: "Bearer" | "Identity"

    Returns void

Generated using TypeDoc