Type Aliasasync-http-client 1.23.0AsyncHTTPClient
Element
HTTPClientRequest.swift:361- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
typealias Element = ByteBuffer
Other members in extension
Types
struct AsyncIterator
struct Length
The length of a HTTP request body.
Type members
static func bytes(ByteBuffer
) -> HTTPClientRequest.Body Create an
Body
from aByteBuffer
.static func bytes<Bytes>(Bytes
) -> HTTPClientRequest.Body Create an
Body
from aRandomAccessCollection
of bytes.static func bytes<Bytes>(Bytes, length: Length
) -> HTTPClientRequest.Body Create an
Body
from aSequence
of bytes.static func bytes<Bytes>(Bytes, length: Length
) -> HTTPClientRequest.Body Create an
Body
from aCollection
of bytes.static func stream<SequenceOfBytes>(SequenceOfBytes, length: Length
) -> HTTPClientRequest.Body Create an
Body
from anAsyncSequence
ofByteBuffer
s.static func stream<Bytes>(Bytes, length: Length
) -> HTTPClientRequest.Body Create an
Body
from anAsyncSequence
of bytes.