MCPcopy Create free account

hub / github.com/axios/axios / functions

Functions721 in github.com/axios/axios

↓ 73 callersMethodget
(header, parser)
lib/core/AxiosHeaders.js:259
↓ 50 callersMethodend
()
tests/unit/adapters/http.test.js:6015
↓ 44 callersMethodfrom
(error, code, config, request, response, customProps)
lib/core/AxiosError.js:99
↓ 43 callersMethodcreate
(config?: CreateAxiosDefaults)
index.d.ts:715
↓ 40 callersMethodforEach
* 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 callersMethodtoString
()
lib/core/AxiosHeaders.js:395
↓ 21 callersMethodconcat
(...targets)
lib/core/AxiosHeaders.js:375
↓ 19 callersMethodentries
()
tests/unit/helpers/formDataToStream.test.js:12
↓ 15 callersMethodset
(header, valueOrRewrite, rewrite)
lib/core/AxiosHeaders.js:203
↓ 15 callersMethoduse
* 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 callersMethodappend
(name: string, value: any, options?: any)
index.d.ts:724
↓ 12 callersFunctiontest
(fn, ...args)
lib/adapters/fetch.js:51
↓ 12 callersMethodwrite
()
tests/unit/adapters/http.test.js:6013
↓ 11 callersMethodemit
(type, target = 'request', event = {})
tests/browser/progress.browser.test.js:63
↓ 10 callersMethodaddEventListener
()
tests/browser/xsrf.browser.test.js:20
↓ 10 callersMethoddelete
(header, matcher)
lib/core/AxiosHeaders.js:305
↓ 10 callersMethodrequest
* 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 callersMethodsetHeader
(_value, _header, _rewrite)
lib/core/AxiosHeaders.js:206
↓ 10 callersMethodsource
()
index.d.ts:592
↓ 9 callersMethodabort
()
tests/browser/xsrf.browser.test.js:53
↓ 9 callersMethodtoJSON
()
lib/core/AxiosError.js:171
↓ 9 callersMethodunsubscribe
(listener: (cancel: Cancel | any) => void)
index.d.ts:600
↓ 8 callersMethodhas
(header, matcher)
lib/core/AxiosHeaders.js:289
↓ 8 callersFunctionmergeConfig
(config1, config2)
lib/core/mergeConfig.js:28
↓ 7 callersFunctiontoFormData
* 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 callersMethodeject
(id: number)
index.d.ts:637
↓ 6 callersMethodencode
()
lib/helpers/formDataToStream.js:41
↓ 6 callersFunctionsetTimeoutAsync
(ms)
tests/setup/server.js:11
↓ 5 callersMethodclear
()
index.d.ts:638
↓ 5 callersFunctionforEach
* 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 callersFunctiongetMergedValue
(target, source, prop, caseless)
lib/core/mergeConfig.js:48
↓ 5 callersFunctiongetPrototypeOf
()
tests/unit/utils/isX.test.js:122
↓ 5 callersMethodgetUri
(config)
lib/core/Axios.js:253
↓ 5 callersFunctionisBuffer
* 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 callersFunctionisObject
(thing)
lib/utils.js:169
↓ 5 callersMethodnormalize
(format)
lib/core/AxiosHeaders.js:348
↓ 5 callersFunctionnormalizeHeader
(header)
lib/core/AxiosHeaders.js:9
↓ 5 callersFunctionresolveConfig
(config)
lib/helpers/resolveConfig.js:25
↓ 5 callersFunctionsettle
(resolve, reject, response)
lib/core/settle.js:14
↓ 5 callersMethodsubscribe
(listener: (cancel: Cancel | any) => void)
index.d.ts:599
↓ 4 callersFunctionbuildFullPath
(baseURL, requestedURL, allowAbsoluteUrls, config)
lib/core/buildFullPath.js:80
↓ 4 callersFunctionbuildURL
(url, params, options)
lib/helpers/buildURL.js:31
↓ 4 callersFunctioncleanupTempFixture
(dirPath)
tests/module/cjs/tests/helpers/fixture.cjs:18
↓ 4 callersFunctionfn
()
tests/unit/prototypePollution.test.js:1106
↓ 4 callersFunctionisCancel
(value)
lib/cancel/isCancel.js:3
↓ 4 callersFunctionprogressEventReducer
(listener, isDownloadStream, freq = 3)
lib/helpers/progressEventReducer.js:5
↓ 4 callersFunctionstartHTTPServer
(handlerOrOptions, options)
tests/setup/server.js:20
↓ 4 callersFunctionstopHTTPServer
(server, timeout = 10000)
tests/setup/server.js:111
↓ 3 callersMethodaccessor
(header)
lib/core/AxiosHeaders.js:426
↓ 3 callersFunctionbind
(fn, thisArg)
lib/helpers/bind.js:10
↓ 3 callersFunctioncleanupTempFixture
(dirPath)
tests/module/esm/tests/helpers/fixture.js:18
↓ 3 callersFunctioncomposeSignals
(signals, timeout)
lib/helpers/composeSignals.js:5
↓ 3 callersFunctioncreateTempFixture
(suiteRoot, name, sourcePath, tsconfig, packageJson)
tests/module/cjs/tests/helpers/fixture.cjs:4
↓ 3 callersMethoddestroy
(err)
tests/unit/adapters/http.test.js:6023
↓ 3 callersFunctiondone
()
lib/adapters/xhr.js:26
↓ 3 callersFunctionformDataToJSON
* 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 callersFunctionhasOwnInPrototypeChain
(thing, prop)
lib/utils.js:30
↓ 3 callersFunctionmatchHeaderValue
(context, value, header, filter, isHeaderNameFilter)
lib/core/AxiosHeaders.js:153
↓ 3 callersFunctionmerge
* 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 callersMethodparseParameters
(value)
lib/core/AxiosHeaders.js:414
↓ 3 callersFunctionparseProtocol
(url)
lib/helpers/parseProtocol.js:3
↓ 3 callersMethodrespondWith
({ status = 200, statusText = 'OK', responseText = '', response = null, responseHeaders =
tests/browser/interceptors.browser.test.js:55
↓ 3 callersFunctionrun
( method: 'delete' | 'head' | 'options' | 'put' | 'patch', expected: string )
tests/smoke/bun/tests/fetch.smoke.test.ts:79
↓ 3 callersFunctionrunCommand
(command, args, options)
tests/module/cjs/tests/helpers/run-command.cjs:5
↓ 3 callersMethodtoAbortSignal
()
index.d.ts:601
↓ 3 callersFunctiontoByteStringHeaderObject
(headers)
lib/helpers/sanitizeHeaderValue.js:52
↓ 3 callersFunctionwaitForRequest
(timeoutMs = 1000)
tests/browser/interceptors.browser.test.js:108
↓ 2 callersFunction_onFinish
(e)
lib/helpers/trackStream.js:50
↓ 2 callersFunctionabort
(reason)
lib/adapters/http.js:570
↓ 2 callersMethodabort
(err)
lib/cancel/CancelToken.js:108
↓ 2 callersFunctionasyncDecorator
(fn, scheduler = utils.asap)
lib/helpers/progressEventReducer.js:52
↓ 2 callersFunctionbuildLinks
(url, bypass = false)
docs/scripts/process-sponsors.js:148
↓ 2 callersFunctionclearConnectPhaseTimer
()
lib/adapters/http.js:581
↓ 2 callersFunctioncombineURLs
(baseURL, relativeURL)
lib/helpers/combineURLs.js:11
↓ 2 callersFunctioncreateFetchMock
( responseFactory?: (input: any, init: any) => Response | Promise<Response> )
tests/smoke/deno/tests/fetch.smoke.test.ts:4
↓ 2 callersFunctioncreateFetchMock
( responseFactory?: (input: unknown, init: RequestInit) => Response | Promise<Response> )
tests/smoke/bun/tests/fetch.smoke.test.ts:4
↓ 2 callersFunctioncreateTempFixture
(suiteRoot, name, sourcePath, tsconfig, packageJson)
tests/module/esm/tests/helpers/fixture.js:4
↓ 2 callersFunctiondone
(value, isRejected)
lib/adapters/http.js:424
↓ 2 callersFunctionenv
(fetch: any)
tests/smoke/deno/tests/fetch.smoke.test.ts:41
↓ 2 callersFunctionenv
(fetch: typeof globalThis.fetch)
tests/smoke/bun/tests/fetch.smoke.test.ts:41
↓ 2 callersFunctionestimateDataURLBufferAllocation
(url)
lib/helpers/estimateDataURLDecodedBytes.js:164
↓ 2 callersFunctionestimateDataURLBytes
(url, estimateBase64)
lib/helpers/estimateDataURLDecodedBytes.js:98
↓ 2 callersFunctionestimateDataURLDecodedBytes
(url)
lib/helpers/estimateDataURLDecodedBytes.js:148
↓ 2 callersFunctionflush
()
lib/helpers/throttle.js:39
↓ 2 callersFunctionformDataToStream
(form, headersHandler, options)
lib/helpers/formDataToStream.js:68
↓ 2 callersFunctionfromDataURI
(uri, asBlob, options)
lib/helpers/fromDataURI.js:21
↓ 2 callersFunctiongenerateReadable
(length = 1024 * 1024, chunkSize = 10 * 1024, sleep = 50)
tests/setup/server.js:165
↓ 2 callersFunctiongetBodyLength
(body)
lib/adapters/fetch.js:159
↓ 2 callersFunctiongetFetch
(config)
lib/adapters/fetch.js:618
↓ 2 callersFunctiongetFetchSignal
(input, init)
tests/unit/adapters/fetch.test.js:31
↓ 2 callersMethodgetHeaders
()
tests/unit/adapters/http.test.js:4449
↓ 2 callersFunctiongetRequestMeta
(input: any, init: any)
tests/smoke/deno/tests/fetch.smoke.test.ts:28
↓ 2 callersFunctiongetRequestMeta
(input: unknown, init: RequestInit = {})
tests/smoke/bun/tests/fetch.smoke.test.ts:28
↓ 2 callersMethodgetSession
(authority, options)
lib/helpers/Http2Sessions.js:16
↓ 2 callersFunctiongetSponsorTier
(sponsor)
docs/scripts/process-sponsors.js:175
↓ 2 callersFunctionhandleFormData
(req)
tests/setup/server.js:145
↓ 2 callersFunctioninvoke
(args, now = Date.now())
lib/helpers/throttle.js:13
↓ 2 callersFunctionisAbsoluteURL
(url)
lib/helpers/isAbsoluteURL.js:10
↓ 2 callersFunctionisAxiosError
(payload)
lib/helpers/isAxiosError.js:12
↓ 2 callersFunctionisIPv4Loopback
(host)
lib/helpers/shouldBypassProxy.js:3
next →1–100 of 721, ranked by callers