[Libwebsockets] Connecting to websocket server which doesn't use http upgrade mechanism

Lucas Stinchcombe lucasstinchcombe at gmail.com
Thu Jan 23 15:55:02 CET 2020


I'm trying to connect to we websocket url which has the form`wss://...`
using the minimal-ws-client-echo. I have a working python example using
https://pypi.org/project/websocket_client/. I did some packet capture and
noticed that the python implementation (which I have working) doesn't send
http requests and seems to establish a websocket connection directly.

Is there anyway to do this with libwebsockets?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20200123/16420a2e/attachment.htm>


More information about the Libwebsockets mailing list