Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
CMakeLists.txt | D | 12-May-2024 | 8.8 KiB | 209 | 188 | |
README.md | D | 12-May-2024 | 856 | 30 | 23 | |
minimal-http-client-multi.c | D | 12-May-2024 | 18.1 KiB | 706 | 464 | |
warmcat.com.cer | D | 12-May-2024 | 1.9 KiB | 33 | 31 |
README.md
1# lws minimal http client multi 2 3## build 4 5``` 6 $ cmake . && make 7``` 8 9## usage 10 11The application goes to https://warmcat.com and receives the page data 12same as minimal http client. 13 14However it does it for 8 client connections concurrently. 15 16## Commandline Options 17 18Option|Meaning 19---|--- 20-s|Stagger the connections by 100ms, the last by 1s 21-p|Use http/1.1 pipelining or h2 simultaneous streams 22--h1|Force http/1 only 23-l|Connect to server on https://localhost:7681 instead of https://warmcat.com:443 24-n|Read numbered files like /1.png, /2.png etc. Default is just read / 25--uv|Use libuv event loop if lws built for it 26--event|Use libevent event loop if lws built for it 27--ev|Use libev event loop if lws built for it 28--post|POST to the server rather than GET 29-c<n>|Create n connections (n can be 1 .. 8) 30--path <path>|Force the URL path (should start with /)