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

Function get

lib/https.js:664–668  ·  view source on GitHub ↗

* Makes a GET request to a secure web server. * @param {string | URL} input * @param {{ * agent?: Agent | boolean; * auth?: string; * createConnection?: Function; * defaultPort?: number; * family?: number; * headers?: object; * hints?: number; * host?: string; * hostname

(input, options, cb)

Source from the content-addressed store, hash-verified

662 * @returns {ClientRequest}
663 */
664function get(input, options, cb) {
665 const req = request(input, options, cb);
666 req.end();
667 return req;
668}
669
670module.exports = {
671 Agent,

Callers

nothing calls this directly

Calls 2

requestFunction · 0.70
endMethod · 0.45

Tested by

no test coverage detected