[Libwebsockets] Using protocols not passed to lws_create_context()

Andy Green andy at warmcat.com
Tue Jan 14 14:06:26 CET 2020



On 1/14/20 12:29 PM, Zevv wrote:
> 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?

Yes they all work the same.

-Andy

> Thanks again,
> 
> Zevv
> 


More information about the Libwebsockets mailing list