[Libwebsockets] Using protocols not passed to lws_create_context()
libws at zevv.nl
Tue Jan 14 13:29:10 CET 2020
Quoting Andy Green (2020-01-14 12:37:06)
> (A side note something that was added before v3.2 that really helps with
> protocol encapsulation is you can now set the protocols on the vhost
> using .pprotocols, which takes an array of pointers to the lws_protocols
> structs, rather than an array of the structs.
Right, that sounds like the kind of thing I need - albeit that my
problem now concens websocket/http clients at this time, not vhosts.
Does somethimg similar apply there as well?
More information about the Libwebsockets