bytes(_:)
Create and stream body using a collection of bytes.
@preconcurrency static func bytes<Bytes>(_ bytes: Bytes) -> Body where Bytes : RandomAccessCollection, Bytes : Sendable, Bytes.Element == UInt8
Parameters
- bytes
Body binary representation.