Replies: 2 comments 4 replies
-
Interesting, I didn't think about this. If you want to send nothing you can try to put an empty tuple |
Beta Was this translation helpful? Give feedback.
-
It is not very clear, it may help you to know that binary packets are always pushed at the end of the payload. If someone would like to add this info to the doc feel free to make a PR :).
It is not possible to change from In any case someone is going to complain that null / undefined / [] is not supported. |
Beta Was this translation helpful? Give feedback.
-
in js socketio can emit only event id data , like
.emit("init-room")
, then will send package like42["init-room"]
. but in socketioxide must send aserde_json::Value
data. how can i emit be like js send a empty dataBeta Was this translation helpful? Give feedback.
All reactions