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()

 

// .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

 

var Close: bool;

 

bool Close

 

var Close: bool

 

Close bool

 

FIELD Close() As bool

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>>

 

// .NET, .NET Standard 2.0
func Cookies() Slice<Memory<Cookie>>
// Island
func Cookies() Slice<Memory<Cookie>>

 

// .NET, .NET Standard 2.0
Function Cookies() As Slice<Memory<Cookie>>
// Island
Function Cookies() As Slice<Memory<Cookie>>

 

var Header: Header;

 

Header Header

 

var Header: Header

 

Header Header

 

FIELD Header() As 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)

 

// .NET, .NET Standard 2.0
func Location() tuple of (Memory<URL>, error)
// Island
func Location() tuple of (Memory<URL>, error)

 

// .NET, .NET Standard 2.0
Function Location() As Tuple (Of Memory<URL>, error)
// Island
Function Location() As Tuple (Of Memory<URL>, error)

Proto

 

var Proto: string;

 

string Proto

 

var Proto: string

 

Proto string

 

FIELD Proto() As string

ProtoAtLeast

 

method ProtoAtLeast(major: int; minor: int): bool

 

bool ProtoAtLeast(int major, int minor)

 

func ProtoAtLeast(_ major: int, _ minor: int) -> bool

 

func ProtoAtLeast(major int, minor int) bool

 

Function ProtoAtLeast(major As int, minor As int) As bool

Parameters:

  • major:
  • minor:

ProtoMajor

 

var ProtoMajor: int;

 

int ProtoMajor

 

var ProtoMajor: int

 

ProtoMajor int

 

FIELD ProtoMajor() As int

ProtoMinor

 

var ProtoMinor: int;

 

int ProtoMinor

 

var ProtoMinor: int

 

ProtoMinor int

 

FIELD ProtoMinor() As int

Request

 

// .NET, .NET Standard 2.0
var Request: Memory<Request>;
// Island
var Request: Memory<Request>;

 

// .NET, .NET Standard 2.0
Memory<Request> Request
// Island
Memory<Request> Request

 

// .NET, .NET Standard 2.0
var Request: Memory<Request>
// Island
var Request: Memory<Request>

 

// .NET, .NET Standard 2.0
Request Memory<Request>
// Island
Request Memory<Request>

 

// .NET, .NET Standard 2.0
FIELD Request() As Memory<Request>
// Island
FIELD Request() As Memory<Request>

Status

 

var Status: string;

 

string Status

 

var Status: string

 

Status string

 

FIELD Status() As string

StatusCode

 

var StatusCode: int;

 

int StatusCode

 

var StatusCode: int

 

StatusCode int

 

FIELD StatusCode() As int

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

 

var Trailer: Header;

 

Header Trailer

 

var Trailer: Header

 

Trailer Header

 

FIELD Trailer() As Header

TransferEncoding

 

var TransferEncoding: Slice<string>;

 

Slice<string> TransferEncoding

 

var TransferEncoding: Slice<string>

 

TransferEncoding Slice<string>

 

FIELD TransferEncoding() As Slice<string>

Uncompressed

 

var Uncompressed: bool;

 

bool Uncompressed

 

var Uncompressed: bool

 

Uncompressed bool

 

FIELD Uncompressed() As bool

Write

 

method Write(w: Writer): error

 

error Write(Writer w)

 

func Write(_ w: Writer) -> error

 

func Write(w Writer) error

 

Function Write(w As Writer) As error

Parameters:

  • w:

 

Body

 

var Body: ReadCloser;

 

ReadCloser Body

 

var Body: ReadCloser

 

Body ReadCloser

 

FIELD Body() As ReadCloser

Close

 

var Close: bool;

 

bool Close

 

var Close: bool

 

Close bool

 

FIELD Close() As bool

ContentLength

 

var ContentLength: int64;

 

int64 ContentLength

 

var ContentLength: int64

 

ContentLength int64

 

FIELD ContentLength() As int64

 

var Header: Header;

 

Header Header

 

var Header: Header

 

Header Header

 

FIELD Header() As Header

Proto

 

var Proto: string;

 

string Proto

 

var Proto: string

 

Proto string

 

FIELD Proto() As string

ProtoMajor

 

var ProtoMajor: int;

 

int ProtoMajor

 

var ProtoMajor: int

 

ProtoMajor int

 

FIELD ProtoMajor() As int

ProtoMinor

 

var ProtoMinor: int;

 

int ProtoMinor

 

var ProtoMinor: int

 

ProtoMinor int

 

FIELD ProtoMinor() As int

Request

 

// .NET, .NET Standard 2.0
var Request: Memory<Request>;
// Island
var Request: Memory<Request>;

 

// .NET, .NET Standard 2.0
Memory<Request> Request
// Island
Memory<Request> Request

 

// .NET, .NET Standard 2.0
var Request: Memory<Request>
// Island
var Request: Memory<Request>

 

// .NET, .NET Standard 2.0
Request Memory<Request>
// Island
Request Memory<Request>

 

// .NET, .NET Standard 2.0
FIELD Request() As Memory<Request>
// Island
FIELD Request() As Memory<Request>

Status

 

var Status: string;

 

string Status

 

var Status: string

 

Status string

 

FIELD Status() As string

StatusCode

 

var StatusCode: int;

 

int StatusCode

 

var StatusCode: int

 

StatusCode int

 

FIELD StatusCode() As int

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

 

var Trailer: Header;

 

Header Trailer

 

var Trailer: Header

 

Trailer Header

 

FIELD Trailer() As Header

TransferEncoding

 

var TransferEncoding: Slice<string>;

 

Slice<string> TransferEncoding

 

var TransferEncoding: Slice<string>

 

TransferEncoding Slice<string>

 

FIELD TransferEncoding() As Slice<string>

Uncompressed

 

var Uncompressed: bool;

 

bool Uncompressed

 

var Uncompressed: bool

 

Uncompressed bool

 

FIELD Uncompressed() As bool

 

constructor

 

constructor

 

Response()

 

init()

 

Sub New()

 

// .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: