kind | name | declaration | module | package |
---|---|---|---|---|
js | ajax | ajax | ./src/ajax.js | |
js | setAjax | setAjax | ./src/ajax.js | |
js | AjaxClass | AjaxClass | ./src/AjaxClass.js | |
js | cancelInterceptorFactory | cancelInterceptorFactory | ./src/interceptors.js | |
js | cancelPreviousOnNewRequestInterceptorFactory | cancelPreviousOnNewRequestInterceptorFactory | ./src/interceptors.js | |
js | addAcceptLanguageHeaderInterceptorFactory | addAcceptLanguageHeaderInterceptorFactory | ./src/interceptors.js | |
js | jsonPrefixTransformerFactory | jsonPrefixTransformerFactory | ./src/transformers.js |
name | type | privacy | default | description | inheritedFrom |
---|---|---|---|---|---|
options | public |
name | privacy | description | parameters | return | inheritedFrom |
---|---|---|---|---|---|
request | public | Dispatches a request | url: string, config: {[key:string]: ?} | ? | |
cancel | public | msg: string | |||
get | public | Dispatches a {@link AxiosRequestConfig} with method 'get' predefined | url: string, config: {[key:string]: ?} | ? | |
delete | public | Dispatches a {@link AxiosRequestConfig} with method 'delete' predefined | url: string, config: {[key:string]: ?} | ? | |
head | public | Dispatches a {@link AxiosRequestConfig} with method 'head' predefined | url: string, config: {[key:string]: ?} | ? | |
post | public | Dispatches a {@link AxiosRequestConfig} with method 'post' predefined | url: string, data: Object, config: {[key:string]: ?} | ? | |
put | public | Dispatches a {@link AxiosRequestConfig} with method 'put' predefined | url: string, data: Object, config: {[key:string]: ?} | ? | |
patch | public | Dispatches a {@link AxiosRequestConfig} with method 'patch' predefined | url: string, data: Object, config: Object | ? | |
__setupInterceptors | public | ||||
__setupTransformers | public | config: {[key:string]: ?} |
kind | name | declaration | module | package |
---|---|---|---|---|
js | AjaxClass | AjaxClass | ./src/AjaxClass.js |
name | description | type |
---|---|---|
ajax |
name | description | parameters | return |
---|---|---|---|
setAjax | setAjax allows the Application Developer to override the globally used instance of {@link:ajax}. All interactions with {@link:ajax} after the call to setAjax will use this new instance (so make sure to call this method before dependant code using {@link:ajax} is ran and this method is not called by any of your (indirect) dependencies.) |
newAjax: AjaxClass |
kind | name | declaration | module | package |
---|---|---|---|---|
js | ajax | ajax | ./src/ajax.js | |
js | setAjax | setAjax | ./src/ajax.js |
name | description | parameters | return |
---|---|---|---|
addAcceptLanguageHeaderInterceptorFactory | lang: string | (config: {[key:string]: ?}) => {[key:string]: ?} | |
cancelInterceptorFactory | ajaxInstance: AjaxClass | (config: {[key:string]: ?}) => {[key:string]: ?} | |
cancelPreviousOnNewRequestInterceptorFactory | (config: {[key:string]: ?}) => {[key:string]: ?} |
kind | name | declaration | module | package |
---|---|---|---|---|
js | addAcceptLanguageHeaderInterceptorFactory | addAcceptLanguageHeaderInterceptorFactory | ./src/interceptors.js | |
js | cancelInterceptorFactory | cancelInterceptorFactory | ./src/interceptors.js | |
js | cancelPreviousOnNewRequestInterceptorFactory | cancelPreviousOnNewRequestInterceptorFactory | ./src/interceptors.js |
name | description | parameters | return |
---|---|---|---|
jsonPrefixTransformerFactory | prefix: string |
kind | name | declaration | module | package |
---|---|---|---|---|
js | jsonPrefixTransformerFactory | jsonPrefixTransformerFactory | ./src/transformers.js |