Abstract Protected constructorPrivate #clientAxios client cache
Abstract baseURLProtected counterAbstract methodDefault timeout limit
Abstract urlStatic Private #histogramStatic Protected cacheStatic Protected mockStatic Protected mocksAxios instance cache
Protected configProtected histogramStatic defaultsSet defaults
Static optionsStubs options cache
Static Protected stubsStubs instance cache
Protected afterAfter hook
Protected beforeOptional params: IAxiosFetchOptionsBefore hook
Protected catchCatch hook
Protected fetchOptional options: IAxiosFetchOptionsFetch method
Protected finallyOptional params: IAxiosFetchOptionsFinally hook
Protected fullOptional params: IAxiosFetchOptionsGet full url = baseURL + url
Protected getProtected logProtected needOptional span: SpanCheck need to trace
Protected stringifyStatic Protected _fetchOptional options: IAxiosFetchOptionsProtected fetch static method
Static Protected checkStatic fetchOptional options: anyFetch static method
Static Protected getOptional options: IAxiosFetchOptionsGet mock static method
Static Protected getStatic Protected instanceStatic Protected mockStatic Protected mockStatic Protected setOptional options: IAxiosFetchOptionsSet mock static method
Static stubStub static method
Static unstubStatic use
Description
Axios-prometheus HTTP interface
Features:
Example