Static Methodasync-http-client 1.23.0AsyncHTTPClient
stream(_:)
HTTPClientResponse.swift:203- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
static func stream<SequenceOfBytes>(_ sequenceOfBytes: SequenceOfBytes) -> HTTPClientResponse.Body where SequenceOfBytes : Sendable, SequenceOfBytes : AsyncSequence, SequenceOfBytes.Element == ByteBuffer
Other members in extension
Types
Typealiases
Type members
Instance members
func collect(upTo: Int
) async throws -> ByteBuffer Accumulates
Body
ofByteBuffer
s into a singleByteBuffer
.func makeAsyncIterator(
) -> AsyncIterator