vibe.d beta banner
get vibe.d
0.7.30

Variable HTTPServerRequest.bodyReader

Supplies the request body as a stream.

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.

Declaration

class HTTPServerRequest
{
  // ...
  InputStream bodyReader;
  // ...
}
Authors

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

Copyright

© 2012-2013 RejectedSoftware e.K.

License

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