Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ETag

Index

Constructors

constructor

Properties

Protected axios

axios: AxiosInstance

cache

cache: ETagCache

Protected enabled

enabled: boolean = false

Protected request

request: number = null

Protected response

response: number = null

Methods

disableEtag

  • disableEtag(): void

enableEtag

  • enableEtag(): void

Protected getCacheByAxiosConfig

  • getCacheByAxiosConfig(config: AxiosRequestConfig<any>): ETagCacheValue

Protected getRequestInterceptor

  • getRequestInterceptor(): (config: AxiosRequestConfig<any>) => AxiosRequestConfig<any>

Protected getResponseErrorInterceptor

  • getResponseErrorInterceptor(): (error: AxiosError<any, any>) => Promise<AxiosResponse<any, any>>

Protected getResponseInterceptor

  • getResponseInterceptor(): (response: AxiosResponse<any, any>) => AxiosResponse<any, any>

isEnabled

  • isEnabled(): boolean