[Libwebsockets] Ho to send multiple request via same connection

Rinat rinaty at gmail.com
Mon Sep 18 23:26:38 CEST 2017


I'm making client and would like to send multiple requests (for example
GET) using the same connection.

After the first connect:
wsi = lws_client_connect_via_info(&i);

Client automatically send the first GET request, and process the HTML
response.I could initiate aconnection again calling the same function, but
it's have big overheads (SSL connection establishment).

Best regards,
Rinat Yaminov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20170919/c58edcb9/attachment.html>

More information about the Libwebsockets mailing list