MCPcopy Create free account

hub / github.com/axios/axios / functions

Functions338 in github.com/axios/axios

↓ 34 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:62
↓ 33 callersMethodget
(header, parser)
lib/core/AxiosHeaders.js:122
↓ 27 callersMethodcreate
(config?: CreateAxiosDefaults)
index.d.ts:517
↓ 25 callersMethodfrom
(thing)
lib/core/AxiosHeaders.js:264
↓ 17 callersFunctiondone
()
lib/adapters/xhr.js:24
↓ 15 callersMethodtoString
()
lib/core/AxiosHeaders.js:252
↓ 14 callersFunctiongetAjaxRequest
()
test/specs/__helpers.js:15
↓ 11 callersFunctionlib$es6$promise$$internal$$reject
(promise,reason)
test/manual/promise.js:9
↓ 10 callersMethodtoJSON
(asStrings)
lib/core/AxiosHeaders.js:238
↓ 8 callersMethodconcat
(...targets)
lib/core/AxiosHeaders.js:234
↓ 8 callersMethodset
(header, valueOrRewrite, rewrite)
lib/core/AxiosHeaders.js:79
↓ 7 callersMethodabort
(err)
lib/cancel/CancelToken.js:108
↓ 7 callersMethodappend
(name: string, value: any, options?: any)
index.d.ts:526
↓ 7 callersFunctioncolorize
(...colors)
bin/helpers/colorize.js:3
↓ 7 callersFunctionlib$es6$promise$$internal$$fulfill
(promise,value)
test/manual/promise.js:9
↓ 7 callersFunctionmergeConfig
(config1, config2)
lib/core/mergeConfig.js:17
↓ 7 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:18
↓ 6 callersMethoddelete
(header, matcher)
lib/core/AxiosHeaders.js:164
↓ 6 callersFunctionlib$es6$promise$$internal$$resolve
(promise,value)
test/manual/promise.js:9
↓ 6 callersMethodrequest
* Dispatch a request * * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) * @param {?Objec
lib/core/Axios.js:38
↓ 6 callersMethodunsubscribe
* Unsubscribe from the cancel signal
lib/cancel/CancelToken.js:95
↓ 5 callersMethodencode
()
lib/helpers/formDataToStream.js:40
↓ 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:240
↓ 5 callersFunctionlib$es6$promise$asap$$asap
(callback,arg)
test/manual/promise.js:9
↓ 5 callersMethodnormalize
(format)
lib/core/AxiosHeaders.js:207
↓ 5 callersFunctionnormalizeHeader
(header)
lib/core/AxiosHeaders.js:8
↓ 5 callersMethodsetHeader
(_value, _header, _rewrite)
lib/core/AxiosHeaders.js:82
↓ 5 callersMethodsource
()
index.d.ts:463
↓ 5 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:86
↓ 4 callersFunctionbuildFullPath
(baseURL, requestedURL, allowAbsoluteUrls)
lib/core/buildFullPath.js:16
↓ 4 callersFunctionbuildURL
(url, params, options)
lib/helpers/buildURL.js:33
↓ 4 callersMethodclear
()
index.d.ts:489
↓ 4 callersFunctiongetMergedValue
(target, source, prop, caseless)
lib/core/mergeConfig.js:22
↓ 4 callersMethodhas
(header, matcher)
lib/core/AxiosHeaders.js:152
↓ 4 callersFunctionsetTimeoutAsync
(ms)
test/unit/adapters/http.js:36
↓ 4 callersFunctionsettle
(resolve, reject, response)
lib/core/settle.js:14
↓ 4 callersMethodsubscribe
* Subscribe to the cancel signal
lib/cancel/CancelToken.js:78
↓ 3 callersFunctionbind
(fn, thisArg)
lib/helpers/bind.js:3
↓ 3 callersMethodeject
(id: number)
index.d.ts:488
↓ 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:49
↓ 3 callersFunctionisCancel
(value)
lib/cancel/isCancel.js:3
↓ 3 callersFunctionisObject
(thing)
lib/utils.js:113
↓ 3 callersFunctionlib$es6$promise$$internal$$subscribe
(parent,child,onFulfillment,onRejection)
test/manual/promise.js:9
↓ 3 callersFunctionlib$es6$promise$utils$$isFunction
(x)
test/manual/promise.js:9
↓ 3 callersFunctionmatchHeaderValue
(context, value, header, filter, isHeaderNameFilter)
lib/core/AxiosHeaders.js:34
↓ 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:313
↓ 3 callersFunctionparseProtocol
(url)
lib/helpers/parseProtocol.js:3
↓ 3 callersFunctionprogressEventReducer
(listener, isDownloadStream, freq = 3)
lib/helpers/progressEventReducer.js:5
↓ 3 callersFunctionsetTimeoutAsync
(ms)
test/helpers/server.js:11
↓ 2 callersFunction_onFinish
(e)
lib/helpers/trackStream.js:51
↓ 2 callersMethodaccessor
(header)
lib/core/AxiosHeaders.js:276
↓ 2 callersFunctionasyncDecorator
(fn)
lib/helpers/progressEventReducer.js:44
↓ 2 callersFunctioncleanTemplate
bin/contributors.js:14
↓ 2 callersFunctioncombineURLs
(baseURL, relativeURL)
lib/helpers/combineURLs.js:11
↓ 2 callersFunctioncomposeSignals
(signals, timeout)
lib/helpers/composeSignals.js:5
↓ 2 callersFunctiondefine
(arr)
lib/utils.js:589
↓ 2 callersFunctiondone
(value, isRejected)
lib/adapters/http.js:136
↓ 2 callersFunctionfromDataURI
(uri, asBlob, options)
lib/helpers/fromDataURI.js:19
↓ 2 callersMethodgetUri
(config)
lib/core/Axios.js:202
↓ 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 callersFunctionkindOfTest
(type)
lib/utils.js:16
↓ 2 callersFunctionlib$es6$promise$$internal$$invokeCallback
(settled,promise,callback,detail)
test/manual/promise.js:9
↓ 2 callersFunctionlib$es6$promise$asap$$useSetTimeout
()
test/manual/promise.js:9
↓ 2 callersFunctionnormalizeTag
(tag)
bin/RepoBot.js:14
↓ 2 callersFunctionnormalizeValue
(value)
lib/core/AxiosHeaders.js:12
↓ 2 callersFunctionprogressEventDecorator
(total, throttled)
lib/helpers/progressEventReducer.js:34
↓ 2 callersFunctionremoveBrackets
* 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 callersFunctionremoveExtraLineBreaks
(str)
bin/contributors.js:12
↓ 2 callersFunctionsendResponse
(res, statusCode, body)
examples/server.js:55
↓ 2 callersFunctionspawn
(command, args)
test/module/test.js:17
↓ 2 callersFunctionspread
(callback)
lib/helpers/spread.js:24
↓ 2 callersFunctionstartHTTPServer
(handlerOrOptions, options)
test/unit/adapters/http.js:65
↓ 2 callersFunctionstopHTTPServer
(server, timeout = 10000)
test/unit/adapters/http.js:106
↓ 2 callersFunctiontest
(fn, ...args)
lib/adapters/fetch.js:20
↓ 2 callersMethodthrowIfRequested
()
index.d.ts:469
↓ 2 callersFunctionunsubscribe
()
lib/helpers/composeSignals.js:27
↓ 2 callersMethodupdateIssue
(issue, data)
bin/GithubAPI.js:74
↓ 1 callersMethod__transform
(chunk, encoding, callback)
lib/helpers/ZlibHeaderTransformStream.js:6
↓ 1 callersMethod_request
(configOrUrl, config)
lib/core/Axios.js:65
↓ 1 callersFunctionabort
(reason)
lib/adapters/http.js:217
↓ 1 callersFunctionadapter
()
test/unit/adapters/adapters.js:17
↓ 1 callersMethodaddComment
(targetId, message)
bin/RepoBot.js:37
↓ 1 callersMethodappendLabels
(issue, labels)
bin/GithubAPI.js:42
↓ 1 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:29
↓ 1 callersFunctionassign
(a, b)
bin/contributors.js:73
↓ 1 callersFunctionattemptGettingAjaxRequest
(resolve, reject)
test/specs/__helpers.js:22
↓ 1 callersFunctionbuild
({minified})
rollup.config.js:25
↓ 1 callersFunctionbuild
(value, path)
lib/helpers/toFormData.js:188
↓ 1 callersFunctionbuildAccessors
(obj, header)
lib/core/AxiosHeaders.js:61
↓ 1 callersFunctionbuildAddressEntry
(address, family)
lib/adapters/http.js:166
↓ 1 callersFunctionbuildConfig
({es5, browser = true, minifiedVersion = true, alias, ...config})
rollup.config.js:17
↓ 1 callersFunctionbuildPath
(path, value, target, index)
lib/helpers/formDataToJSON.js:50
↓ 1 callersFunctioncallbackify
(fn, reducer)
lib/helpers/callbackify.js:3
↓ 1 callersFunctioncancel
(reason)
lib/helpers/trackStream.js:80
↓ 1 callersFunctionconvertValue
(value)
lib/helpers/toFormData.js:116
↓ 1 callersMethodcreateComment
(issue, body)
bin/GithubAPI.js:26
↓ 1 callersFunctioncreateCustomLauncher
(browser, version, platform)
karma.conf.cjs:12
↓ 1 callersFunctioncreateInstance
* 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
next →1–100 of 338, ranked by callers