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 4cc7f4ed02 ss: add static policy as a build option
In some cases devices may be too constrained to handle JSON policies but still
want to use SS apis and methodology.

This introduces an off-by-default cmake option LWS_WITH_SECURE_STREAMS_STATIC_POLICY_ONLY,
if enabled the JSON parsing part is excluded and it's assumed the user code
provides its policy as hardcoded policy structs.
2020-03-26 06:48:34 +00:00
..
minimal-secure-streams ss: add static policy as a build option 2020-03-26 06:48:34 +00:00
minimal-secure-streams-alexa ss: add static policy as a build option 2020-03-26 06:48:34 +00:00
minimal-secure-streams-avs ss: add static policy as a build option 2020-03-26 06:48:34 +00:00
minimal-secure-streams-client-tx client: secure streams 2020-03-04 12:17:49 +00:00
minimal-secure-streams-metadata ss: add static policy as a build option 2020-03-26 06:48:34 +00:00
minimal-secure-streams-policy2c ss: add static policy as a build option 2020-03-26 06:48:34 +00:00
minimal-secure-streams-proxy ss: add static policy as a build option 2020-03-26 06:48:34 +00:00
minimal-secure-streams-seq ss: add static policy as a build option 2020-03-26 06:48:34 +00:00
minimal-secure-streams-sink ss: add static policy as a build option 2020-03-26 06:48:34 +00:00
minimal-secure-streams-staticpolicy ss: add static policy as a build option 2020-03-26 06:48:34 +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