pike.git / lib / modules / Protocols.pmod / EngineIO.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/EngineIO.pmod:62:   #define TIMEBYTES 6      //! Global options for all EngineIO instances.   //!   //! @seealso   //! @[Socket.create()], @[Gz.compress()]   final mapping options = ([    "pingTimeout": 64*1000, // Safe for NAT    "pingInterval": 29*1000, // Allows for jitter   #if constant(Gz.deflate) -  "compressionLevel": 1, +  "compressionLevel": 3,    "compressionStrategy": Gz.DEFAULT_STRATEGY,    "compressionThreshold": 256, // Compress when size>=    "compressionWindowSize": 15, // LZ77 window 2^x (8..15)   #endif    "allowUpgrades": 1   ]);      //! Engine.IO protocol version.   constant protocol = 3; // EIO Protocol version