Instance Property
content
This container is used to read your
Decodable type using a ContentDecoder implementation. If no ContentDecoder is provided, a Request’s Content-Type header is used to select a registered decoder.var content: any ContentContainer { get set }
Discussion
As with query, the container holds copies of the body and headers and the setter writes them back, so req.content.encode(_:) propagates without relying on that state living behind a reference.