ResponseRecorder
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.net.http.httptest
- Platforms: .NET, .NET Standard 2.0, Island
constructor
constructor
ResponseRecorder()
init()
Sub New()
// .NET, .NET Standard 2.0
constructor(aCode: Int64; aHeaderMap: Header; aBody: Memory<Buffer>; aFlushed: Boolean; aresult: Memory<Response>; asnapHeader: Header; awroteHeader: Boolean)
// Island
constructor(aCode: int; aHeaderMap: Header; aBody: Memory<Buffer>; aFlushed: bool; aresult: Memory<Response>; asnapHeader: Header; awroteHeader: bool)
// .NET, .NET Standard 2.0
ResponseRecorder(Int64 aCode, Header aHeaderMap, Memory<Buffer> aBody, Boolean aFlushed, Memory<Response> aresult, Header asnapHeader, Boolean awroteHeader)
// Island
ResponseRecorder(int aCode, Header aHeaderMap, Memory<Buffer> aBody, bool aFlushed, Memory<Response> aresult, Header asnapHeader, bool awroteHeader)
// .NET, .NET Standard 2.0
init(_ aCode: Int64, _ aHeaderMap: Header, _ aBody: Memory<Buffer>, _ aFlushed: Boolean, _ aresult: Memory<Response>, _ asnapHeader: Header, _ awroteHeader: Boolean)
// Island
init(_ aCode: int, _ aHeaderMap: Header, _ aBody: Memory<Buffer>, _ aFlushed: bool, _ aresult: Memory<Response>, _ asnapHeader: Header, _ awroteHeader: bool)
// .NET, .NET Standard 2.0
Sub New(aCode As Int64, aHeaderMap As Header, aBody As Memory<Buffer>, aFlushed As Boolean, aresult As Memory<Response>, asnapHeader As Header, awroteHeader As Boolean)
// Island
Sub New(aCode As int, aHeaderMap As Header, aBody As Memory<Buffer>, aFlushed As bool, aresult As Memory<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
Code
Flush
method Flush
void Flush()
func Flush()
// .NET, .NET Standard 2.0
func Flush()
// Island
func Flush() void
Sub Flush()
Flushed
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
// .NET, .NET Standard 2.0
method Result: Memory<Response>
// Island
method Result: Memory<Response>
Write
Parameters:
- buf:
WriteHeader
method WriteHeader(code: int)
void WriteHeader(int code)
func WriteHeader(_ code: int)
Sub WriteHeader(code As int)
Parameters:
- code:
WriteString
Parameters:
- str:
Body
Code
Flushed
HeaderMap
constructor
constructor
ResponseRecorder()
init()
Sub New()
// .NET, .NET Standard 2.0
constructor(aCode: Int64; aHeaderMap: Header; aBody: Memory<Buffer>; aFlushed: Boolean; aresult: Memory<Response>; asnapHeader: Header; awroteHeader: Boolean)
// Island
constructor(aCode: int; aHeaderMap: Header; aBody: Memory<Buffer>; aFlushed: bool; aresult: Memory<Response>; asnapHeader: Header; awroteHeader: bool)
// .NET, .NET Standard 2.0
ResponseRecorder(Int64 aCode, Header aHeaderMap, Memory<Buffer> aBody, Boolean aFlushed, Memory<Response> aresult, Header asnapHeader, Boolean awroteHeader)
// Island
ResponseRecorder(int aCode, Header aHeaderMap, Memory<Buffer> aBody, bool aFlushed, Memory<Response> aresult, Header asnapHeader, bool awroteHeader)
// .NET, .NET Standard 2.0
init(_ aCode: Int64, _ aHeaderMap: Header, _ aBody: Memory<Buffer>, _ aFlushed: Boolean, _ aresult: Memory<Response>, _ asnapHeader: Header, _ awroteHeader: Boolean)
// Island
init(_ aCode: int, _ aHeaderMap: Header, _ aBody: Memory<Buffer>, _ aFlushed: bool, _ aresult: Memory<Response>, _ asnapHeader: Header, _ awroteHeader: bool)
// .NET, .NET Standard 2.0
Sub New(aCode As Int64, aHeaderMap As Header, aBody As Memory<Buffer>, aFlushed As Boolean, aresult As Memory<Response>, asnapHeader As Header, awroteHeader As Boolean)
// Island
Sub New(aCode As int, aHeaderMap As Header, aBody As Memory<Buffer>, aFlushed As bool, aresult As Memory<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: