deb-zaqar/zaqar/transport/websocket
Eva Balycheva 49c90739de Support binary messages over websocket
For now Zaqar's websocket transport can only send and receive text
messages in JSON format.
By using messages in binary format it's possible to reduce network
traffic between Zaqar server and it's clients. In most cases it's also
possible to increase performance.

This patch implements support for binary messages over websocket
transport in Zaqar server.
The MessagePack format was chosen for encoding/decoding messages as it's
effective enough and available in convenient libraries for most
programming languages.

This patch also modifies "examples/websockets.html" example to be able
to send and receive binary messages.

All "print" function calls are substituted to local logger calls.

DocImpact
APIImpact The patch adds new functionality. Now sending binary request
over websocket doesn't automatically return response with code 400,
because now websocket transport is able to process binary requests
encoded in MessagePack.
blueprint: websocket-binary-support
Change-Id: I07a7c46795e3b510ee397a6d2c4665e770c2c4b2
2016-02-26 01:59:12 +03:00
..
__init__.py Adds websockets driver to Zaqar server 2015-03-11 17:02:01 -03:00
driver.py Merge "Add oslo_config IPOpt support" 2015-11-01 21:20:26 +00:00
factory.py Support binary messages over websocket 2016-02-26 01:59:12 +03:00
protocol.py Support binary messages over websocket 2016-02-26 01:59:12 +03:00