spdy.js 506 B

1234567891011121314151617181920
  1. 'use strict'
  2. var spdy = exports
  3. // Export tools
  4. spdy.handle = require('./spdy/handle')
  5. spdy.request = require('./spdy/request')
  6. spdy.response = require('./spdy/response')
  7. spdy.Socket = require('./spdy/socket')
  8. // Export client
  9. spdy.agent = require('./spdy/agent')
  10. spdy.Agent = spdy.agent.Agent
  11. spdy.createAgent = spdy.agent.create
  12. // Export server
  13. spdy.server = require('./spdy/server')
  14. spdy.Server = spdy.server.Server
  15. spdy.PlainServer = spdy.server.PlainServer
  16. spdy.createServer = spdy.server.create