mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
cfd7737f5a
--HG-- extra : rebase_source : b68f6dbf8faa5b97b4a97417d35c037b0557e426
33 lines
745 B
JavaScript
33 lines
745 B
JavaScript
var spdy = exports;
|
|
|
|
// Exports utils
|
|
spdy.utils = require('./spdy/utils');
|
|
|
|
// Export parser&framer
|
|
spdy.protocol = {};
|
|
|
|
try {
|
|
spdy.protocol.generic = require('./spdy/protocol/generic.node');
|
|
} catch (e) {
|
|
spdy.protocol.generic = require('./spdy/protocol/generic.js');
|
|
}
|
|
|
|
// Supported SPDY versions
|
|
spdy.protocol[2] = require('./spdy/protocol/v2');
|
|
spdy.protocol[3] = require('./spdy/protocol/v3');
|
|
|
|
spdy.parser = require('./spdy/parser');
|
|
|
|
// Export ServerResponse
|
|
spdy.response = require('./spdy/response');
|
|
|
|
// Export Scheduler
|
|
spdy.scheduler = require('./spdy/scheduler');
|
|
|
|
// Export ZlibPool
|
|
spdy.zlibpool = require('./spdy/zlib-pool');
|
|
|
|
// Export server
|
|
spdy.server = require('./spdy/server');
|
|
spdy.createServer = spdy.server.create;
|