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.

24 lines
610 B

7 years ago
  1. /*
  2. * index.js: Top-level plugin exposing HTTP features in flatiron
  3. *
  4. * (C) 2011, Charlie Robbins & the Contributors
  5. * MIT LICENSE
  6. *
  7. */
  8. var union = exports;
  9. //
  10. // Expose version information
  11. //
  12. exports.version = require('../package.json').version;
  13. //
  14. // Expose core union components
  15. //
  16. union.BufferedStream = require('./buffered-stream');
  17. union.HttpStream = require('./http-stream');
  18. union.ResponseStream = require('./response-stream');
  19. union.RoutingStream = require('./routing-stream');
  20. union.createServer = require('./core').createServer;
  21. union.errorHandler = require('./core').errorHandler;