ClientConn

Overview

Location

Instance Methods


constructor

 

constructor

 

ClientConn()

 

init()

 

Sub New()

constructor (Mutex, Conn, Reference<Reader>, error, error, ReadCloser, int, int, Map<Reference<Request>, UInt64>, Pipeline, Func<go.builtin.Reference<go.net.http.Request>,go.io.Writer,go.builtin.error>)

 

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<go.builtin.Reference<go.net.http.Request>,go.io.Writer,go.builtin.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<go.builtin.Reference<go.net.http.Request>,go.io.Writer,go.builtin.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<go.builtin.Reference<go.net.http.Request>,go.io.Writer,go.builtin.error>)

 

Sub New(amu As Mutex, ac As Conn, ar As Reference<Reader>, are As error, awe As error, alastbody As ReadCloser, anread As int, anwritten As int, apipereq As Map<Reference<Request>, UInt64>, apipe As Pipeline, awriteReq As Func<go.builtin.Reference<go.net.http.Request>,go.io.Writer,go.builtin.error>)

Parameters:

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

constructor (ClientConn)

 

constructor(value: ClientConn)

 

ClientConn(ClientConn value)

 

init(_ value: ClientConn)

 

Sub New(value As ClientConn)

Parameters:

  • value:

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

 

Function Close() As error

Do

 

method Do(req: Reference<Request>): tuple of (Response, error)

 

(Response, error) Do(Reference<Request> req)

 

func Do(_ req: Reference<Request>) -> (Response, error)

 

func Do(req Reference<Request>) tuple of (Reference<Response>, error)

 

Function Do(req As Reference<Request>) As Tuple (Of Response, error)

Parameters:

  • req:

Hijack

 

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

 

(Conn c, Reader r) Hijack()

 

func Hijack() -> (Conn, Reader)

 

func Hijack() tuple of (|name=c| Conn, |name=r| Reference<Reader>)

 

Function Hijack() As Tuple (Of Conn, Reader)

Pending

 

method Pending: int

 

int Pending()

 

func Pending() -> int

 

func Pending() int

 

Function Pending() As int

Read

 

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

 

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

 

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

 

func Read(req Reference<Request>) tuple of (|name=resp| Reference<Response>, |name=err| error)

 

Function Read(req As Reference<Request>) As Tuple (Of Response, 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

 

Function Write(req As Reference<Request>) As error

Parameters:

  • req: