1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/ws-client
Andy Green aa816e98a9 alpn: assemble defaults from roles and allow override
Since new roles may be incompatible with http, add support for
alpn names at the role struct, automatic generation of the
default list of alpn names that servers advertise, and the
ability to override the used alpn names per-vhost and per-
client connection.

This not only lets you modulate visibility or use of h2,
but also enables vhosts that only offer non-http roles,
as well as restricting http role vhosts to only alpn
identifiers related to http roles.
2018-04-19 16:15:10 +08:00
..
minimal-ws-client-pmd-bulk refactor mode and states into roles and states 2018-04-06 12:22:19 +08:00
minimal-ws-client-rx alpn: assemble defaults from roles and allow override 2018-04-19 16:15:10 +08:00
minimal-ws-client-tx minimal: minimal-raw-file 2018-04-06 10:38:03 +08:00
README.md minimal-ws-server-pmd-bulk: add echo 2018-04-06 10:38:04 +08:00

name demonstrates
minimal-ws-client-pmd-bulk Client that sends bulk multifragment data to the minimal-ws-server-pmd-bulk example
minimal-ws-client-rx Connects to the dumb-increment-protocol wss server at https://libwebsockets.org and demonstrates receiving ws data
minimal-ws-client-tx Connects to the minimal-ws-broker example as a publisher, demonstrating sending ws data