HTTPServerResponse.writeBody

Undocumented in source. Be warned that the author may not have intended to support it.
  1. void writeBody(ubyte[] data, string contentType)
    struct HTTPServerResponse
    @safe
    void
    writeBody
    (
    in ubyte[] data
    ,
    string contentType = null
    )
  2. void writeBody(InputStream data, string content_type)
  3. void writeBody(string data, string content_type)
  4. void writeBody(string data, int status, string content_type)

Meta