[Libwebsockets] Getting Binary type in Server

SriHarsha mynameissriharsha at gmail.com
Sat Sep 27 00:37:56 CEST 2014


Hello there,

I have a quick question on getting the binary type.

>From my javascript if I send a message with binary type as "arrayBuffer"
then in the server code how do we check if that is indeed the message type
?

Should we be using the function lws_frame_is_binary ?

If not can someone please let me know whats the correct API.

Thanks,
H
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20140926/39036df7/attachment.html>


More information about the Libwebsockets mailing list