Instance Methodvapor 4.114.1Vapor
write(_:)
BodyStream.swift:52func write(_ result: BodyStreamResult) -> EventLoopFuture<Void>
func write(_ result: BodyStreamResult) -> EventLoopFuture<Void>
s5Vapor16BodyStreamWriterPAAE5writey7NIOCore15EventLoopFutureCyytGAA0bC6ResultOF
What are these?883JE
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
protocol BodyStreamWriter : Sendable
A type that represents the writable handle of a streamed Response
body.
enum BodyStreamResult
final class EventLoopFuture<Value>
Holder for a result that will be provided later.
typealias Void = ()
The return type of functions that don’t explicitly specify a return type, that is, an empty tuple ()
.