Static Methodasync-http-client 1.25.2AsyncHTTPClient
bytes(_:)
Create an Body
from a ByteBuffer
.
- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
static func bytes(_ byteBuffer: ByteBuffer) -> HTTPClientRequest.Body
Parameters
- byteBuffer
The bytes of the body.