You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add the ability to send/receive events via the websocket protocol #156
Lance Ball(opens in new tab) 4 hours ago
Scott Nichols re: how you want to use the SDK. Do you want to be able to send events directly from the browser?
Lance Ball(opens in new tab) 4 hours ago
Do you see this as a potentially common use case?
Scott Nichols(opens in new tab) 4 hours ago
well in the case of a browser, I don’t want it to send http post anything
Scott Nichols(opens in new tab) 4 hours ago
likely I would wire it up to a websocket
Lance Ball(opens in new tab) 4 hours ago
which would mean un/marshalling the event yourself
Scott Nichols(opens in new tab) 4 hours ago
but I see value in using this as a backend in node too
Lance Ball(opens in new tab) 4 hours ago
for sure
Scott Nichols(opens in new tab) 4 hours ago
well, not really if I could write a lib that you can send events to the active websocket
Scott Nichols(opens in new tab) 4 hours ago
that component would handle event-to-ws conversion
Scott Nichols(opens in new tab) 4 hours ago
if that was bi-directional, how awesome would that be… (edited)
Lance Ball(opens in new tab) 4 hours ago
sure - I'm just saying there is nothing in the SDK that would support send/receive over websockets today
Lance Ball(opens in new tab) 4 hours ago
but that's a great feature to add 😉
Scott Nichols(opens in new tab) 4 hours ago
I would be happy to help hack on that
Activity
examples: add a WebSocket example
examples: add a WebSocket example
examples: add a WebSocket example
examples: add a WebSocket example (#218)