spdy-transport.js 760 B

1234567891011121314151617181920212223242526
  1. 'use strict'
  2. var transport = exports
  3. // Exports utils
  4. transport.utils = require('./spdy-transport/utils')
  5. // Export parser&framer
  6. transport.protocol = {}
  7. transport.protocol.base = require('./spdy-transport/protocol/base')
  8. transport.protocol.spdy = require('./spdy-transport/protocol/spdy')
  9. transport.protocol.http2 = require('./spdy-transport/protocol/http2')
  10. // Window
  11. transport.Window = require('./spdy-transport/window')
  12. // Priority Tree
  13. transport.Priority = require('./spdy-transport/priority')
  14. // Export Connection and Stream
  15. transport.Stream = require('./spdy-transport/stream').Stream
  16. transport.Connection = require('./spdy-transport/connection').Connection
  17. // Just for `transport.connection.create()`
  18. transport.connection = transport.Connection