websocket
websocket copied to clipboard
Websockets for Elm
This makes it easy to have the same code running in dev/staging/production environments since you are now able to use relative paths instead of absolute paths for the websocket endpoint....
I'd like to send protobuf messages over a websocket, but the only interface that WebSocket exposes is String-based.
I am trying to pass my user credentials to my websocket server using the url `ws://username:[email protected]`. Unfortunately on the server side I don't see any `Authorization` header. I initially thought...
### Proposed changes **Add `onOpen` and `onClose` subscriptions** This would fix #14 and #10 and was my primary motivation for proposing these changes. These subscriptions are important for pretty much...
To reproduce this issue, try the SSCCE that follows and double click on the Toggle button a couple of times. You should see multiple open/pending connections in Chrome's Network tab....
Example javascript code ``` new WebSocket("ws://localhost:5280/ws-xmpp", ["xmpp"]) ```
**Elm Version:** 0.18 **OS**: Mac OS X **Browser**: Chrome **SSCCE**: Because this is a bug internal to the websocket library, it can't be illustrated in an isolated example. Here are...
Fixes #17
Websocket reconnect attempts should be spaced out randomly, to spread out any spikes that might have caused the outage in the first place. Otherwise you'll just overload the server again...
Never contributed before. Gotta start somewhere :)