Protocol
AsyncBodyStreamWriter
A type that represents the writable handle of a streamed
Response bodyprotocol AsyncBodyStreamWriter : Sendable
Topics
Instance Methods
func write(BodyStreamResult) async throwsWrites an event to a streaming HTTP body. If theresultis.endor.error, the stream ends.func writeBuffer(ByteBuffer) async throwsWrites aByteBufferto the stream. Provides a default implementation that calls itself usingBodyStreamResult
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype