Options
All
  • Public
  • Public/Protected
  • All
Menu

The Http Client used to make requests

Hierarchy

  • IHttpClient

Implemented by

Index

Properties

Methods

Properties

filters

filters: IHttpFilter[]

filters to apply to the request/response

Methods

createRequest

getObjectAsync

  • getObjectAsync<T>(uri: StringOrUrl): Promise<T>
  • Creates anew request, executes it and then treats the response as JSON and returnt the resulting object

    throws

    RequestCancelledException when the request is cancelled

    throws

    ServiceException if the response is cancelled or if there was a status code in the error range

    Type parameters

    • T

    Parameters

    • uri: StringOrUrl

    Returns Promise<T>

Generated using TypeDoc