1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/minimal-examples/secure-streams
Andy Green 704eaa5e63 ss: allow streamtype policy overlays
Make the policy load apis public with an extra argument that says if you want the
JSON to overlay on an existing policy rather than replace it.

Teach the stream type parser stuff to realize it already has an entry for the
stream type and to modify that rather than create a second one, allowing overlays
to modify stream types.

Add --force-portal and --force-no-internet flags to minimal-secure-streams and
use the new policy overlay stuff to force the policy for captive portal detection
to feel that there is one or that there's no internet.
2020-03-14 17:04:43 +00:00
..
minimal-secure-streams ss: allow streamtype policy overlays 2020-03-14 17:04:43 +00:00
minimal-secure-streams-alexa client: secure streams 2020-03-04 12:17:49 +00:00
minimal-secure-streams-avs build: release mode compile fixes 2020-03-10 06:45:24 +00:00
minimal-secure-streams-client-tx client: secure streams 2020-03-04 12:17:49 +00:00
minimal-secure-streams-proxy client: secure streams 2020-03-04 12:17:49 +00:00
minimal-secure-streams-seq client: secure streams 2020-03-04 12:17:49 +00:00
minimal-secure-streams-sink client: secure streams 2020-03-04 12:17:49 +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