Skip to content

Instance Method

write(_:)

Writes an event to a streaming HTTP body. If the result is .end or .error, the stream ends.
func write(_ result: BodyStreamResult) async throws