1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/minimal-examples/secure-streams
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-secure-streams lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-alexa lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-avs lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-client-tx minimal-ss-client-tx: add -c flag for count of rx to get 2021-02-26 08:23:12 +00:00
minimal-secure-streams-cpp wip: ss c++ classes 2020-12-02 10:15:50 +00:00
minimal-secure-streams-hugeurl ss: support huge urls 2021-03-05 14:13:26 +00:00
minimal-secure-streams-metadata LE-root-cert-update 2021-01-13 04:32:13 +00:00
minimal-secure-streams-metrics-proxy lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-policy2c ip tos support 2021-02-04 10:28:02 +00:00
minimal-secure-streams-post lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-proxy lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-seq LE-root-cert-update 2021-01-13 04:32:13 +00:00
minimal-secure-streams-server LE-root-cert-update 2021-01-13 04:32:13 +00:00
minimal-secure-streams-server-raw type comparisons: fixes 2021-01-05 10:56:38 +00:00
minimal-secure-streams-sigv4 sigv4: allow arbitrary hash payloads 2021-01-29 15:53:49 +00:00
minimal-secure-streams-smd lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-staticpolicy lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-testsfail lws_metrics 2021-03-08 21:47:28 +00:00
README.md client: secure streams 2020-03-04 12:17:49 +00:00

Secure Streams

Secure Streams is a client API that strictly decouples the policy for connections from the payloads. The user code only deals with the stream type name and payloads, a policy database set at lws_context creation time decides all policy about the connection, including the endpoint, tls CA, and even the wire protocol.

name demonstrates
minimal-secure-streams Minimal secure streams client / proxy example
minimal-secure-streams-tx Proxy used for client-tx test below
minimal-secure-streams-client-tx Secure streams client showing tx and rx