Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axios/axios
/ functions
Functions
302 in github.com/axios/axios
⨍
Functions
302
◇
Types & classes
68
↓ 31 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
↓ 28 callers
Method
get
(header, parser)
lib/core/AxiosHeaders.js:110
↓ 22 callers
Method
create
(config?: CreateAxiosDefaults)
index.d.ts:539
↓ 20 callers
Method
from
(thing)
lib/core/AxiosHeaders.js:248
↓ 17 callers
Function
done
()
lib/adapters/xhr.js:54
↓ 14 callers
Function
getAjaxRequest
()
test/specs/__helpers.js:15
↓ 13 callers
Method
toString
()
lib/core/AxiosHeaders.js:240
↓ 11 callers
Function
lib$es6$promise$$internal$$reject
(promise,reason)
test/manual/promise.js:9
↓ 10 callers
Method
toJSON
(asStrings)
lib/core/AxiosHeaders.js:226
↓ 8 callers
Method
concat
(...targets)
lib/core/AxiosHeaders.js:222
↓ 8 callers
Method
set
(header, valueOrRewrite, rewrite)
lib/core/AxiosHeaders.js:79
↓ 7 callers
Function
lib$es6$promise$$internal$$fulfill
(promise,value)
test/manual/promise.js:9
↓ 7 callers
Method
use
(onFulfilled?: ((value: V) => V | Promise<V>) | null, onRejected?: ((error: any) => any) | null, options?: Axi
index.d.ts:477
↓ 6 callers
Method
delete
(header, matcher)
lib/core/AxiosHeaders.js:152
↓ 6 callers
Function
lib$es6$promise$$internal$$resolve
(promise,value)
test/manual/promise.js:9
↓ 6 callers
Function
mergeConfig
(config1, config2)
lib/core/mergeConfig.js:17
↓ 5 callers
Method
append
(name: string, value: any, options?: any)
index.d.ts:515
↓ 5 callers
Function
colorize
(...colors)
bin/helpers/colorize.js:3
↓ 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:237
↓ 5 callers
Function
lib$es6$promise$asap$$asap
(callback,arg)
test/manual/promise.js:9
↓ 5 callers
Function
normalizeHeader
(header)
lib/core/AxiosHeaders.js:8
↓ 5 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
↓ 5 callers
Method
source
()
index.d.ts:457
↓ 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)
lib/core/buildFullPath.js:16
↓ 4 callers
Function
buildURL
(url, params, options)
lib/helpers/buildURL.js:33
↓ 4 callers
Method
clear
()
index.d.ts:479
↓ 4 callers
Function
getMergedValue
(target, source, caseless)
lib/core/mergeConfig.js:22
↓ 4 callers
Method
normalize
(format)
lib/core/AxiosHeaders.js:195
↓ 3 callers
Function
bind
(fn, thisArg)
lib/helpers/bind.js:3
↓ 3 callers
Method
eject
(id: number)
index.d.ts:478
↓ 3 callers
Method
encode
()
lib/helpers/formDataToStream.js:39
↓ 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
Method
has
(header, matcher)
lib/core/AxiosHeaders.js:140
↓ 3 callers
Function
isCancel
(value)
lib/cancel/isCancel.js:3
↓ 3 callers
Function
isObject
(thing)
lib/utils.js:112
↓ 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:310
↓ 3 callers
Function
parseProtocol
(url)
lib/helpers/parseProtocol.js:3
↓ 3 callers
Method
setHeader
(_value, _header, _rewrite)
lib/core/AxiosHeaders.js:82
↓ 3 callers
Function
setTimeoutAsync
(ms)
test/unit/adapters/http.js:35
↓ 3 callers
Function
settle
(resolve, reject, response)
lib/core/settle.js:14
↓ 3 callers
Method
subscribe
* Subscribe to the cancel signal
lib/cancel/CancelToken.js:78
↓ 3 callers
Method
unsubscribe
* Unsubscribe from the cancel signal
lib/cancel/CancelToken.js:95
↓ 2 callers
Method
accessor
(header)
lib/core/AxiosHeaders.js:260
↓ 2 callers
Function
cleanTemplate
bin/contributors.js:14
↓ 2 callers
Function
combineURLs
(baseURL, relativeURL)
lib/helpers/combineURLs.js:11
↓ 2 callers
Function
define
(arr)
lib/utils.js:586
↓ 2 callers
Function
done
(value, isRejected)
lib/adapters/http.js:127
↓ 2 callers
Function
fromDataURI
(uri, asBlob, options)
lib/helpers/fromDataURI.js:19
↓ 2 callers
Method
getUri
(config)
lib/core/Axios.js:161
↓ 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:15
↓ 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
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
speedometer
* Calculate data maxRate * @param {Number} [samplesCount= 10] * @param {Number} [min= 1000] * @returns {Function}
lib/helpers/speedometer.js:9
↓ 2 callers
Function
spread
(callback)
lib/helpers/spread.js:24
↓ 2 callers
Method
throwIfRequested
()
index.d.ts:463
↓ 2 callers
Method
updateIssue
(issue, data)
bin/GithubAPI.js:74
↓ 1 callers
Method
__transform
(chunk, encoding, callback)
lib/helpers/ZlibHeaderTransformStream.js:6
↓ 1 callers
Function
abort
(reason)
lib/adapters/http.js:204
↓ 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:24
↓ 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:157
↓ 1 callers
Function
buildConfig
({es5, browser = true, minifiedVersion = true, ...config})
rollup.config.js:16
↓ 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
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
↓ 1 callers
Function
deduplicate
(authors)
bin/contributors.js:69
↓ 1 callers
Function
extend
(a, b, thisArg, {allOwnKeys}= {})
lib/utils.js:342
↓ 1 callers
Function
findKey
(obj, key)
lib/utils.js:270
↓ 1 callers
Function
fireRequestAndExpect
(expectation)
test/specs/interceptors.spec.js:344
↓ 1 callers
Function
fireRequestCatchAndExpect
(expectation)
test/specs/interceptors.spec.js:416
↓ 1 callers
Function
formDataToStream
(form, headersHandler, options)
lib/helpers/formDataToStream.js:62
↓ 1 callers
Function
formatHeader
(header)
lib/core/AxiosHeaders.js:54
↓ 1 callers
Function
formatMessage
(opt, desc)
lib/helpers/validator.js:27
↓ 1 callers
Function
generateBody
({files, template = './templates/pr.hbs'} = {})
bin/pr.js:59
↓ 1 callers
Function
generateConfig
(name)
webpack.config.js:3
↓ 1 callers
Function
generateFileReport
(files)
bin/pr.js:40
↓ 1 callers
Function
generateHTTPMethod
(isForm)
lib/core/Axios.js:183
↓ 1 callers
Function
generateReadableStream
(length = 1024 * 1024, chunkSize = 10 * 1024, sleep = 50)
test/unit/adapters/http.js:126
next →
1–100 of 302, ranked by callers