Open frank-dspeed opened 3 years ago
event: userconnect data: {"username": "bobby", "time": "02:33:48"}
data: Here's a system message of some kind that will get used data: to accomplish some task.
event: usermessage data: {"username": "bobby", "time": "02:34:11", "text": "Hi everyone."}
each seperated by \n new line
data without event gets recived via onmessage and the rest via addEventListner.
the data is always a Stream of UTF-8 Char Data.
https://stackoverflow.com/questions/4488338/webview-android-proxy
stream fetch api is not solid on all platforms
we can not intercept requests on all platforms without stripping the protocol as workaround.
event: userconnect data: {"username": "bobby", "time": "02:33:48"}
data: Here's a system message of some kind that will get used data: to accomplish some task.
event: usermessage data: {"username": "bobby", "time": "02:34:11", "text": "Hi everyone."}
each seperated by \n new line
data without event gets recived via onmessage and the rest via addEventListner.
the data is always a Stream of UTF-8 Char Data.
https://stackoverflow.com/questions/4488338/webview-android-proxy
stream fetch api is not solid on all platforms
we can not intercept requests on all platforms without stripping the protocol as workaround.