Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axios/axios
/ functions
Functions
906 in github.com/axios/axios
⨍
Functions
906
◇
Types & classes
209
↓ 109 callers
Method
get
(header, parser)
lib/core/AxiosHeaders.js:272
↓ 67 callers
Method
create
(config?: CreateAxiosDefaults)
index.d.ts:737
↓ 61 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:159
↓ 60 callers
Method
end
()
tests/unit/adapters/http.test.js:6453
↓ 58 callers
Method
from
(error, code, config, request, response, customProps)
lib/core/AxiosError.js:154
↓ 30 callers
Method
toString
()
tests/unit/axios.test.js:278
↓ 27 callers
Method
concat
(...targets)
lib/core/AxiosHeaders.js:388
↓ 22 callers
Method
set
(header, valueOrRewrite, rewrite)
lib/core/AxiosHeaders.js:216
↓ 21 callers
Method
entries
()
tests/unit/helpers/formDataToStream.test.js:12
↓ 21 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:77
↓ 20 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:72
↓ 19 callers
Method
has
(header, matcher)
lib/core/AxiosHeaders.js:302
↓ 17 callers
Method
delete
(header, matcher)
lib/core/AxiosHeaders.js:318
↓ 17 callers
Method
source
()
index.d.ts:614
↓ 16 callers
Method
write
()
tests/unit/adapters/http.test.js:6451
↓ 14 callers
Method
append
(name: string, value: any, options?: any)
index.d.ts:746
↓ 13 callers
Method
abort
()
tests/unit/adapters/xhr.test.js:66
↓ 13 callers
Function
test
(fn, ...args)
lib/adapters/fetch.js:64
↓ 12 callers
Method
emit
(type, target = 'request', init = {})
tests/browser/progress.browser.test.js:83
↓ 11 callers
Method
text
()
tests/unit/adapters/fetch.test.js:1967
↓ 10 callers
Method
addEventListener
(type, fn)
tests/unit/adapters/xhr.test.js:18
↓ 10 callers
Method
destroy
(err)
tests/unit/adapters/http.test.js:6461
↓ 10 callers
Method
setHeader
(_value, _header, _rewrite)
lib/core/AxiosHeaders.js:219
↓ 10 callers
Function
startHTTPServer
(handlerOrOptions, options)
tests/setup/server.js:20
↓ 10 callers
Function
stopHTTPServer
(server, timeout = 10000)
tests/setup/server.js:111
↓ 9 callers
Method
eject
(id: number)
index.d.ts:659
↓ 9 callers
Function
mergeConfig
(config1, config2)
lib/core/mergeConfig.js:199
↓ 9 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:94
↓ 9 callers
Method
unsubscribe
(listener: (cancel: Cancel | any) => void)
index.d.ts:622
↓ 8 callers
Method
clear
()
index.d.ts:660
↓ 8 callers
Method
encode
()
lib/helpers/formDataToStream.js:41
↓ 8 callers
Method
toString
()
lib/core/AxiosHeaders.js:408
↓ 7 callers
Function
getPrototypeOf
()
tests/unit/utils/isX.test.js:125
↓ 7 callers
Method
getUri
(config)
lib/core/Axios.js:313
↓ 6 callers
Function
buildURL
(url, params, options)
lib/helpers/buildURL.js:31
↓ 6 callers
Function
resolveConfig
(config, readXsrfCookie = readCookie)
lib/helpers/resolveConfig.js:27
↓ 6 callers
Function
setTimeoutAsync
(ms)
tests/setup/server.js:11
↓ 6 callers
Method
toJSON
()
tests/unit/axios.test.js:188
↓ 5 callers
Method
arrayBuffer
()
tests/setup/formBodyLengthCases.js:11
↓ 5 callers
Function
fn
()
tests/unit/prototypePollution.test.js:1479
↓ 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:497
↓ 5 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:98
↓ 5 callers
Function
getMergedValue
(target, source, prop, caseless)
lib/core/mergeConfig.js:68
↓ 5 callers
Function
isBuffer
* Determine if a value is a Buffer * * @param {*} val The value to test * * @returns {boolean} True if value is a Buffer, otherwise false
lib/utils.js:221
↓ 5 callers
Function
isObject
(thing)
lib/utils.js:291
↓ 5 callers
Method
normalize
(format)
lib/core/AxiosHeaders.js:361
↓ 5 callers
Function
normalizeHeader
(header)
lib/core/AxiosHeaders.js:9
↓ 5 callers
Method
removeEventListener
(type, fn)
tests/unit/adapters/xhr.test.js:23
↓ 5 callers
Function
run
( method: 'delete' | 'head' | 'options' | 'put' | 'patch', expected: string )
tests/smoke/bun/tests/fetch.smoke.test.ts:79
↓ 5 callers
Function
settle
(resolve, reject, response)
lib/core/settle.js:14
↓ 5 callers
Method
subscribe
(listener: (cancel: Cancel | any) => void)
index.d.ts:621
↓ 4 callers
Function
bind
(fn, thisArg)
lib/helpers/bind.js:10
↓ 4 callers
Function
buildFullPath
(baseURL, requestedURL, allowAbsoluteUrls, config)
lib/core/buildFullPath.js:68
↓ 4 callers
Function
cleanupTempFixture
(dirPath)
tests/module/cjs/tests/helpers/fixture.cjs:18
↓ 4 callers
Function
composeSignals
(signals, timeout)
lib/helpers/composeSignals.js:5
↓ 4 callers
Function
estimateDataURLDecodedBytes
(url)
lib/helpers/estimateDataURLDecodedBytes.js:173
↓ 4 callers
Function
isCancel
(value)
lib/cancel/isCancel.js:3
↓ 4 callers
Function
isPrototypeBoundary
(obj, prototype, source)
lib/utils.js:36
↓ 4 callers
Method
listenerCount
(type)
tests/unit/adapters/xhr.test.js:28
↓ 4 callers
Method
parseParameters
(value)
lib/core/AxiosHeaders.js:427
↓ 4 callers
Function
parseProtocol
(url)
lib/helpers/parseProtocol.js:3
↓ 4 callers
Function
progressEventReducer
(listener, isDownloadStream, freq = 3)
lib/helpers/progressEventReducer.js:5
↓ 4 callers
Function
syncHandlerEntries
(manager, internals)
lib/core/InterceptorManager.js:34
↓ 4 callers
Method
toJSON
()
tests/browser/defaults.browser.test.js:226
↓ 3 callers
Method
abort
(err)
lib/cancel/CancelToken.js:108
↓ 3 callers
Method
accessor
(header)
lib/core/AxiosHeaders.js:439
↓ 3 callers
Function
buildLinks
(url, bypass = false)
docs/scripts/process-sponsors.js:175
↓ 3 callers
Function
cleanupTempFixture
(dirPath)
tests/module/esm/tests/helpers/fixture.js:18
↓ 3 callers
Function
createMultipartBody
(form, Blob, limit, limitError, boundary)
lib/core/createMultipartBody.js:6
↓ 3 callers
Function
createTempFixture
(suiteRoot, name, sourcePath, tsconfig, packageJson)
tests/module/cjs/tests/helpers/fixture.cjs:4
↓ 3 callers
Function
done
()
lib/adapters/xhr.js:46
↓ 3 callers
Function
flush
()
lib/helpers/throttle.js:39
↓ 3 callers
Function
getDirectAgent
(configuredAgent, transport)
lib/adapters/http.js:149
↓ 3 callers
Function
getFetch
(config)
lib/adapters/fetch.js:718
↓ 3 callers
Function
invoke
(args, now = Date.now())
lib/helpers/throttle.js:13
↓ 3 callers
Function
isPercentEncodedByte
(str, i, len)
lib/helpers/estimateDataURLDecodedBytes.js:13
↓ 3 callers
Function
matchHeaderValue
(context, value, header, filter, isHeaderNameFilter)
lib/core/AxiosHeaders.js:166
↓ 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:587
↓ 3 callers
Function
request
(config = {})
tests/unit/adapters/http.test.js:2502
↓ 3 callers
Method
respondWith
({ status = 200, statusText = 'OK', responseText = '', response = null, responseHeaders =
tests/browser/interceptors.browser.test.js:55
↓ 3 callers
Function
runCommand
(command, args, options)
tests/module/cjs/tests/helpers/run-command.cjs:5
↓ 3 callers
Function
runModuleInChildProcess
(source, options)
tests/setup/runModuleInChildProcess.js:3
↓ 3 callers
Function
shouldBypassProxy
(location)
lib/helpers/shouldBypassProxy.js:453
↓ 3 callers
Method
toAbortSignal
()
index.d.ts:623
↓ 3 callers
Function
toByteStringHeaderObject
(headers)
lib/helpers/sanitizeHeaderValue.js:52
↓ 3 callers
Function
waitForRequest
(timeoutMs = 1000)
tests/browser/interceptors.browser.test.js:108
↓ 2 callers
Function
_onFinish
(e)
lib/helpers/trackStream.js:50
↓ 2 callers
Function
abort
(reason)
lib/adapters/http.js:739
↓ 2 callers
Method
abort
()
tests/browser/cancel.browser.test.js:60
↓ 2 callers
Function
abortOnTimeout
()
lib/adapters/xhr.js:339
↓ 2 callers
Method
append
()
tests/unit/utils.test.js:48
↓ 2 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:55
↓ 2 callers
Function
asyncDecorator
(fn, scheduler = utils.asap)
lib/helpers/progressEventReducer.js:52
↓ 2 callers
Function
buildSocialLinks
(socialLinks = [])
docs/scripts/process-sponsors.js:202
↓ 2 callers
Function
cancel
()
tests/browser/cancel.browser.test.js:230
↓ 2 callers
Function
clearConnectPhaseTimer
()
lib/adapters/http.js:750
↓ 2 callers
Function
combineURLs
(baseURL, relativeURL)
lib/helpers/combineURLs.js:11
↓ 2 callers
Function
countHandlers
(handlers)
lib/core/InterceptorManager.js:10
↓ 2 callers
Function
createAgent
(options = {})
tests/unit/adapters/http.test.js:2448
↓ 2 callers
Function
createFetchMock
( responseFactory?: (input: any, init: any) => Response | Promise<Response> )
tests/smoke/deno/tests/fetch.smoke.test.ts:4
next →
1–100 of 906, ranked by callers