Boost beast manipulate http response headers durring accept

517 Views Asked by At

I would like to manipulate the http response sent to the websocket client durring accept.

I've read the examples and the manual, I can pare the request, check if it's a websocket upgrade request, but I can't manipulate the response.

It would be nice to have the websocket library to prepare the response, let me send it out and then take over the socket and start from there.

1

There are 1 best solutions below

1
On BEST ANSWER