Description
Related: #94
Based on a discussion in Slack.
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 anythingScott Nichols(opens in new tab) 4 hours ago
likely I would wire it up to a websocketLance Ball(opens in new tab) 4 hours ago
which would mean un/marshalling the event yourselfScott Nichols(opens in new tab) 4 hours ago
but I see value in using this as a backend in node tooLance Ball(opens in new tab) 4 hours ago
for sureScott 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 websocketScott Nichols(opens in new tab) 4 hours ago
that component would handle event-to-ws conversionScott 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 todayLance 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