internet-programming/lab2/node_modules/union/lib/index.js

25 lines
610 B
JavaScript
Raw Normal View History

2023-10-23 13:48:44 +04:00
/*
* index.js: Top-level plugin exposing HTTP features in flatiron
*
* (C) 2011, Charlie Robbins & the Contributors
* MIT LICENSE
*
*/
var union = exports;
//
// Expose version information
//
exports.version = require('../package.json').version;
//
// Expose core union components
//
union.BufferedStream = require('./buffered-stream');
union.HttpStream = require('./http-stream');
union.ResponseStream = require('./response-stream');
union.RoutingStream = require('./routing-stream');
union.createServer = require('./core').createServer;
union.errorHandler = require('./core').errorHandler;