HTTPServerResponse.writeJsonBody

Writes a JSON message with the specified status

  1. void writeJsonBody(T data, int status, bool allow_chunked)
  2. void writeJsonBody(T data, int status, string content_type, bool allow_chunked)
  3. void writeJsonBody(T data, string content_type, bool allow_chunked)
    class HTTPServerResponse
    scope
    void
    writeJsonBody
    (
    T
    )
    (,,
    bool allow_chunked = false
    )
  4. void writeJsonBody(T data, bool allow_chunked)

Meta