MCPcopy Create free account

hub / github.com/forwardemail/superagent / functions

Functions109 in github.com/forwardemail/superagent

↓ 47 callersMethodend
(data)
src/node/http2wrapper.js:186
↓ 26 callersFunctiongetSetup
()
test/support/setup.js:9
↓ 12 callersMethodpipe
(stream, options)
src/node/http2wrapper.js:181
↓ 7 callersMethodabort
(data)
src/node/http2wrapper.js:191
↓ 6 callersMethodwrite
(data, encoding)
src/node/http2wrapper.js:176
↓ 5 callersFunctionrequest
(method, url)
src/node/index.js:30
↓ 4 callersMethodgetFrame
()
src/node/http2wrapper.js:88
↓ 4 callersMethodsetHeader
(name, value)
src/node/http2wrapper.js:168
↓ 3 callersMethodgetHeader
(name)
src/node/http2wrapper.js:172
↓ 3 callersFunctionparse
(string_, object)
test/client/serialize.js:16
↓ 2 callersFunction_initHeaders
* Initialize internal header tracking properties on a request instance. * * @param {Object} req the instance * @api private
src/node/index.js:311
↓ 2 callersMethod_setDefaults
(request)
src/agent-base.js:31
↓ 2 callersFunctioncountClientSockets
()
test/node/request-dispose.js:9
↓ 2 callersFunctionisJSON
* Check if `mime` is json or has +json structured syntax suffix. * * @param {String} mime * @return {Boolean} * @api private
src/node/index.js:1808
↓ 2 callersFunctionisRedirect
* Check if we should follow the redirect `code`. * * @param {Number} code * @return {Boolean} * @api private
src/node/index.js:1822
↓ 2 callersFunctionserialize
* Serialize the given `obj`. * * @param {Object} obj * @return {String} * @api private
src/client.js:88
↓ 1 callersMethod_attachCookies
* Attach cookies when available to the given `req`. * * @param {Request} req * @api private
src/node/agent.js:139
↓ 1 callersFunctionacceptParameters
* Parse accept params `str` returning an * object with `.value`, `.quality` and `.params`. * also includes `.originalIndex` for stable sorting * *
test/support/express/utils.js:98
↓ 1 callersFunctionassertDisposed
(nodeRequest)
test/node/request-dispose.js:19
↓ 1 callersFunctionbufferToChunks
(buffer)
src/node/index.js:1636
↓ 1 callersFunctioncheck
()
test/node/request-dispose.js:45
↓ 1 callersFunctionclose
(server_)
test/node/security.js:67
↓ 1 callersFunctioncompleteAbortedResponse
()
src/node/index.js:1575
↓ 1 callersFunctioncreateETagGenerator
* Create an ETag generator function, generating ETags with * the given options. * * @param {object} options * @return {function} * @private
test/support/express/utils.js:257
↓ 1 callersFunctiondefaultCookiePath
(pathname)
src/node/agent.js:12
↓ 1 callersFunctiondefineGetter
* Helper function for creating a getter on an object. * * @param {Object} obj * @param {String} name * @param {Function} getter * @private
test/support/express/requestDecorator.js:496
↓ 1 callersFunctiondisposeNodeRequest
* Close an underlying Node request/session created during setup. * * Used when header application or later request-path work throws after * `http.r
src/node/index.js:74
↓ 1 callersFunctiondomainMatches
* Whether `requestHost` domain-matches the cookie `domain` attribute * (RFC 6265 Section 5.1.3). IP addresses only match themselves. * * @param {St
src/node/agent.js:26
↓ 1 callersFunctionendError
(request_)
test/node/request-dispose.js:81
↓ 1 callersFunctionfilterCookiesForHost
* Filter Set-Cookie values so that a server can only set cookies for itself. * * `cookiejar` stores any explicit `Domain` attribute as given, which
src/node/agent.js:51
↓ 1 callersFunctiongetFreePort
(fn)
test/node/network-error.js:7
↓ 1 callersFunctiongetFullPath
(filename)
test/node/multipart.js:16
↓ 1 callersFunctiongetProgressMonitor
()
src/node/index.js:1616
↓ 1 callersFunctionhasNonEmptyResponseContent
(res)
src/node/index.js:1826
↓ 1 callersFunctionisAllowedRedirectTarget
* Whether a redirect from `current` to `target` may be followed. * * Only http(s) targets are followed. A remote server must never be able to * ste
src/node/index.js:193
↓ 1 callersFunctionisBinary
(mime)
src/node/index.js:1790
↓ 1 callersFunctionisJSON
* Check if `mime` is json or has +json structured syntax suffix. * * @param {String} mime * @return {Boolean} * @api private
src/client.js:273
↓ 1 callersFunctionisSameOrigin
* Whether two URLs share an origin. Unix socket URLs have an opaque (`null`) * WHATWG origin, so they are compared by protocol and socket path instea
src/node/index.js:213
↓ 1 callersFunctionisText
* Check if `mime` is text and should be buffered. * * @param {String} mime * @return {Boolean} * @api public
src/node/index.js:1777
↓ 1 callersFunctionlisten
(handler)
test/node/request-dispose.js:68
↓ 1 callersFunctionlisten
(server_, target)
test/node/security.js:49
↓ 1 callersFunctionlookupType
* Map a short type name through `request.types`, falling back to the name * itself. Only own entries count: a name such as "constructor" must not *
src/client.js:195
↓ 1 callersMethodmapToHttp2Header
(headers)
src/node/http2wrapper.js:145
↓ 1 callersMethodmapToHttpHeader
(headers)
src/node/http2wrapper.js:122
↓ 1 callersFunctionnormalizeIpv6Host
(host)
src/node/http2wrapper.js:25
↓ 1 callersFunctiononaborted
()
test/support/express/responseDecorator.js:893
↓ 1 callersFunctiononerror
(error)
test/support/express/responseDecorator.js:913
↓ 1 callersFunctionparseHeader
* Parse the given header `str` into * an object containing the mapped fields. * * @param {String} str * @return {Object} * @api private
src/client.js:240
↓ 1 callersFunctionpreserveDotSegments
* Preserve dot-only path segments that WHATWG URL normalizes away. * * @param {String} urlString * @returns {{urlString: String, restorePath: Funct
src/node/index.js:124
↓ 1 callersFunctionpushEncodedKeyValuePair
* Helps 'serialize' with serializing arrays. * Mutates the pairs array. * * @param {Array} pairs * @param {String} key * @param {Mixed} val
src/client.js:107
↓ 1 callersFunctionread
(file)
test/node/multipart.js:12
↓ 1 callersFunctionsendfile
(res, file, options, callback)
test/support/express/responseDecorator.js:888
↓ 1 callersFunctionserialize
(object, res)
test/client/serialize.js:5
↓ 1 callersFunctionserveImageWithType
(res, type)
test/support/server.js:518
↓ 1 callersMethodsetNoDelay
(bool)
src/node/http2wrapper.js:82
↓ 1 callersFunctionstringify
* Stringify JSON, like JSON.stringify, but v8 optimized, with the * ability to escape characters that can trigger HTML sniffing. * * @param {*} val
test/support/express/responseDecorator.js:993
↓ 1 callersFunctionuniqid
()
test/retry.js:6
↓ 1 callersFunctionwaitForNoNewSockets
(before, timeoutMs = 500)
test/node/request-dispose.js:37
↓ 1 callersFunctionwithDefaultProtocol
* Default a scheme-less URL string to http://. * * @param {String} urlString * @return {String} * @api private
src/node/index.js:168
Function'application/x-www-form-urlencoded'
(object)
src/client.js:209
Function'application/x-www-form-urlencoded'
(object)
src/node/index.js:262
FunctionNewRequest
(...args)
test/use.js:61
FunctionRequest
* Initialize a new `Request` with the given `method` and `url`. * * @param {String} method * @param {String} url * @api public
src/client.js:427
FunctionRequest
* Initialize a new `Request` with the given `method` and `url`. * * @param {String} method * @param {String|Object} url * @api public
src/node/index.js:328
FunctionRequestBase
* Initialize a new `RequestBase`. * * @api public
src/request-base.js:18
FunctionResponse
* Initialize a new `Response` with the given `xhr`. * * - set flags (.ok, .error, etc) * - parse header * * Examples: * * Aliasing `superage
src/client.js:325
FunctionResponse
* Initialize a new `Response` with the given `xhr`. * * - set flags (.ok, .error, etc) * - parse header * * @param {Request} req * @param {Obj
src/node/response.js:30
FunctionResponseBase
* Initialize a new `ResponseBase`. * * @api public
src/response-base.js:19
Method_destroy
(error, callback)
src/node/http2wrapper.js:197
Method_saveCookies
* Save the cookies in the given `res` to * the agent's cookie jar for persistence. * * @param {Response} res * @api private
src/node/agent.js:118
FunctionaddRequest
()
test/node/basic.js:332
Functionapply
(target, thisArg, argumentsList)
src/client.js:912
Functionapply
(target, thisArgument, argumentsList)
src/node/agent.js:176
Methodconstructor
()
src/agent-base.js:27
Methodconstructor
(protocol, options)
src/node/http2wrapper.js:30
Methodconstructor
(options)
src/node/agent.js:83
FunctioncreateApp
()
test/support/express/index.js:16
MethodcreateUnixConnection
(authority, options)
src/node/http2wrapper.js:68
Functiondefault
()
test/support/express/responseDecorator.js:815
Functiondel
* DELETE `url` with optional `data` and callback `fn(res)`. * * @param {String} url * @param {Mixed} [data] * @param {Function} [fn] * @return {R
src/client.js:1017
FunctionemitDrain
()
src/node/index.js:1068
Functionencoder
(string)
src/node/index.js:829
Functionget
()
src/node/response.js:53
FunctionhandleProgress
(direction, e)
src/client.js:808
FunctionhandleResponse
(res)
src/node/index.js:1354
Functionhtml
()
test/support/express/responseDecorator.js:803
FunctionmyLookup
(hostname, options, callback)
test/node/lookup.js:9
Functionnoop
* Noop.
src/client.js:32
Functionnoop
* Noop.
src/node/index.js:63
Functionondirectory
()
test/support/express/responseDecorator.js:903
Functiononend
()
test/support/express/responseDecorator.js:920
Functiononfile
()
test/support/express/responseDecorator.js:927
Functiononfinish
(error)
test/support/express/responseDecorator.js:932
Functiononstream
()
test/support/express/responseDecorator.js:950
FunctionparseExtendedQueryString
* Parse an extended query string with qs. * * @return {Object} * @private
test/support/express/utils.js:272
FunctionparseString
* Parse the given x-www-form-urlencoded `str`. * * @param {String} str * @return {Object} * @api private
src/client.js:142
Functionprefix
(request_)
test/use.js:24
Functionread
()
test/node/pipe.js:97
Functionrequest
(options)
src/node/http2wrapper.js:19
FunctionrestorePath
(path)
src/node/index.js:131
next →1–100 of 109, ranked by callers