File: README.md

package info (click to toggle)
libwebsockets 4.3.5-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 31,288 kB
  • sloc: ansic: 194,407; javascript: 1,550; sh: 1,387; cpp: 505; java: 461; perl: 405; xml: 118; makefile: 76; awk: 5
file content (30 lines) | stat: -rw-r--r-- 856 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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.

## Commandline Options

Option|Meaning
---|---
-s|Stagger the connections by 100ms, the last by 1s
-p|Use http/1.1 pipelining or h2 simultaneous streams
--h1|Force http/1 only
-l|Connect to server on https://localhost:7681 instead of https://warmcat.com:443
-n|Read numbered files like /1.png, /2.png etc.  Default is just read /
--uv|Use libuv event loop if lws built for it
--event|Use libevent event loop if lws built for it
--ev|Use libev event loop if lws built for it
--post|POST to the server rather than GET
-c<n>|Create n connections (n can be 1 .. 8)
--path <path>|Force the URL path (should start with /)