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)
    class HTTPServerResponse
    void
    writeJsonBody
    (
    T
    )
    (,
    int status
    ,,
    bool allow_chunked = false
    )
  3. void writeJsonBody(T data, string content_type, bool allow_chunked)
  4. void writeJsonBody(T data, bool allow_chunked)

Meta