Telegraph
Telegraph copied to clipboard
Convenience initialiser for HTTPResponse to send codable data
allows something like the following
let info = MyCodableClass() let response = HTTPResponse(encodable:info)
this will return a json body with the content type header set