vibe.d beta banner
get vibe.d
0.10.1

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

Function RestInterfaceClient.requestBodyFilter

Optional request filter with access to the request body.

final void requestBodyFilter (
  RestInterfaceClient.RequestBodyFilter del
) @property;

final RestInterfaceClient.RequestBodyFilter requestBodyFilter() @property;

This callback allows to modify the request headers depending on the contents of the body.

Authors

Sönke Ludwig, Михаил Страшун, Mathias 'Geod24' Lang

Copyright

© 2012-2018 Sönke Ludwig

License

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