Vapor Documentation Beta

Enumeration Body​Stream​Result

public enum BodyStreamResult
%3 BodyStreamResult BodyStreamResult CustomStringConvertible CustomStringConvertible BodyStreamResult->CustomStringConvertible CustomDebugStringConvertible CustomDebugStringConvertible BodyStreamResult->CustomDebugStringConvertible

Conforms To

CustomDebugStringConvertible
CustomStringConvertible

Enumeration Cases

buffer

case buffer(: ByteBuffer)

A normal data chunk. There will be 0 or more of these.

error

case error(: Error)

Indicates an error. There will be 0 or 1 of these. 0 if the stream closes cleanly.

end

case end

Indicates the stream has completed. There will be 0 or 1 of these. 0 if the stream errors.

Properties

description

var description: String

debug​Description

var debugDescription: String