var https2 = exports;
This is the main API that can be used to create HTTP/2 server that runs on top of TLS.
var https2 = exports;
The main governing power behind the http2 API design is that it should look very similar to the existing node.js HTTP/HTTPS APIs. The additional features of HTTP/2 are exposed as extensions to these APIs. Furthermore, node-http2 should fall back to using HTTP/1.1 if needed.
var https = require('https');
var default_settings = {};
https2.createServer = function createServer(options, requestListener) {
};
https2.request = function request(options, callback) {
};
https2.get = function get(options, callback) {
};
HTTPS agents are not yet supported, so every client request will create a new TCP stream.