Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IHttpProvider

Hierarchy

Index

Properties

$get

$get: any

defaults

interceptors

interceptors: (string | Injectable<IHttpInterceptorFactory>)[]

Register service factories (names or implementations) for interceptors which are called before and after each request.

xsrfTrustedOrigins

xsrfTrustedOrigins: string[]

Array containing URLs whose origins are trusted to receive the XSRF token.

xsrfWhitelistedOrigins

xsrfWhitelistedOrigins: string[]
deprecated

The old name of xsrfTrustedOrigins. Kept for compatibility.

Methods

useApplyAsync

  • useApplyAsync(): boolean
  • useApplyAsync(value: boolean): IHttpProvider
  • Returns boolean

  • Parameters

    • value: boolean

    Returns IHttpProvider

Generated using TypeDoc