Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axios/axios
/ functions
Functions
338 in github.com/axios/axios
⨍
Functions
338
◇
Types & classes
68
↓ 34 callers
Method
forEach
* Iterate over all the registered interceptors * * This method is particularly useful for skipping over any * interceptors that may have beco
lib/core/InterceptorManager.js:62
↓ 33 callers
Method
get
(header, parser)
lib/core/AxiosHeaders.js:122
↓ 27 callers
Method
create
(config?: CreateAxiosDefaults)
index.d.ts:517
↓ 25 callers
Method
from
(thing)
lib/core/AxiosHeaders.js:264
↓ 17 callers
Function
done
()
lib/adapters/xhr.js:24
↓ 15 callers
Method
toString
()
lib/core/AxiosHeaders.js:252
↓ 14 callers
Function
getAjaxRequest
()
test/specs/__helpers.js:15
↓ 11 callers
Function
lib$es6$promise$$internal$$reject
(promise,reason)
test/manual/promise.js:9
↓ 10 callers
Method
toJSON
(asStrings)
lib/core/AxiosHeaders.js:238
↓ 8 callers
Method
concat
(...targets)
lib/core/AxiosHeaders.js:234
↓ 8 callers
Method
set
(header, valueOrRewrite, rewrite)
lib/core/AxiosHeaders.js:79
↓ 7 callers
Method
abort
(err)
lib/cancel/CancelToken.js:108
↓ 7 callers
Method
append
(name: string, value: any, options?: any)
index.d.ts:526
↓ 7 callers
Function
colorize
(...colors)
bin/helpers/colorize.js:3
↓ 7 callers
Function
lib$es6$promise$$internal$$fulfill
(promise,value)
test/manual/promise.js:9
↓ 7 callers
Function
mergeConfig
(config1, config2)
lib/core/mergeConfig.js:17
↓ 7 callers
Method
use
* Add a new interceptor to the stack * * @param {Function} fulfilled The function to handle `then` for a `Promise` * @param {Function} reject
lib/core/InterceptorManager.js:18
↓ 6 callers
Method
delete
(header, matcher)
lib/core/AxiosHeaders.js:164
↓ 6 callers
Function
lib$es6$promise$$internal$$resolve
(promise,value)
test/manual/promise.js:9
↓ 6 callers
Method
request
* Dispatch a request * * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) * @param {?Objec
lib/core/Axios.js:38
↓ 6 callers
Method
unsubscribe
* Unsubscribe from the cancel signal
lib/cancel/CancelToken.js:95
↓ 5 callers
Method
encode
()
lib/helpers/formDataToStream.js:40
↓ 5 callers
Function
forEach
* Iterate over an Array or an Object invoking a function for each item. * * If `obj` is an Array callback will be called passing * the value, index
lib/utils.js:240
↓ 5 callers
Function
lib$es6$promise$asap$$asap
(callback,arg)
test/manual/promise.js:9
↓ 5 callers
Method
normalize
(format)
lib/core/AxiosHeaders.js:207
↓ 5 callers
Function
normalizeHeader
(header)
lib/core/AxiosHeaders.js:8
↓ 5 callers
Method
setHeader
(_value, _header, _rewrite)
lib/core/AxiosHeaders.js:82
↓ 5 callers
Method
source
()
index.d.ts:463
↓ 5 callers
Function
toFormData
* It converts an object into a FormData object * * @param {Object<any, any>} obj - The object to convert to form data. * @param {string} formData -
lib/helpers/toFormData.js:86
↓ 4 callers
Function
buildFullPath
(baseURL, requestedURL, allowAbsoluteUrls)
lib/core/buildFullPath.js:16
↓ 4 callers
Function
buildURL
(url, params, options)
lib/helpers/buildURL.js:33
↓ 4 callers
Method
clear
()
index.d.ts:489
↓ 4 callers
Function
getMergedValue
(target, source, prop, caseless)
lib/core/mergeConfig.js:22
↓ 4 callers
Method
has
(header, matcher)
lib/core/AxiosHeaders.js:152
↓ 4 callers
Function
setTimeoutAsync
(ms)
test/unit/adapters/http.js:36
↓ 4 callers
Function
settle
(resolve, reject, response)
lib/core/settle.js:14
↓ 4 callers
Method
subscribe
* Subscribe to the cancel signal
lib/cancel/CancelToken.js:78
↓ 3 callers
Function
bind
(fn, thisArg)
lib/helpers/bind.js:3
↓ 3 callers
Method
eject
(id: number)
index.d.ts:488
↓ 3 callers
Function
formDataToJSON
* It takes a FormData object and returns a JavaScript object * * @param {string} formData The FormData object to convert to JSON. * * @returns {Ob
lib/helpers/formDataToJSON.js:49
↓ 3 callers
Function
isCancel
(value)
lib/cancel/isCancel.js:3
↓ 3 callers
Function
isObject
(thing)
lib/utils.js:113
↓ 3 callers
Function
lib$es6$promise$$internal$$subscribe
(parent,child,onFulfillment,onRejection)
test/manual/promise.js:9
↓ 3 callers
Function
lib$es6$promise$utils$$isFunction
(x)
test/manual/promise.js:9
↓ 3 callers
Function
matchHeaderValue
(context, value, header, filter, isHeaderNameFilter)
lib/core/AxiosHeaders.js:34
↓ 3 callers
Function
merge
* Accepts varargs expecting each argument to be an object, then * immutably merges the properties of each object and returns result. * * When multi
lib/utils.js:313
↓ 3 callers
Function
parseProtocol
(url)
lib/helpers/parseProtocol.js:3
↓ 3 callers
Function
progressEventReducer
(listener, isDownloadStream, freq = 3)
lib/helpers/progressEventReducer.js:5
↓ 3 callers
Function
setTimeoutAsync
(ms)
test/helpers/server.js:11
↓ 2 callers
Function
_onFinish
(e)
lib/helpers/trackStream.js:51
↓ 2 callers
Method
accessor
(header)
lib/core/AxiosHeaders.js:276
↓ 2 callers
Function
asyncDecorator
(fn)
lib/helpers/progressEventReducer.js:44
↓ 2 callers
Function
cleanTemplate
bin/contributors.js:14
↓ 2 callers
Function
combineURLs
(baseURL, relativeURL)
lib/helpers/combineURLs.js:11
↓ 2 callers
Function
composeSignals
(signals, timeout)
lib/helpers/composeSignals.js:5
↓ 2 callers
Function
define
(arr)
lib/utils.js:589
↓ 2 callers
Function
done
(value, isRejected)
lib/adapters/http.js:136
↓ 2 callers
Function
fromDataURI
(uri, asBlob, options)
lib/helpers/fromDataURI.js:19
↓ 2 callers
Method
getUri
(config)
lib/core/Axios.js:202
↓ 2 callers
Function
invoke
(args, now = Date.now())
lib/helpers/throttle.js:13
↓ 2 callers
Function
isAbsoluteURL
(url)
lib/helpers/isAbsoluteURL.js:10
↓ 2 callers
Function
isAxiosError
(payload)
lib/helpers/isAxiosError.js:12
↓ 2 callers
Function
kindOfTest
(type)
lib/utils.js:16
↓ 2 callers
Function
lib$es6$promise$$internal$$invokeCallback
(settled,promise,callback,detail)
test/manual/promise.js:9
↓ 2 callers
Function
lib$es6$promise$asap$$useSetTimeout
()
test/manual/promise.js:9
↓ 2 callers
Function
normalizeTag
(tag)
bin/RepoBot.js:14
↓ 2 callers
Function
normalizeValue
(value)
lib/core/AxiosHeaders.js:12
↓ 2 callers
Function
progressEventDecorator
(total, throttled)
lib/helpers/progressEventReducer.js:34
↓ 2 callers
Function
removeBrackets
* It removes the brackets from the end of a string * * @param {string} key - The key of the parameter. * * @returns {string} the key without the b
lib/helpers/toFormData.js:26
↓ 2 callers
Function
removeExtraLineBreaks
(str)
bin/contributors.js:12
↓ 2 callers
Function
sendResponse
(res, statusCode, body)
examples/server.js:55
↓ 2 callers
Function
spawn
(command, args)
test/module/test.js:17
↓ 2 callers
Function
spread
(callback)
lib/helpers/spread.js:24
↓ 2 callers
Function
startHTTPServer
(handlerOrOptions, options)
test/unit/adapters/http.js:65
↓ 2 callers
Function
stopHTTPServer
(server, timeout = 10000)
test/unit/adapters/http.js:106
↓ 2 callers
Function
test
(fn, ...args)
lib/adapters/fetch.js:20
↓ 2 callers
Method
throwIfRequested
()
index.d.ts:469
↓ 2 callers
Function
unsubscribe
()
lib/helpers/composeSignals.js:27
↓ 2 callers
Method
updateIssue
(issue, data)
bin/GithubAPI.js:74
↓ 1 callers
Method
__transform
(chunk, encoding, callback)
lib/helpers/ZlibHeaderTransformStream.js:6
↓ 1 callers
Method
_request
(configOrUrl, config)
lib/core/Axios.js:65
↓ 1 callers
Function
abort
(reason)
lib/adapters/http.js:217
↓ 1 callers
Function
adapter
()
test/unit/adapters/adapters.js:17
↓ 1 callers
Method
addComment
(targetId, message)
bin/RepoBot.js:37
↓ 1 callers
Method
appendLabels
(issue, labels)
bin/GithubAPI.js:42
↓ 1 callers
Function
arrayToObject
* Convert an array to an object. * * @param {Array<any>} arr - The array to convert to an object. * * @returns An object with the same keys and va
lib/helpers/formDataToJSON.js:29
↓ 1 callers
Function
assign
(a, b)
bin/contributors.js:73
↓ 1 callers
Function
attemptGettingAjaxRequest
(resolve, reject)
test/specs/__helpers.js:22
↓ 1 callers
Function
build
({minified})
rollup.config.js:25
↓ 1 callers
Function
build
(value, path)
lib/helpers/toFormData.js:188
↓ 1 callers
Function
buildAccessors
(obj, header)
lib/core/AxiosHeaders.js:61
↓ 1 callers
Function
buildAddressEntry
(address, family)
lib/adapters/http.js:166
↓ 1 callers
Function
buildConfig
({es5, browser = true, minifiedVersion = true, alias, ...config})
rollup.config.js:17
↓ 1 callers
Function
buildPath
(path, value, target, index)
lib/helpers/formDataToJSON.js:50
↓ 1 callers
Function
callbackify
(fn, reducer)
lib/helpers/callbackify.js:3
↓ 1 callers
Function
cancel
(reason)
lib/helpers/trackStream.js:80
↓ 1 callers
Function
convertValue
(value)
lib/helpers/toFormData.js:116
↓ 1 callers
Method
createComment
(issue, body)
bin/GithubAPI.js:26
↓ 1 callers
Function
createCustomLauncher
(browser, version, platform)
karma.conf.cjs:12
↓ 1 callers
Function
createInstance
* Create an instance of Axios * * @param {Object} defaultConfig The default config for the instance * * @returns {Axios} A new instance of Axios
lib/axios.js:28
next →
1–100 of 338, ranked by callers