MCPcopy Index your code
hub / github.com/nodejs/node / request

Function request

lib/http.js:107–109  ·  view source on GitHub ↗

* Makes an HTTP request. * @param {string | URL} url * @param {HTTPRequestOptions} [options] * @param {Function} [cb] * @returns {ClientRequest}

(url, options, cb)

Source from the content-addressed store, hash-verified

105 * @returns {ClientRequest}
106 */
107function request(url, options, cb) {
108 return new ClientRequest(url, options, cb);
109}
110
111/**
112 * Makes a `GET` HTTP request.

Callers 1

getFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…