Protocol
BodyStreamWriter
A type that represents the writable handle of a streamed
Response body.protocol BodyStreamWriter : Sendable
Topics
Instance Properties
var eventLoop: any EventLoopThe eventloop upon which writes must be sent
Instance Methods
func write(BodyStreamResult) -> EventLoopFuture<Void>func write(BodyStreamResult, promise: EventLoopPromise<Void>?)Writes an event to a streaming HTTP body. If theresultis.endor.error, the stream ends.
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype