ResponseRecorder

Overview

Location

 

constructor

 

constructor

 

ResponseRecorder()

 

init()

 

Sub New()

 

constructor(aCode: int; aHeaderMap: Header; aBody: Reference<Buffer>; aFlushed: bool; aresult: Reference<Response>; asnapHeader: Header; awroteHeader: bool)

 

ResponseRecorder(int aCode, Header aHeaderMap, Reference<Buffer> aBody, bool aFlushed, Reference<Response> aresult, Header asnapHeader, bool awroteHeader)

 

init(_ aCode: int, _ aHeaderMap: Header, _ aBody: Reference<Buffer>, _ aFlushed: bool, _ aresult: Reference<Response>, _ asnapHeader: Header, _ awroteHeader: bool)

 

Sub New(aCode As int, aHeaderMap As Header, aBody As Reference<Buffer>, aFlushed As bool, aresult As Reference<Response>, asnapHeader As Header, awroteHeader As bool)

Parameters:

  • aCode:
  • aHeaderMap:
  • aBody:
  • aFlushed:
  • aresult:
  • asnapHeader:
  • awroteHeader:

constructor (ResponseRecorder)

 

constructor(value: ResponseRecorder)

 

ResponseRecorder(ResponseRecorder value)

 

init(_ value: ResponseRecorder)

 

Sub New(value As ResponseRecorder)

Parameters:

  • value:

Body

 

var Body: Reference<Buffer>;

 

Reference<Buffer> Body

 

var Body: Reference<Buffer>

 

Body Reference<Buffer>

 

FIELD Body() As Reference<Buffer>

Code

 

var Code: int;

 

int Code

 

var Code: int

 

Code int

 

FIELD Code() As int

Flush

 

method Flush

 

void Flush()

 

func Flush()

 

func Flush()

 

Sub Flush()

Flushed

 

var Flushed: bool;

 

bool Flushed

 

var Flushed: bool

 

Flushed bool

 

FIELD Flushed() As bool

Header

 

method Header: Header

 

Header Header()

 

func Header() -> Header

 

func Header() Header

 

Function Header() As Header

HeaderMap

 

var HeaderMap: Header;

 

Header HeaderMap

 

var HeaderMap: Header

 

HeaderMap Header

 

FIELD HeaderMap() As Header

Result

 

method Result: Reference<Response>

 

Reference<Response> Result()

 

func Result() -> Reference<Response>

 

func Result() Reference<Response>

 

Function Result() As Reference<Response>

Write

 

method Write(buf: Slice<Byte>): tuple of (Int64, error)

 

(Int64, error) Write(Slice<Byte> buf)

 

func Write(_ buf: Slice<Byte>) -> (Int64, error)

 

func Write(buf Slice<Byte>) (Int64, error)

 

Function Write(buf As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • buf:

WriteHeader

 

method WriteHeader(code: int)

 

void WriteHeader(int code)

 

func WriteHeader(_ code: int)

 

func WriteHeader(code int)

 

Sub WriteHeader(code As int)

Parameters:

  • code:

WriteString

 

method WriteString(str: string): tuple of (Int64, error)

 

(Int64, error) WriteString(string str)

 

func WriteString(_ str: string) -> (Int64, error)

 

func WriteString(str string) (Int64, error)

 

Function WriteString(str As string) As Tuple (Of Int64, error)

Parameters:

  • str:

 

Body

 

var Body: Reference<Buffer>;

 

Reference<Buffer> Body

 

var Body: Reference<Buffer>

 

Body Reference<Buffer>

 

FIELD Body() As Reference<Buffer>

Code

 

var Code: int;

 

int Code

 

var Code: int

 

Code int

 

FIELD Code() As int

Flushed

 

var Flushed: bool;

 

bool Flushed

 

var Flushed: bool

 

Flushed bool

 

FIELD Flushed() As bool

HeaderMap

 

var HeaderMap: Header;

 

Header HeaderMap

 

var HeaderMap: Header

 

HeaderMap Header

 

FIELD HeaderMap() As Header

 

constructor

 

constructor

 

ResponseRecorder()

 

init()

 

Sub New()

 

constructor(aCode: int; aHeaderMap: Header; aBody: Reference<Buffer>; aFlushed: bool; aresult: Reference<Response>; asnapHeader: Header; awroteHeader: bool)

 

ResponseRecorder(int aCode, Header aHeaderMap, Reference<Buffer> aBody, bool aFlushed, Reference<Response> aresult, Header asnapHeader, bool awroteHeader)

 

init(_ aCode: int, _ aHeaderMap: Header, _ aBody: Reference<Buffer>, _ aFlushed: bool, _ aresult: Reference<Response>, _ asnapHeader: Header, _ awroteHeader: bool)

 

Sub New(aCode As int, aHeaderMap As Header, aBody As Reference<Buffer>, aFlushed As bool, aresult As Reference<Response>, asnapHeader As Header, awroteHeader As bool)

Parameters:

  • aCode:
  • aHeaderMap:
  • aBody:
  • aFlushed:
  • aresult:
  • asnapHeader:
  • awroteHeader:

constructor (ResponseRecorder)

 

constructor(value: ResponseRecorder)

 

ResponseRecorder(ResponseRecorder value)

 

init(_ value: ResponseRecorder)

 

Sub New(value As ResponseRecorder)

Parameters:

  • value:

Flush

 

method Flush

 

void Flush()

 

func Flush()

 

func Flush()

 

Sub Flush()

Header

 

method Header: Header

 

Header Header()

 

func Header() -> Header

 

func Header() Header

 

Function Header() As Header

Result

 

method Result: Reference<Response>

 

Reference<Response> Result()

 

func Result() -> Reference<Response>

 

func Result() Reference<Response>

 

Function Result() As Reference<Response>

Write

 

method Write(buf: Slice<Byte>): tuple of (Int64, error)

 

(Int64, error) Write(Slice<Byte> buf)

 

func Write(_ buf: Slice<Byte>) -> (Int64, error)

 

func Write(buf Slice<Byte>) (Int64, error)

 

Function Write(buf As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • buf:

WriteHeader

 

method WriteHeader(code: int)

 

void WriteHeader(int code)

 

func WriteHeader(_ code: int)

 

func WriteHeader(code int)

 

Sub WriteHeader(code As int)

Parameters:

  • code:

WriteString

 

method WriteString(str: string): tuple of (Int64, error)

 

(Int64, error) WriteString(string str)

 

func WriteString(_ str: string) -> (Int64, error)

 

func WriteString(str string) (Int64, error)

 

Function WriteString(str As string) As Tuple (Of Int64, error)

Parameters:

  • str: