Constructor

@:value({ statusCode : null })new(input:Input, size:Null<Int64>, ?statusCode:Int)

Variables

input:Input

Methods

Inherited Variables

Defined by Response

@:value(null)contentLength:Null<Int64> = null

@:value(null)encodingOptions:Null<IEncodingOptions> = null

statusCode:Null<Int>

Inherited Methods

Defined by Response

asStatic():Void

@:value({ encrypt : false })cookie(key:String, value:String, encrypt:Bool = false):Null<CookieBuilder<Response>>

header(key:String, value:String):Response

onAfter(after:() ‑> Void):Response

@:value({ status : null })status(statusCode:Int, ?status:String):Response

toBytes():Bytes

toString():String

withHeaders(headers:Map<String, String>):Response