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 3f4623bb36 lws_metrics
There are a few build options that are trying to keep and report
various statistics

 - DETAILED_LATENCY
 - SERVER_STATUS
 - WITH_STATS

remove all those and establish a generic rplacement, lws_metrics.

lws_metrics makes its stats available via an lws_system ops function
pointer that the user code can set.

Openmetrics export is supported, for, eg, prometheus scraping.
2021-03-08 21:47:28 +00:00
..
minimal-http-client minimal-http-client: set option to fix broken server window update 2021-02-28 12:10:26 +00:00
minimal-http-client-attach solaris: pthread is not a ptr 2021-03-08 20:44:10 +00:00
minimal-http-client-captive-portal type comparisons: fixes 2021-01-05 10:56:38 +00:00
minimal-http-client-certinfo LE-root-cert-update 2021-01-13 04:32:13 +00:00
minimal-http-client-custom-headers LE-root-cert-update 2021-01-13 04:32:13 +00:00
minimal-http-client-fi fault injection 2021-02-20 13:54:35 +00:00
minimal-http-client-h2-rxflow ctest: adapt background script 2021-01-26 07:48:10 +00:00
minimal-http-client-hugeurl sai-resource 2021-02-24 08:56:27 +00:00
minimal-http-client-multi lws_metrics 2021-03-08 21:47:28 +00:00
minimal-http-client-post ctest: mbedtls: disable spawned server valgrind 2021-02-03 08:49:59 +00:00
README.md minimal-http-client-custom-headers 2019-03-12 11:57:43 +08:00

name demonstrates
minimal-http-client-certinfo Shows how to gain detailed information on the peer certificate
minimal-http-client-custom-headers Shows how to send and receive custom headers (h1 only)
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-post POSTs a form containing an uploaded file and a form variable, and captures the response
minimal-http-client Connects to and reads https://warmcat.com