1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/http-client
Andy Green 2a9b6f54c6 client: h2
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.
2018-04-06 10:38:03 +08:00
..
minimal-http-client client: h2 2018-04-06 10:38:03 +08:00
minimal-http-client-hugeurl minimal-http-client-hugeurl 2018-04-06 10:38:03 +08:00
minimal-http-client-multi client: h2 2018-04-06 10:38:03 +08:00
README.md minimal-http-client-hugeurl 2018-04-06 10:38:03 +08:00

name demonstrates
minimal-http-client-hugeurl Sends a > 2.5KB URL to warmcat.com
minimal-http-client-multi Connects to and reads https://warmcat.com, 8 times concurrently
minimal-http-client Connects to and reads https://warmcat.com