HTTPBody

public struct HTTPBody : LosslessHTTPBodyRepresentable, CustomStringConvertible, CustomDebugStringConvertible

Represents an HTTPMessage‘s body.

let body = HTTPBody(string: "Hello, world!")

This can contain any data (streaming or static) and should match the message’s "Content-Type" header.