sehe

Results 75 comments of sehe

@treeowl have a look at some c++ compiler messages :) Seriously, there's rarely any reason to abbreviate even those. In fact, one can print messages from multiple compilers or link...

@vinniefalco Only partially. We [replaced `boost::string_view` with `boost::core::string_view`](https://github.com/boostorg/beast/issues/2417). I wasn't aware of a desire to also get rid of `BEAST_USE_STD_STRING_VIEW` - for which I never did impact analysis. Checking back...

You're right that it might make more sense for this to be in Asio, it could be a separate library. Note that there is work in progress for SOCKS protocol...

There's no such thing as "performing a HTTP JSON". It's just post. The JSON example only differs in two lines: ```c++ std::string payload = "var1=1&var2=2"; req.set(http::field::content_type, "application/x-www-form-urlencoded"); ``` Became ```c++...

> The Examples page in the docs needs to be updated: https://2381.beastdocs.prtest.cppalliance.org/libs/beast/doc/html/beast/examples.html#beast.examples.clients I tried to sollicit opinion on how to better organize the examples instead (I mentioned it as the...

> Yeah if you want to reorganize the examples to preserve the existing GET and filename, and then add a larger single example that demonstrates various types of client requests...

- [ ] add examples to documentation - [ ] port to other example flavours? (I'm thinking just async? Not much use in also showing ssl or coro I think)

Went ahead and added a json_body example with an example program that exercises it against `httpbin.org/post` example/json-body/http_client_json_body.cpp example/json-body/json_body.hpp TODO: - [x] parse_options - [x] non-sized body writing using chunked encoding...

> > reference value_type? > > No idea what this is Basically `std::reference_wrapper` instead of copying the value just in order to serialize it. That seems... dumb. (At least on...

> > non-sized body writing using chunked encoding > > All JSON bodies should use chunked, because if you are going to measure the serialized size then you might as...