michael@0: // [node-http2][homepage] is an [HTTP/2 (draft 10)][http2] implementation for [node.js][node]. michael@0: // michael@0: // The core of the protocol is implemented by the [http2-protocol] module. This module provides michael@0: // two important features on top of http2-protocol: michael@0: // michael@0: // * Implementation of different negotiation schemes that can be used to start a HTTP2 connection. michael@0: // These include TLS ALPN, Upgrade and Plain TCP. michael@0: // michael@0: // * Providing an API very similar to the standard node.js [HTTPS module API][node-https] michael@0: // (which is in turn very similar to the [HTTP module API][node-http]). michael@0: // michael@0: // [homepage]: https://github.com/molnarg/node-http2 michael@0: // [http2-protocol]: https://github.com/molnarg/node-http2-protocol michael@0: // [http2]: http://tools.ietf.org/html/draft-ietf-httpbis-http2-10 michael@0: // [node]: http://nodejs.org/ michael@0: // [node-https]: http://nodejs.org/api/https.html michael@0: // [node-http]: http://nodejs.org/api/http.html michael@0: michael@0: module.exports = require('./http'); michael@0: michael@0: /* michael@0: HTTP API michael@0: michael@0: | ^ michael@0: | | michael@0: +-------------|------------|------------------------------------------------------+ michael@0: | | | Server/Agent | michael@0: | v | | michael@0: | +----------+ +----------+ | michael@0: | | Outgoing | | Incoming | | michael@0: | | req/res. | | req/res. | | michael@0: | +----------+ +----------+ | michael@0: | | ^ | michael@0: | | | | michael@0: | +---------|------------|-------------------------------------+ +----- | michael@0: | | | | Endpoint | | | michael@0: | | | | | | | michael@0: | | v | | | | michael@0: | | +-----------------------+ +-------------------- | | | michael@0: | | | Stream | | Stream ... | | | michael@0: | | +-----------------------+ +-------------------- | | | michael@0: | | | | | michael@0: | +------------------------------------------------------------+ +----- | michael@0: | | | | michael@0: | | | | michael@0: | v | | michael@0: | +------------------------------------------------------------+ +----- | michael@0: | | TCP stream | | ... | michael@0: | +------------------------------------------------------------+ +----- | michael@0: | | michael@0: +---------------------------------------------------------------------------------+ michael@0: michael@0: */