Repository navigation
websocket onMessage data type #15049
Unanswered
Srabutdotcom
asked this question in
Q&A
Replies: 1 comment
|
Yes. A WebSocket message is a text or binary frame; it does not preserve the JavaScript class passed to If you prefer |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Dear All,
So far i use websocket to send string from client to server is fine,
And recently, I just try send data from Client with data type other than string i.e. ArrayBuffer, Blob, TypedArray and DataView.
However, when i check in data received in server (Deno websocket) was only ArrayBuffer or its having different type from Client, except ArrayBuffer its self.
My question is, whether it is the default of Deno.websocket if the data type received from Client is only String and ArrayBuffer instead any data type?
All reactions