mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
![]() This adds h2 http support for the client api. The public client api requires no changes, it will detect by ALPN if the server can handle http/2, if so, it will use it. Multiple client connections using the lws api will be mapped on to the same single http/2 + tls socket using http/2 streams that are serviced simultaneously where possible. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
minimal-http-client-multi.c | ||
README.md | ||
warmcat.com.cer |
lws minimal http client multi
build
$ cmake . && make
usage
The application goes to https://warmcat.com and receives the page data same as minimal http client.
However it does it for 8 client connections concurrently.