mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
See also: https://github.com/socketio/engine.io-protocol#difference-between-v3-and-v4 Release: https://github.com/socketio/engine.io-parser/releases/tag/4.0.0 Diff: https://github.com/socketio/engine.io-parser/compare/2.2.0...4.0.0
8 lines
196 B
JavaScript
8 lines
196 B
JavaScript
const globalThis = require("../globalThis");
|
|
|
|
module.exports = {
|
|
WebSocket: globalThis.WebSocket || globalThis.MozWebSocket,
|
|
usingBrowserWebSocket: true,
|
|
defaultBinaryType: "arraybuffer"
|
|
};
|