Hearken Documentation Beta

Typealias HTTPBody

public typealias HTTPBody = Data

The body of HTTP requests.

Conforms to ExpressibleByStringLiteral so the following is also a valid way to initialize it:

let body: HTTPBody = "Body content"