Class Discovery

Hierarchy

  • Discovery

Constructors

Properties

accessTokenFn?: (() => undefined | string)

Type declaration

    • (): undefined | string
    • Returns undefined | string

baseURL?: string
headers: Headers = {}

Methods

  • Parameters

    • a: KV
    • extra: AxiosRequestConfig<any> = {}

    Returns Promise<KV>

  • Parameters

    • a: KV
    • extra: AxiosRequestConfig<any> = {}

    Returns {
        cancel: (() => void);
        response: (() => Promise<KV>);
    }

    • cancel: (() => void)
        • (): void
        • Returns void

    • response: (() => Promise<KV>)
        • (): Promise<KV>
        • Returns Promise<KV>

  • Parameters

    • fn: (() => undefined | string)
        • (): undefined | string
        • Returns undefined | string

    Returns Discovery