Class HttpClient<SecurityDataType>

Type Parameters

  • SecurityDataType = unknown

Hierarchy

  • HttpClient

Constructors

  • Type Parameters

    • SecurityDataType = unknown

    Parameters

    Returns HttpClient<SecurityDataType>

Properties

abortControllers: Map<CancelToken, AbortController> = ...
baseApiParams: RequestParams = ...
baseUrl: string = 'http://localhost:7171/api'
contentFormatters: Record<ContentType, ((input: any) => any)> = ...
securityData: null | SecurityDataType = null
securityWorker?: ((securityData: null | SecurityDataType) => void | RequestParams | Promise<void | RequestParams>)

Type declaration

Methods

  • Parameters

    • cancelToken: CancelToken

    Returns void

  • Parameters

    Returns any

  • Parameters

    Returns string

  • Parameters

    Returns string

  • Parameters

    • cancelToken: CancelToken

    Returns undefined | AbortSignal

  • Parameters

    • Rest ...fetchParams: [input: RequestInfo | URL, init?: RequestInit]

    Returns Promise<Response>

  • Parameters

    • key: string
    • value: any

    Returns string

  • Parameters

    • data: null | SecurityDataType

    Returns void

  • Parameters

    Returns string

Generated using TypeDoc