Enumerationvapor 4.114.1Vapor
BodyStreamResult
BodyStream.swift:3enum BodyStreamResult
enum BodyStreamResult
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.
case buffer(ByteBuffer)
A normal data chunk. There will be 0 or more of these.
case error(Error)
Indicates an error. There will be 0 or 1 of these. 0 if the stream closes cleanly.
case end
Indicates the stream has completed. There will be 0 or 1 of these. 0 if the stream errors.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Escapable
protocol Sendable
var debugDescription: String { get }
var description: String { get }