Binary data from websocket 2.0
-
Hi @admin ,
i'm trying to implement websocket 2.0 without using smartapi library,
can you please provide guidance for how to read binary data provided by websocket 2.0. tried different but nothing work, can you provide way that can help.
-
@vrkhyd
CLOSED.
got it.
need to step by step parse the bytes as mentioned it here
https://smartapi.angelbroking.com/docs/WebSocket2Too much of effort!!
Feedback - could have been a simpler contract -
@vrkhyd
this doc does not talks anything about decoding the binary data.I am also facing the same issue.
nodejs message log:-
{ "type": "binary", "binaryData": { "type": "Buffer", "data": [ 1, 1, 54, 51, 53, 53, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 125, 47, 85, 0, 0, 0, 0, 0, 232, 190, 43, 46, 133, 1, 0, 0, 64, 239, 7, 0, 0, 0, 0, 0 ] } }
-
@TB_Developer
check.. Websocket 2.0 Documentation https://drive.google.com/drive/u/1/folders/1GMwTMfxRdiloUziV4DYwlYchGXbOvTfL