Response
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.net.http
- Platforms: .NET, .NET Standard 2.0, Island
constructor
constructor
Response()
init()
Sub New()
constructor (string, Int64, string, Int64, Int64, Header, ReadCloser, int64, Slice<string>, Boolean, Boolean, Header, Memory<Request>, Memory<ConnectionState>)
// .NET, .NET Standard 2.0
constructor(aStatus: string; aStatusCode: Int64; aProto: string; aProtoMajor: Int64; aProtoMinor: Int64; aHeader: Header; aBody: ReadCloser; aContentLength: int64; aTransferEncoding: Slice<string>; aClose: Boolean; aUncompressed: Boolean; aTrailer: Header; aRequest: Memory<Request>; aTLS: Memory<ConnectionState>)
// Island
constructor(aStatus: string; aStatusCode: int; aProto: string; aProtoMajor: int; aProtoMinor: int; aHeader: Header; aBody: ReadCloser; aContentLength: int64; aTransferEncoding: Slice<string>; aClose: bool; aUncompressed: bool; aTrailer: Header; aRequest: Memory<Request>; aTLS: Memory<ConnectionState>)
// .NET, .NET Standard 2.0
Response(string aStatus, Int64 aStatusCode, string aProto, Int64 aProtoMajor, Int64 aProtoMinor, Header aHeader, ReadCloser aBody, int64 aContentLength, Slice<string> aTransferEncoding, Boolean aClose, Boolean aUncompressed, Header aTrailer, Memory<Request> aRequest, Memory<ConnectionState> aTLS)
// Island
Response(string aStatus, int aStatusCode, string aProto, int aProtoMajor, int aProtoMinor, Header aHeader, ReadCloser aBody, int64 aContentLength, Slice<string> aTransferEncoding, bool aClose, bool aUncompressed, Header aTrailer, Memory<Request> aRequest, Memory<ConnectionState> aTLS)
// .NET, .NET Standard 2.0
init(_ aStatus: string, _ aStatusCode: Int64, _ aProto: string, _ aProtoMajor: Int64, _ aProtoMinor: Int64, _ aHeader: Header, _ aBody: ReadCloser, _ aContentLength: int64, _ aTransferEncoding: Slice<string>, _ aClose: Boolean, _ aUncompressed: Boolean, _ aTrailer: Header, _ aRequest: Memory<Request>, _ aTLS: Memory<ConnectionState>)
// Island
init(_ aStatus: string, _ aStatusCode: int, _ aProto: string, _ aProtoMajor: int, _ aProtoMinor: int, _ aHeader: Header, _ aBody: ReadCloser, _ aContentLength: int64, _ aTransferEncoding: Slice<string>, _ aClose: bool, _ aUncompressed: bool, _ aTrailer: Header, _ aRequest: Memory<Request>, _ aTLS: Memory<ConnectionState>)
// .NET, .NET Standard 2.0
Sub New(aStatus As string, aStatusCode As Int64, aProto As string, aProtoMajor As Int64, aProtoMinor As Int64, aHeader As Header, aBody As ReadCloser, aContentLength As int64, aTransferEncoding As Slice<string>, aClose As Boolean, aUncompressed As Boolean, aTrailer As Header, aRequest As Memory<Request>, aTLS As Memory<ConnectionState>)
// Island
Sub New(aStatus As string, aStatusCode As int, aProto As string, aProtoMajor As int, aProtoMinor As int, aHeader As Header, aBody As ReadCloser, aContentLength As int64, aTransferEncoding As Slice<string>, aClose As bool, aUncompressed As bool, aTrailer As Header, aRequest As Memory<Request>, aTLS As Memory<ConnectionState>)
Parameters:
- aStatus:
- aStatusCode:
- aProto:
- aProtoMajor:
- aProtoMinor:
- aHeader:
- aBody:
- aContentLength:
- aTransferEncoding:
- aClose:
- aUncompressed:
- aTrailer:
- aRequest:
- aTLS:
constructor (Response)
constructor(value: Response)
Response(Response value)
init(_ value: Response)
Sub New(value As Response)
Parameters:
- value:
Body
var Body: ReadCloser;
ReadCloser Body
var Body: ReadCloser
Body ReadCloser
FIELD Body() As ReadCloser
Close
ContentLength
var ContentLength: int64;
int64 ContentLength
var ContentLength: int64
ContentLength int64
FIELD ContentLength() As int64
Cookies
// .NET, .NET Standard 2.0
method Cookies: Slice<Memory<Cookie>>
// Island
method Cookies: Slice<Memory<Cookie>>
// .NET, .NET Standard 2.0
Slice<Memory<Cookie>> Cookies()
// Island
Slice<Memory<Cookie>> Cookies()
// .NET, .NET Standard 2.0
func Cookies() -> Slice<Memory<Cookie>>
// Island
func Cookies() -> Slice<Memory<Cookie>>
Header
Location
// .NET, .NET Standard 2.0
method Location: tuple of (Memory<URL>, error)
// Island
method Location: tuple of (Memory<URL>, error)
// .NET, .NET Standard 2.0
(Memory<URL>, error) Location()
// Island
(Memory<URL>, error) Location()
// .NET, .NET Standard 2.0
func Location() -> (Memory<URL>, error)
// Island
func Location() -> (Memory<URL>, error)
Proto
ProtoAtLeast
Parameters:
- major:
- minor:
ProtoMajor
ProtoMinor
Request
Status
StatusCode
TLS
// .NET, .NET Standard 2.0
var TLS: Memory<ConnectionState>;
// Island
var TLS: Memory<ConnectionState>;
// .NET, .NET Standard 2.0
Memory<ConnectionState> TLS
// Island
Memory<ConnectionState> TLS
// .NET, .NET Standard 2.0
var TLS: Memory<ConnectionState>
// Island
var TLS: Memory<ConnectionState>
// .NET, .NET Standard 2.0
TLS Memory<ConnectionState>
// Island
TLS Memory<ConnectionState>
// .NET, .NET Standard 2.0
FIELD TLS() As Memory<ConnectionState>
// Island
FIELD TLS() As Memory<ConnectionState>
Trailer
TransferEncoding
Uncompressed
var Uncompressed: bool;
bool Uncompressed
var Uncompressed: bool
Uncompressed bool
FIELD Uncompressed() As bool
Write
Parameters:
- w:
Body
var Body: ReadCloser;
ReadCloser Body
var Body: ReadCloser
Body ReadCloser
FIELD Body() As ReadCloser
Close
ContentLength
var ContentLength: int64;
int64 ContentLength
var ContentLength: int64
ContentLength int64
FIELD ContentLength() As int64
Header
Proto
ProtoMajor
ProtoMinor
Request
Status
StatusCode
TLS
// .NET, .NET Standard 2.0
var TLS: Memory<ConnectionState>;
// Island
var TLS: Memory<ConnectionState>;
// .NET, .NET Standard 2.0
Memory<ConnectionState> TLS
// Island
Memory<ConnectionState> TLS
// .NET, .NET Standard 2.0
var TLS: Memory<ConnectionState>
// Island
var TLS: Memory<ConnectionState>
// .NET, .NET Standard 2.0
TLS Memory<ConnectionState>
// Island
TLS Memory<ConnectionState>
// .NET, .NET Standard 2.0
FIELD TLS() As Memory<ConnectionState>
// Island
FIELD TLS() As Memory<ConnectionState>
Trailer
TransferEncoding
Uncompressed
constructor
constructor
Response()
init()
Sub New()
constructor (string, Int64, string, Int64, Int64, Header, ReadCloser, int64, Slice<string>, Boolean, Boolean, Header, Memory<Request>, Memory<ConnectionState>)
// .NET, .NET Standard 2.0
constructor(aStatus: string; aStatusCode: Int64; aProto: string; aProtoMajor: Int64; aProtoMinor: Int64; aHeader: Header; aBody: ReadCloser; aContentLength: int64; aTransferEncoding: Slice<string>; aClose: Boolean; aUncompressed: Boolean; aTrailer: Header; aRequest: Memory<Request>; aTLS: Memory<ConnectionState>)
// Island
constructor(aStatus: string; aStatusCode: int; aProto: string; aProtoMajor: int; aProtoMinor: int; aHeader: Header; aBody: ReadCloser; aContentLength: int64; aTransferEncoding: Slice<string>; aClose: bool; aUncompressed: bool; aTrailer: Header; aRequest: Memory<Request>; aTLS: Memory<ConnectionState>)
// .NET, .NET Standard 2.0
Response(string aStatus, Int64 aStatusCode, string aProto, Int64 aProtoMajor, Int64 aProtoMinor, Header aHeader, ReadCloser aBody, int64 aContentLength, Slice<string> aTransferEncoding, Boolean aClose, Boolean aUncompressed, Header aTrailer, Memory<Request> aRequest, Memory<ConnectionState> aTLS)
// Island
Response(string aStatus, int aStatusCode, string aProto, int aProtoMajor, int aProtoMinor, Header aHeader, ReadCloser aBody, int64 aContentLength, Slice<string> aTransferEncoding, bool aClose, bool aUncompressed, Header aTrailer, Memory<Request> aRequest, Memory<ConnectionState> aTLS)
// .NET, .NET Standard 2.0
init(_ aStatus: string, _ aStatusCode: Int64, _ aProto: string, _ aProtoMajor: Int64, _ aProtoMinor: Int64, _ aHeader: Header, _ aBody: ReadCloser, _ aContentLength: int64, _ aTransferEncoding: Slice<string>, _ aClose: Boolean, _ aUncompressed: Boolean, _ aTrailer: Header, _ aRequest: Memory<Request>, _ aTLS: Memory<ConnectionState>)
// Island
init(_ aStatus: string, _ aStatusCode: int, _ aProto: string, _ aProtoMajor: int, _ aProtoMinor: int, _ aHeader: Header, _ aBody: ReadCloser, _ aContentLength: int64, _ aTransferEncoding: Slice<string>, _ aClose: bool, _ aUncompressed: bool, _ aTrailer: Header, _ aRequest: Memory<Request>, _ aTLS: Memory<ConnectionState>)
// .NET, .NET Standard 2.0
Sub New(aStatus As string, aStatusCode As Int64, aProto As string, aProtoMajor As Int64, aProtoMinor As Int64, aHeader As Header, aBody As ReadCloser, aContentLength As int64, aTransferEncoding As Slice<string>, aClose As Boolean, aUncompressed As Boolean, aTrailer As Header, aRequest As Memory<Request>, aTLS As Memory<ConnectionState>)
// Island
Sub New(aStatus As string, aStatusCode As int, aProto As string, aProtoMajor As int, aProtoMinor As int, aHeader As Header, aBody As ReadCloser, aContentLength As int64, aTransferEncoding As Slice<string>, aClose As bool, aUncompressed As bool, aTrailer As Header, aRequest As Memory<Request>, aTLS As Memory<ConnectionState>)
Parameters:
- aStatus:
- aStatusCode:
- aProto:
- aProtoMajor:
- aProtoMinor:
- aHeader:
- aBody:
- aContentLength:
- aTransferEncoding:
- aClose:
- aUncompressed:
- aTrailer:
- aRequest:
- aTLS:
constructor (Response)
constructor(value: Response)
Response(Response value)
init(_ value: Response)
Sub New(value As Response)
Parameters:
- value: