• Home
Name Date Size #Lines LOC

..--

CMakeLists.txtD03-May-20242.7 KiB10386

README.mdD03-May-2024943 3324

main.cD03-May-20244.9 KiB211152

warmcat.com.cerD03-May-20243.5 KiB5958

README.md

1# lws minimal http client gtk
2
3The application goes to https://warmcat.com and receives the page data,
4from inside a gtk app using gtk / glib main loop directly.
5
6## build
7
8```
9 $ cmake . && make
10```
11
12## usage
13
14
15```
16$
17t1_main: started
18[2020/02/08 18:04:07:6647] N: Loading client CA for verification ./warmcat.com.cer
19[2020/02/08 18:04:07:7744] U: Connected to 46.105.127.147, http response: 200
20[2020/02/08 18:04:07:7762] U: RECEIVE_CLIENT_HTTP_READ: read 4087
21[2020/02/08 18:04:07:7762] U: RECEIVE_CLIENT_HTTP_READ: read 4096
22[2020/02/08 18:04:07:7928] U: RECEIVE_CLIENT_HTTP_READ: read 4087
23[2020/02/08 18:04:07:7929] U: RECEIVE_CLIENT_HTTP_READ: read 4096
24[2020/02/08 18:04:07:7956] U: RECEIVE_CLIENT_HTTP_READ: read 4087
25[2020/02/08 18:04:07:7956] U: RECEIVE_CLIENT_HTTP_READ: read 4096
26[2020/02/08 18:04:07:7956] U: RECEIVE_CLIENT_HTTP_READ: read 1971
27[2020/02/08 18:04:07:7956] U: LWS_CALLBACK_COMPLETED_CLIENT_HTTP
28Hello World
29$
30```
31
32
33