Richard Hodges

Results 201 comments of Richard Hodges

https://www.boost.org/doc/libs/1_75_0/libs/beast/doc/html/beast/ref/boost__beast__websocket__stream_base__timeout/handshake_timeout.html

A client side cookie jar is beyond the scope of beast. You would need to find an existing library or write what you need.

Q2: is the request http1.0 or 1.1? I see you’re doing the shutdown after receiving the response. This would be incorrect for http1.0.

Can you share the code where you build the request please? I want to check that the request has been prepared, which would set its content-length and thus make it...

> Can you share the code where you build the request please? I mean on the client. I suspect that you have not prepared the request and therefore it has...

He's correct. The `prepare_payload()` is missing from the example in the latest release.

Thanks for reporting this @mjs476 . It's an oversight in our documentation.

You're welcome. Dont' forget to give us our github star! :point_up:

If you have C++20 and recent compiler suite, I'd be happy to recommend C++20 coroutines. The asio::awaitable support is pretty good and is well maintained. e.g.: `auto result = co_await...

Here is something I wrote some months ago in both C++17 and C++20 https://github.com/test-scenarios/boost_beast_websocket_echo I am available most days on the CPPLang slack in the `#beast` channel. https://cppalliance.org/slack/