MCPcopy Create free account

hub / github.com/axios/axios / functions

Functions906 in github.com/axios/axios

↓ 109 callersMethodget
(header, parser)
lib/core/AxiosHeaders.js:272
↓ 67 callersMethodcreate
(config?: CreateAxiosDefaults)
index.d.ts:737
↓ 61 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:159
↓ 60 callersMethodend
()
tests/unit/adapters/http.test.js:6453
↓ 58 callersMethodfrom
(error, code, config, request, response, customProps)
lib/core/AxiosError.js:154
↓ 30 callersMethodtoString
()
tests/unit/axios.test.js:278
↓ 27 callersMethodconcat
(...targets)
lib/core/AxiosHeaders.js:388
↓ 22 callersMethodset
(header, valueOrRewrite, rewrite)
lib/core/AxiosHeaders.js:216
↓ 21 callersMethodentries
()
tests/unit/helpers/formDataToStream.test.js:12
↓ 21 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:77
↓ 20 callersMethodrequest
* 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 callersMethodhas
(header, matcher)
lib/core/AxiosHeaders.js:302
↓ 17 callersMethoddelete
(header, matcher)
lib/core/AxiosHeaders.js:318
↓ 17 callersMethodsource
()
index.d.ts:614
↓ 16 callersMethodwrite
()
tests/unit/adapters/http.test.js:6451
↓ 14 callersMethodappend
(name: string, value: any, options?: any)
index.d.ts:746
↓ 13 callersMethodabort
()
tests/unit/adapters/xhr.test.js:66
↓ 13 callersFunctiontest
(fn, ...args)
lib/adapters/fetch.js:64
↓ 12 callersMethodemit
(type, target = 'request', init = {})
tests/browser/progress.browser.test.js:83
↓ 11 callersMethodtext
()
tests/unit/adapters/fetch.test.js:1967
↓ 10 callersMethodaddEventListener
(type, fn)
tests/unit/adapters/xhr.test.js:18
↓ 10 callersMethoddestroy
(err)
tests/unit/adapters/http.test.js:6461
↓ 10 callersMethodsetHeader
(_value, _header, _rewrite)
lib/core/AxiosHeaders.js:219
↓ 10 callersFunctionstartHTTPServer
(handlerOrOptions, options)
tests/setup/server.js:20
↓ 10 callersFunctionstopHTTPServer
(server, timeout = 10000)
tests/setup/server.js:111
↓ 9 callersMethodeject
(id: number)
index.d.ts:659
↓ 9 callersFunctionmergeConfig
(config1, config2)
lib/core/mergeConfig.js:199
↓ 9 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
↓ 9 callersMethodunsubscribe
(listener: (cancel: Cancel | any) => void)
index.d.ts:622
↓ 8 callersMethodclear
()
index.d.ts:660
↓ 8 callersMethodencode
()
lib/helpers/formDataToStream.js:41
↓ 8 callersMethodtoString
()
lib/core/AxiosHeaders.js:408
↓ 7 callersFunctiongetPrototypeOf
()
tests/unit/utils/isX.test.js:125
↓ 7 callersMethodgetUri
(config)
lib/core/Axios.js:313
↓ 6 callersFunctionbuildURL
(url, params, options)
lib/helpers/buildURL.js:31
↓ 6 callersFunctionresolveConfig
(config, readXsrfCookie = readCookie)
lib/helpers/resolveConfig.js:27
↓ 6 callersFunctionsetTimeoutAsync
(ms)
tests/setup/server.js:11
↓ 6 callersMethodtoJSON
()
tests/unit/axios.test.js:188
↓ 5 callersMethodarrayBuffer
()
tests/setup/formBodyLengthCases.js:11
↓ 5 callersFunctionfn
()
tests/unit/prototypePollution.test.js:1479
↓ 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:497
↓ 5 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:98
↓ 5 callersFunctiongetMergedValue
(target, source, prop, caseless)
lib/core/mergeConfig.js:68
↓ 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:221
↓ 5 callersFunctionisObject
(thing)
lib/utils.js:291
↓ 5 callersMethodnormalize
(format)
lib/core/AxiosHeaders.js:361
↓ 5 callersFunctionnormalizeHeader
(header)
lib/core/AxiosHeaders.js:9
↓ 5 callersMethodremoveEventListener
(type, fn)
tests/unit/adapters/xhr.test.js:23
↓ 5 callersFunctionrun
( method: 'delete' | 'head' | 'options' | 'put' | 'patch', expected: string )
tests/smoke/bun/tests/fetch.smoke.test.ts:79
↓ 5 callersFunctionsettle
(resolve, reject, response)
lib/core/settle.js:14
↓ 5 callersMethodsubscribe
(listener: (cancel: Cancel | any) => void)
index.d.ts:621
↓ 4 callersFunctionbind
(fn, thisArg)
lib/helpers/bind.js:10
↓ 4 callersFunctionbuildFullPath
(baseURL, requestedURL, allowAbsoluteUrls, config)
lib/core/buildFullPath.js:68
↓ 4 callersFunctioncleanupTempFixture
(dirPath)
tests/module/cjs/tests/helpers/fixture.cjs:18
↓ 4 callersFunctioncomposeSignals
(signals, timeout)
lib/helpers/composeSignals.js:5
↓ 4 callersFunctionestimateDataURLDecodedBytes
(url)
lib/helpers/estimateDataURLDecodedBytes.js:173
↓ 4 callersFunctionisCancel
(value)
lib/cancel/isCancel.js:3
↓ 4 callersFunctionisPrototypeBoundary
(obj, prototype, source)
lib/utils.js:36
↓ 4 callersMethodlistenerCount
(type)
tests/unit/adapters/xhr.test.js:28
↓ 4 callersMethodparseParameters
(value)
lib/core/AxiosHeaders.js:427
↓ 4 callersFunctionparseProtocol
(url)
lib/helpers/parseProtocol.js:3
↓ 4 callersFunctionprogressEventReducer
(listener, isDownloadStream, freq = 3)
lib/helpers/progressEventReducer.js:5
↓ 4 callersFunctionsyncHandlerEntries
(manager, internals)
lib/core/InterceptorManager.js:34
↓ 4 callersMethodtoJSON
()
tests/browser/defaults.browser.test.js:226
↓ 3 callersMethodabort
(err)
lib/cancel/CancelToken.js:108
↓ 3 callersMethodaccessor
(header)
lib/core/AxiosHeaders.js:439
↓ 3 callersFunctionbuildLinks
(url, bypass = false)
docs/scripts/process-sponsors.js:175
↓ 3 callersFunctioncleanupTempFixture
(dirPath)
tests/module/esm/tests/helpers/fixture.js:18
↓ 3 callersFunctioncreateMultipartBody
(form, Blob, limit, limitError, boundary)
lib/core/createMultipartBody.js:6
↓ 3 callersFunctioncreateTempFixture
(suiteRoot, name, sourcePath, tsconfig, packageJson)
tests/module/cjs/tests/helpers/fixture.cjs:4
↓ 3 callersFunctiondone
()
lib/adapters/xhr.js:46
↓ 3 callersFunctionflush
()
lib/helpers/throttle.js:39
↓ 3 callersFunctiongetDirectAgent
(configuredAgent, transport)
lib/adapters/http.js:149
↓ 3 callersFunctiongetFetch
(config)
lib/adapters/fetch.js:718
↓ 3 callersFunctioninvoke
(args, now = Date.now())
lib/helpers/throttle.js:13
↓ 3 callersFunctionisPercentEncodedByte
(str, i, len)
lib/helpers/estimateDataURLDecodedBytes.js:13
↓ 3 callersFunctionmatchHeaderValue
(context, value, header, filter, isHeaderNameFilter)
lib/core/AxiosHeaders.js:166
↓ 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:587
↓ 3 callersFunctionrequest
(config = {})
tests/unit/adapters/http.test.js:2502
↓ 3 callersMethodrespondWith
({ status = 200, statusText = 'OK', responseText = '', response = null, responseHeaders =
tests/browser/interceptors.browser.test.js:55
↓ 3 callersFunctionrunCommand
(command, args, options)
tests/module/cjs/tests/helpers/run-command.cjs:5
↓ 3 callersFunctionrunModuleInChildProcess
(source, options)
tests/setup/runModuleInChildProcess.js:3
↓ 3 callersFunctionshouldBypassProxy
(location)
lib/helpers/shouldBypassProxy.js:453
↓ 3 callersMethodtoAbortSignal
()
index.d.ts:623
↓ 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:739
↓ 2 callersMethodabort
()
tests/browser/cancel.browser.test.js:60
↓ 2 callersFunctionabortOnTimeout
()
lib/adapters/xhr.js:339
↓ 2 callersMethodappend
()
tests/unit/utils.test.js:48
↓ 2 callersFunctionarrayToObject
* 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 callersFunctionasyncDecorator
(fn, scheduler = utils.asap)
lib/helpers/progressEventReducer.js:52
↓ 2 callersFunctionbuildSocialLinks
(socialLinks = [])
docs/scripts/process-sponsors.js:202
↓ 2 callersFunctioncancel
()
tests/browser/cancel.browser.test.js:230
↓ 2 callersFunctionclearConnectPhaseTimer
()
lib/adapters/http.js:750
↓ 2 callersFunctioncombineURLs
(baseURL, relativeURL)
lib/helpers/combineURLs.js:11
↓ 2 callersFunctioncountHandlers
(handlers)
lib/core/InterceptorManager.js:10
↓ 2 callersFunctioncreateAgent
(options = {})
tests/unit/adapters/http.test.js:2448
↓ 2 callersFunctioncreateFetchMock
( 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