vibe.d beta banner
get vibe.d
0.7.30

Function contentType

Attribute to define the content type for methods.

This currently applies only to methods returning an InputStream or ubyte[].

Prototype

vibe.web.common.ContentTypeAttribute contentType(
  string data
);
Authors

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

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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