MCPcopy Create free account

hub / github.com/axios/axios / functions

Functions302 in github.com/axios/axios

↓ 31 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
↓ 28 callersMethodget
(header, parser)
lib/core/AxiosHeaders.js:110
↓ 22 callersMethodcreate
(config?: CreateAxiosDefaults)
index.d.ts:539
↓ 20 callersMethodfrom
(thing)
lib/core/AxiosHeaders.js:248
↓ 17 callersFunctiondone
()
lib/adapters/xhr.js:54
↓ 14 callersFunctiongetAjaxRequest
()
test/specs/__helpers.js:15
↓ 13 callersMethodtoString
()
lib/core/AxiosHeaders.js:240
↓ 11 callersFunctionlib$es6$promise$$internal$$reject
(promise,reason)
test/manual/promise.js:9
↓ 10 callersMethodtoJSON
(asStrings)
lib/core/AxiosHeaders.js:226
↓ 8 callersMethodconcat
(...targets)
lib/core/AxiosHeaders.js:222
↓ 8 callersMethodset
(header, valueOrRewrite, rewrite)
lib/core/AxiosHeaders.js:79
↓ 7 callersFunctionlib$es6$promise$$internal$$fulfill
(promise,value)
test/manual/promise.js:9
↓ 7 callersMethoduse
(onFulfilled?: ((value: V) => V | Promise<V>) | null, onRejected?: ((error: any) => any) | null, options?: Axi
index.d.ts:477
↓ 6 callersMethoddelete
(header, matcher)
lib/core/AxiosHeaders.js:152
↓ 6 callersFunctionlib$es6$promise$$internal$$resolve
(promise,value)
test/manual/promise.js:9
↓ 6 callersFunctionmergeConfig
(config1, config2)
lib/core/mergeConfig.js:17
↓ 5 callersMethodappend
(name: string, value: any, options?: any)
index.d.ts:515
↓ 5 callersFunctioncolorize
(...colors)
bin/helpers/colorize.js:3
↓ 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:237
↓ 5 callersFunctionlib$es6$promise$asap$$asap
(callback,arg)
test/manual/promise.js:9
↓ 5 callersFunctionnormalizeHeader
(header)
lib/core/AxiosHeaders.js:8
↓ 5 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
↓ 5 callersMethodsource
()
index.d.ts:457
↓ 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)
lib/core/buildFullPath.js:16
↓ 4 callersFunctionbuildURL
(url, params, options)
lib/helpers/buildURL.js:33
↓ 4 callersMethodclear
()
index.d.ts:479
↓ 4 callersFunctiongetMergedValue
(target, source, caseless)
lib/core/mergeConfig.js:22
↓ 4 callersMethodnormalize
(format)
lib/core/AxiosHeaders.js:195
↓ 3 callersFunctionbind
(fn, thisArg)
lib/helpers/bind.js:3
↓ 3 callersMethodeject
(id: number)
index.d.ts:478
↓ 3 callersMethodencode
()
lib/helpers/formDataToStream.js:39
↓ 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 callersMethodhas
(header, matcher)
lib/core/AxiosHeaders.js:140
↓ 3 callersFunctionisCancel
(value)
lib/cancel/isCancel.js:3
↓ 3 callersFunctionisObject
(thing)
lib/utils.js:112
↓ 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:310
↓ 3 callersFunctionparseProtocol
(url)
lib/helpers/parseProtocol.js:3
↓ 3 callersMethodsetHeader
(_value, _header, _rewrite)
lib/core/AxiosHeaders.js:82
↓ 3 callersFunctionsetTimeoutAsync
(ms)
test/unit/adapters/http.js:35
↓ 3 callersFunctionsettle
(resolve, reject, response)
lib/core/settle.js:14
↓ 3 callersMethodsubscribe
* Subscribe to the cancel signal
lib/cancel/CancelToken.js:78
↓ 3 callersMethodunsubscribe
* Unsubscribe from the cancel signal
lib/cancel/CancelToken.js:95
↓ 2 callersMethodaccessor
(header)
lib/core/AxiosHeaders.js:260
↓ 2 callersFunctioncleanTemplate
bin/contributors.js:14
↓ 2 callersFunctioncombineURLs
(baseURL, relativeURL)
lib/helpers/combineURLs.js:11
↓ 2 callersFunctiondefine
(arr)
lib/utils.js:586
↓ 2 callersFunctiondone
(value, isRejected)
lib/adapters/http.js:127
↓ 2 callersFunctionfromDataURI
(uri, asBlob, options)
lib/helpers/fromDataURI.js:19
↓ 2 callersMethodgetUri
(config)
lib/core/Axios.js:161
↓ 2 callersFunctionisAbsoluteURL
(url)
lib/helpers/isAbsoluteURL.js:10
↓ 2 callersFunctionisAxiosError
(payload)
lib/helpers/isAxiosError.js:12
↓ 2 callersFunctionkindOfTest
(type)
lib/utils.js:15
↓ 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 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 callersFunctionspeedometer
* Calculate data maxRate * @param {Number} [samplesCount= 10] * @param {Number} [min= 1000] * @returns {Function}
lib/helpers/speedometer.js:9
↓ 2 callersFunctionspread
(callback)
lib/helpers/spread.js:24
↓ 2 callersMethodthrowIfRequested
()
index.d.ts:463
↓ 2 callersMethodupdateIssue
(issue, data)
bin/GithubAPI.js:74
↓ 1 callersMethod__transform
(chunk, encoding, callback)
lib/helpers/ZlibHeaderTransformStream.js:6
↓ 1 callersFunctionabort
(reason)
lib/adapters/http.js:204
↓ 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:24
↓ 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:157
↓ 1 callersFunctionbuildConfig
({es5, browser = true, minifiedVersion = true, ...config})
rollup.config.js:16
↓ 1 callersFunctionbuildPath
(path, value, target, index)
lib/helpers/formDataToJSON.js:50
↓ 1 callersFunctioncallbackify
(fn, reducer)
lib/helpers/callbackify.js:3
↓ 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
↓ 1 callersFunctiondeduplicate
(authors)
bin/contributors.js:69
↓ 1 callersFunctionextend
(a, b, thisArg, {allOwnKeys}= {})
lib/utils.js:342
↓ 1 callersFunctionfindKey
(obj, key)
lib/utils.js:270
↓ 1 callersFunctionfireRequestAndExpect
(expectation)
test/specs/interceptors.spec.js:344
↓ 1 callersFunctionfireRequestCatchAndExpect
(expectation)
test/specs/interceptors.spec.js:416
↓ 1 callersFunctionformDataToStream
(form, headersHandler, options)
lib/helpers/formDataToStream.js:62
↓ 1 callersFunctionformatHeader
(header)
lib/core/AxiosHeaders.js:54
↓ 1 callersFunctionformatMessage
(opt, desc)
lib/helpers/validator.js:27
↓ 1 callersFunctiongenerateBody
({files, template = './templates/pr.hbs'} = {})
bin/pr.js:59
↓ 1 callersFunctiongenerateConfig
(name)
webpack.config.js:3
↓ 1 callersFunctiongenerateFileReport
(files)
bin/pr.js:40
↓ 1 callersFunctiongenerateHTTPMethod
(isForm)
lib/core/Axios.js:183
↓ 1 callersFunctiongenerateReadableStream
(length = 1024 * 1024, chunkSize = 10 * 1024, sleep = 50)
test/unit/adapters/http.js:126
next →1–100 of 302, ranked by callers