Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axios/axios
/ functions
Functions
721 in github.com/axios/axios
⨍
Functions
721
◇
Types & classes
135
↓ 73 callers
Method
get
(header, parser)
lib/core/AxiosHeaders.js:259
↓ 50 callers
Method
end
()
tests/unit/adapters/http.test.js:6015
↓ 44 callers
Method
from
(error, code, config, request, response, customProps)
lib/core/AxiosError.js:99
↓ 43 callers
Method
create
(config?: CreateAxiosDefaults)
index.d.ts:715
↓ 40 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:63
↓ 33 callers
Method
toString
()
lib/core/AxiosHeaders.js:395
↓ 21 callers
Method
concat
(...targets)
lib/core/AxiosHeaders.js:375
↓ 19 callers
Method
entries
()
tests/unit/helpers/formDataToStream.test.js:12
↓ 15 callers
Method
set
(header, valueOrRewrite, rewrite)
lib/core/AxiosHeaders.js:203
↓ 15 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:19
↓ 14 callers
Method
append
(name: string, value: any, options?: any)
index.d.ts:724
↓ 12 callers
Function
test
(fn, ...args)
lib/adapters/fetch.js:51
↓ 12 callers
Method
write
()
tests/unit/adapters/http.test.js:6013
↓ 11 callers
Method
emit
(type, target = 'request', event = {})
tests/browser/progress.browser.test.js:63
↓ 10 callers
Method
addEventListener
()
tests/browser/xsrf.browser.test.js:20
↓ 10 callers
Method
delete
(header, matcher)
lib/core/AxiosHeaders.js:305
↓ 10 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:39
↓ 10 callers
Method
setHeader
(_value, _header, _rewrite)
lib/core/AxiosHeaders.js:206
↓ 10 callers
Method
source
()
index.d.ts:592
↓ 9 callers
Method
abort
()
tests/browser/xsrf.browser.test.js:53
↓ 9 callers
Method
toJSON
()
lib/core/AxiosError.js:171
↓ 9 callers
Method
unsubscribe
(listener: (cancel: Cancel | any) => void)
index.d.ts:600
↓ 8 callers
Method
has
(header, matcher)
lib/core/AxiosHeaders.js:289
↓ 8 callers
Function
mergeConfig
(config1, config2)
lib/core/mergeConfig.js:28
↓ 7 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
↓ 6 callers
Method
eject
(id: number)
index.d.ts:637
↓ 6 callers
Method
encode
()
lib/helpers/formDataToStream.js:41
↓ 6 callers
Function
setTimeoutAsync
(ms)
tests/setup/server.js:11
↓ 5 callers
Method
clear
()
index.d.ts:638
↓ 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:371
↓ 5 callers
Function
getMergedValue
(target, source, prop, caseless)
lib/core/mergeConfig.js:48
↓ 5 callers
Function
getPrototypeOf
()
tests/unit/utils/isX.test.js:122
↓ 5 callers
Method
getUri
(config)
lib/core/Axios.js:253
↓ 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:99
↓ 5 callers
Function
isObject
(thing)
lib/utils.js:169
↓ 5 callers
Method
normalize
(format)
lib/core/AxiosHeaders.js:348
↓ 5 callers
Function
normalizeHeader
(header)
lib/core/AxiosHeaders.js:9
↓ 5 callers
Function
resolveConfig
(config)
lib/helpers/resolveConfig.js:25
↓ 5 callers
Function
settle
(resolve, reject, response)
lib/core/settle.js:14
↓ 5 callers
Method
subscribe
(listener: (cancel: Cancel | any) => void)
index.d.ts:599
↓ 4 callers
Function
buildFullPath
(baseURL, requestedURL, allowAbsoluteUrls, config)
lib/core/buildFullPath.js:80
↓ 4 callers
Function
buildURL
(url, params, options)
lib/helpers/buildURL.js:31
↓ 4 callers
Function
cleanupTempFixture
(dirPath)
tests/module/cjs/tests/helpers/fixture.cjs:18
↓ 4 callers
Function
fn
()
tests/unit/prototypePollution.test.js:1106
↓ 4 callers
Function
isCancel
(value)
lib/cancel/isCancel.js:3
↓ 4 callers
Function
progressEventReducer
(listener, isDownloadStream, freq = 3)
lib/helpers/progressEventReducer.js:5
↓ 4 callers
Function
startHTTPServer
(handlerOrOptions, options)
tests/setup/server.js:20
↓ 4 callers
Function
stopHTTPServer
(server, timeout = 10000)
tests/setup/server.js:111
↓ 3 callers
Method
accessor
(header)
lib/core/AxiosHeaders.js:426
↓ 3 callers
Function
bind
(fn, thisArg)
lib/helpers/bind.js:10
↓ 3 callers
Function
cleanupTempFixture
(dirPath)
tests/module/esm/tests/helpers/fixture.js:18
↓ 3 callers
Function
composeSignals
(signals, timeout)
lib/helpers/composeSignals.js:5
↓ 3 callers
Function
createTempFixture
(suiteRoot, name, sourcePath, tsconfig, packageJson)
tests/module/cjs/tests/helpers/fixture.cjs:4
↓ 3 callers
Method
destroy
(err)
tests/unit/adapters/http.test.js:6023
↓ 3 callers
Function
done
()
lib/adapters/xhr.js:26
↓ 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:75
↓ 3 callers
Function
hasOwnInPrototypeChain
(thing, prop)
lib/utils.js:30
↓ 3 callers
Function
matchHeaderValue
(context, value, header, filter, isHeaderNameFilter)
lib/core/AxiosHeaders.js:153
↓ 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:461
↓ 3 callers
Method
parseParameters
(value)
lib/core/AxiosHeaders.js:414
↓ 3 callers
Function
parseProtocol
(url)
lib/helpers/parseProtocol.js:3
↓ 3 callers
Method
respondWith
({ status = 200, statusText = 'OK', responseText = '', response = null, responseHeaders =
tests/browser/interceptors.browser.test.js:55
↓ 3 callers
Function
run
( method: 'delete' | 'head' | 'options' | 'put' | 'patch', expected: string )
tests/smoke/bun/tests/fetch.smoke.test.ts:79
↓ 3 callers
Function
runCommand
(command, args, options)
tests/module/cjs/tests/helpers/run-command.cjs:5
↓ 3 callers
Method
toAbortSignal
()
index.d.ts:601
↓ 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:570
↓ 2 callers
Method
abort
(err)
lib/cancel/CancelToken.js:108
↓ 2 callers
Function
asyncDecorator
(fn, scheduler = utils.asap)
lib/helpers/progressEventReducer.js:52
↓ 2 callers
Function
buildLinks
(url, bypass = false)
docs/scripts/process-sponsors.js:148
↓ 2 callers
Function
clearConnectPhaseTimer
()
lib/adapters/http.js:581
↓ 2 callers
Function
combineURLs
(baseURL, relativeURL)
lib/helpers/combineURLs.js:11
↓ 2 callers
Function
createFetchMock
( responseFactory?: (input: any, init: any) => Response | Promise<Response> )
tests/smoke/deno/tests/fetch.smoke.test.ts:4
↓ 2 callers
Function
createFetchMock
( responseFactory?: (input: unknown, init: RequestInit) => Response | Promise<Response> )
tests/smoke/bun/tests/fetch.smoke.test.ts:4
↓ 2 callers
Function
createTempFixture
(suiteRoot, name, sourcePath, tsconfig, packageJson)
tests/module/esm/tests/helpers/fixture.js:4
↓ 2 callers
Function
done
(value, isRejected)
lib/adapters/http.js:424
↓ 2 callers
Function
env
(fetch: any)
tests/smoke/deno/tests/fetch.smoke.test.ts:41
↓ 2 callers
Function
env
(fetch: typeof globalThis.fetch)
tests/smoke/bun/tests/fetch.smoke.test.ts:41
↓ 2 callers
Function
estimateDataURLBufferAllocation
(url)
lib/helpers/estimateDataURLDecodedBytes.js:164
↓ 2 callers
Function
estimateDataURLBytes
(url, estimateBase64)
lib/helpers/estimateDataURLDecodedBytes.js:98
↓ 2 callers
Function
estimateDataURLDecodedBytes
(url)
lib/helpers/estimateDataURLDecodedBytes.js:148
↓ 2 callers
Function
flush
()
lib/helpers/throttle.js:39
↓ 2 callers
Function
formDataToStream
(form, headersHandler, options)
lib/helpers/formDataToStream.js:68
↓ 2 callers
Function
fromDataURI
(uri, asBlob, options)
lib/helpers/fromDataURI.js:21
↓ 2 callers
Function
generateReadable
(length = 1024 * 1024, chunkSize = 10 * 1024, sleep = 50)
tests/setup/server.js:165
↓ 2 callers
Function
getBodyLength
(body)
lib/adapters/fetch.js:159
↓ 2 callers
Function
getFetch
(config)
lib/adapters/fetch.js:618
↓ 2 callers
Function
getFetchSignal
(input, init)
tests/unit/adapters/fetch.test.js:31
↓ 2 callers
Method
getHeaders
()
tests/unit/adapters/http.test.js:4449
↓ 2 callers
Function
getRequestMeta
(input: any, init: any)
tests/smoke/deno/tests/fetch.smoke.test.ts:28
↓ 2 callers
Function
getRequestMeta
(input: unknown, init: RequestInit = {})
tests/smoke/bun/tests/fetch.smoke.test.ts:28
↓ 2 callers
Method
getSession
(authority, options)
lib/helpers/Http2Sessions.js:16
↓ 2 callers
Function
getSponsorTier
(sponsor)
docs/scripts/process-sponsors.js:175
↓ 2 callers
Function
handleFormData
(req)
tests/setup/server.js:145
↓ 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
isIPv4Loopback
(host)
lib/helpers/shouldBypassProxy.js:3
next →
1–100 of 721, ranked by callers