ClientConn

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island, macOS
  • Namespace: go.net.http.httputil

Instance Methods


constructor

 

constructor

 

ClientConn()

 

init()

constructor (ClientConn)

 

constructor(value: ClientConn)

 

ClientConn(ClientConn value)

 

init(_ value: ClientConn)

Parameters:

  • value:

 

constructor(amu: Mutex; ac: Conn; ar: Reference<Reader>; are: error; awe: error; alastbody: ReadCloser; anread: int; anwritten: int; apipereq: Map<Reference<Request>, UInt64>; apipe: Pipeline; awriteReq: Func<Reference<Request>, Writer, error>)

 

ClientConn(Mutex amu, Conn ac, Reference<Reader> ar, error are, error awe, ReadCloser alastbody, int anread, int anwritten, Map<Reference<Request>, UInt64> apipereq, Pipeline apipe, Func<Reference<Request>, Writer, error> awriteReq)

 

init(_ amu: Mutex, _ ac: Conn, _ ar: Reference<Reader>, _ are: error, _ awe: error, _ alastbody: ReadCloser, _ anread: int, _ anwritten: int, _ apipereq: Map<Reference<Request>, UInt64>, _ apipe: Pipeline, _ awriteReq: Func<Reference<Request>, Writer, error>)

Parameters:

  • amu:
  • ac:
  • ar:
  • are:
  • awe:
  • alastbody:
  • anread:
  • anwritten:
  • apipereq:
  • apipe:
  • awriteReq:

 

constructor(amu: Mutex; ac: Conn; ar: Reference<Reader>; are: error; awe: error; alastbody: ReadCloser; anread: Int64; anwritten: Int64; apipereq: Map<Reference<Request>, UInt64>; apipe: Pipeline; awriteReq: Func<Reference<Request>, Writer, error>)

 

ClientConn(Mutex amu, Conn ac, Reference<Reader> ar, error are, error awe, ReadCloser alastbody, Int64 anread, Int64 anwritten, Map<Reference<Request>, UInt64> apipereq, Pipeline apipe, Func<Reference<Request>, Writer, error> awriteReq)

 

init(_ amu: Mutex, _ ac: Conn, _ ar: Reference<Reader>, _ are: error, _ awe: error, _ alastbody: ReadCloser, _ anread: Int64, _ anwritten: Int64, _ apipereq: Map<Reference<Request>, UInt64>, _ apipe: Pipeline, _ awriteReq: Func<Reference<Request>, Writer, error>)

Parameters:

  • amu:
  • ac:
  • ar:
  • are:
  • awe:
  • alastbody:
  • anread:
  • anwritten:
  • apipereq:
  • apipe:
  • awriteReq:

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

Do

 

// .NET, Island, macOS
method Do(req: Reference<Request>): tuple of (Reference<Response>, error)
// .NET Standard 2.0
method Do(req: Reference<Request>): ValueTuple<Reference<Response>, error>

 

// .NET, Island, macOS
(Reference<Response>, error) Do(Reference<Request> req)
// .NET Standard 2.0
ValueTuple<Reference<Response>, error> Do(Reference<Request> req)

 

// .NET, Island, macOS
func Do(_ req: Reference<Request>) -> (Reference<Response>, error)
// .NET Standard 2.0
func Do(_ req: Reference<Request>) -> ValueTuple<Reference<Response>, error>

 

// .NET, Island, macOS
func Do(req Reference<Request>) (Reference<Response>, error)
// .NET Standard 2.0
func Do(req Reference<Request>) ValueTuple<Reference<Response>, error>

Parameters:

  • req:

Hijack

 

method Hijack: tuple of (c: Conn, r: Reference<Reader>)

 

(Conn c, Reference<Reader> r) Hijack()

 

func Hijack() -> (c:Conn, r:Reference<Reader>)

 

func Hijack() (c Conn, r Reference<Reader>)

Pending

 

method Pending: int

 

int Pending()

 

func Pending() -> int

 

func Pending() int

Read

 

method Read(req: Reference<Request>): tuple of (resp: Reference<Response>, err: error)

 

(Reference<Response> resp, error err) Read(Reference<Request> req)

 

func Read(_ req: Reference<Request>) -> (resp:Reference<Response>, err:error)

 

func Read(req Reference<Request>) (resp Reference<Response>, err error)

Parameters:

  • req:

Write

 

method Write(req: Reference<Request>): error

 

error Write(Reference<Request> req)

 

func Write(_ req: Reference<Request>) -> error

 

func Write(req Reference<Request>) error

Parameters:

  • req: