GT2/GT2-iOS/node_modules/get-uri/https.js

25 lines
310 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
/**
* Module dependencies.
*/
var http = require('./http');
var https = require('https');
/**
* Module exports.
*/
module.exports = get;
/**
* Returns a Readable stream from an "https:" URI.
*
* @api protected
*/
function get (parsed, opts, fn) {
opts.http = https;
http(parsed, opts, fn);
}