Vapor Documentation

Enumeration Body​Stream​Result

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

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

public var description: String  

debug​Description

public var debugDescription: String