rabbitmq / rabbitmq-web-mqtt

Provides support for MQTT over WebSockets
Other
55 stars 16 forks source link

Make it possible to configure Cowboy WebSocket options #35

Closed michaelklishin closed 6 years ago

michaelklishin commented 6 years ago

This makes it possible to configure WebSocket options as well as timeouts in modern Cowboy versions (2.4.x in master and v3.7.x). Just like in https://github.com/rabbitmq/rabbitmq-web-stomp/pull/91, compression is enabled by default.

To see if compression enabled with various configuration settings, use rabbitmq_web_stomp_examples, open an example app and see the sec-websocket-extensions request and response headers in browser developer tools.

[#161053821]