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
If I try to manually construct and pass to send() a JSON object that looks like a struct SendMessage, the handler is not called at all and the messages are silently eaten:
Could be that I'm using it wrong, but I can't find documentation or code samples that go beyond the trivial "just print log messages" sort of use case.
The text was updated successfully, but these errors were encountered:
Seems like it's just misleading naming and we're supposed to use Other. As for accessing the binary data, that seems to have been a missing feature and I've opened #186 to address it.
When I send a message from my script using
send()
like below, I'd expect it to be parsed as aSendMessage
:Instead, it gets handled as a message of type
Other
, in a manner where I can't access the data payload at all:If I try to manually construct and pass to
send()
a JSON object that looks like astruct SendMessage
, the handler is not called at all and the messages are silently eaten:Could be that I'm using it wrong, but I can't find documentation or code samples that go beyond the trivial "just print log messages" sort of use case.
The text was updated successfully, but these errors were encountered: