vibe.d beta banner
get vibe.d
0.7.30

Variable HTTPServerRequest.json

Contains the parsed Json for a JSON request.

Declaration

class HTTPServerRequest
{
  // ...
  Json json;
  // ...
}

Remarks

This field is only set if HTTPServerOption.parseJsonBody is set.

A JSON request must have the Content-Type "application/json" or "application/vnd.api+json".

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.