Customize HTTP Upgrade request in libwebsockets

45 Views Asked by At

I'm using a HTTP Upgrade request to start a Websockets connection. Can I customize the body of this request by using libwebsockets in C++?

For example, I want to add a custom data field in the request body so that in the server, I can parse it and authorize the connection.

0

There are 0 best solutions below