ClientConn

Overview

Location

Instance Methods


constructor

 

constructor

 

ClientConn()

 

init()

 

Sub New()

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

 

constructor(amu: Mutex; ac: Conn; ar: Memory<Reader>; are: error; awe: error; alastbody: ReadCloser; anread: int; anwritten: int; apipereq: Map<Memory<Request>, UInt64>; apipe: Pipeline; awriteReq: Func<RemObjects.Elements.System.Memory<go.net.http.Request>,go.io.Writer,go.builtin.error>)

 

ClientConn(Mutex amu, Conn ac, Memory<Reader> ar, error are, error awe, ReadCloser alastbody, int anread, int anwritten, Map<Memory<Request>, UInt64> apipereq, Pipeline apipe, Func<RemObjects.Elements.System.Memory<go.net.http.Request>,go.io.Writer,go.builtin.error> awriteReq)

 

init(_ amu: Mutex, _ ac: Conn, _ ar: Memory<Reader>, _ are: error, _ awe: error, _ alastbody: ReadCloser, _ anread: int, _ anwritten: int, _ apipereq: Map<Memory<Request>, UInt64>, _ apipe: Pipeline, _ awriteReq: Func<RemObjects.Elements.System.Memory<go.net.http.Request>,go.io.Writer,go.builtin.error>)

 

Sub New(amu As Mutex, ac As Conn, ar As Memory<Reader>, are As error, awe As error, alastbody As ReadCloser, anread As int, anwritten As int, apipereq As Map<Memory<Request>, UInt64>, apipe As Pipeline, awriteReq As Func<RemObjects.Elements.System.Memory<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: Memory<Request>): tuple of (Memory<Response>, error)

 

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

 

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

 

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

 

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

Parameters:

  • req:

Hijack

 

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

 

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

 

func Hijack() -> (Conn, Memory<Reader>)

 

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

 

Function Hijack() As Tuple (Of Conn, Memory<Reader>)

Pending

 

method Pending: int

 

int Pending()

 

func Pending() -> int

 

func Pending() int

 

Function Pending() As int

Read

 

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

 

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

 

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

 

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

 

Function Read(req As Memory<Request>) As Tuple (Of Memory<Response>, error)

Parameters:

  • req:

Write

 

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

 

error Write(Memory<Request> req)

 

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

 

func Write(req Memory<Request>) error

 

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

Parameters:

  • req: