How to receive data from web-socket in BINARY form?

I want to receive the data (both market data and order place/update response) through web-socket in BINARY form. Can anyone let me know, how can this be implemented? I want to shift to the binary format of data.
Sign In or Register to comment.