[Libwebsockets] And even more cookie questions

"Andy Green (林安廸)" andy at warmcat.com
Fri Mar 7 01:19:58 CET 2014


On 07/03/14 04:19, the mail apparently from Bas Appelo included:
> Hi,
>
> And one step further, I’m now trying to retrieve the cookie in the socket in stead of the http context, is this possible?

It's only available in the callback LWS_CALLBACK_HTTP.

You can grab it there and store it somewhere else, but after that the 
space for it is freed and used for the websocket link instead.

-Andy

> Thanks!
> Bas
> _______________________________________________
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
> http://ml.libwebsockets.org/mailman/listinfo/libwebsockets
>




More information about the Libwebsockets mailing list