vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Variable HTTPServerRequest.bodyReader

Supplies the request body as a stream.

class HTTPServerRequest
  // ...
  InputStream bodyReader ;
  // ...

Note that when certain server options are set (such as HTTPServerOption.parseJsonBody) and a matching request was sent, the returned stream will be empty. If needed, remove those options and do your own processing of the body when launching the server. HTTPServerOption has a list of all options that affect the request body.


Sönke Ludwig, Jan Krüger, Ilya Shipunov


© 2012-2017 RejectedSoftware e.K.


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.