Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "core/src/httpClient/basicHttpClient"

Index

Type aliases

HttpCall

HttpCall: <ResponseType>(path: string, options?: HttpRequestOptions) => Promise<HttpResponse<ResponseType>>

Type declaration

HttpQueryParams

HttpQueryParams: object

HttpResponseType

HttpResponseType: "json" | "arraybuffer" | "text"

ResponseHandler

ResponseHandler<ResponseType>: (res: Response) => Promise<ResponseType>

Type parameters

  • ResponseType

Type declaration

    • (res: Response): Promise<ResponseType>
    • Parameters

      • res: Response

      Returns Promise<ResponseType>

Functions

headersWithDefaultField

lowercaseHeadersKeys

Object literals

Const HttpResponseType

HttpResponseType: object

ArrayBuffer

ArrayBuffer: HttpResponseType = 'arraybuffer' as HttpResponseType

Json

Json: HttpResponseType = 'json' as HttpResponseType

Text

Text: HttpResponseType = 'text' as HttpResponseType