You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

https.js 310B

123456789101112131415161718192021222324
  1. /**
  2. * Module dependencies.
  3. */
  4. var http = require('./http');
  5. var https = require('https');
  6. /**
  7. * Module exports.
  8. */
  9. module.exports = get;
  10. /**
  11. * Returns a Readable stream from an "https:" URI.
  12. *
  13. * @api protected
  14. */
  15. function get (parsed, opts, fn) {
  16. opts.http = https;
  17. http(parsed, opts, fn);
  18. }