jazzband / django-ddp

Django/PostgreSQL implementation of the Meteor server.
MIT License
167 stars 29 forks source link

Support raw websocket connections #27

Open vpatil opened 8 years ago

vpatil commented 8 years ago

django-ddp always responds with SockJS-style framing, regardless of the URL used to connect to the websocket

For example: a["{\"server_id\":\"0\"}"]

Using /websocket and /sockjs/websocket should return raw, unframed data while /sockjs/999/foo/websocket should use the SockJS framing.