vibe.d / experience / feedback

ab andreas.bolka at saphirion.com
Thu Oct 1 07:15:33 UTC 2020


On Thursday, 1 October 2020 at 06:39:39 UTC, mipri wrote:
> On Thursday, 1 October 2020 at 06:32:23 UTC, Robert M. Münch 
> wrote:
>> 5. One can't access the raw HTTP request body, things must be 
>> go through Vibe's JSON parser. To get access to the raw body, 
>> a lot of workarounds are necessary.
>
> given an HTTPServerRequest req,
> req.bodyReader.readAll for binary data and .readAllUTF8 for 
> text.

thanks. that was tough to find from 
https://vibed.org/api/vibe.core.stream/InputStream (because it's 
located and thus documented in the helper module 
https://vibed.org/api/vibe.stream.operations/). a link from 
InputStream to vibe.stream.operations would be super-good.


More information about the Digitalmars-d-learn mailing list