ServerConn

Overview

Location

Instance Methods


constructor

 

constructor

 

ServerConn()

 

init()

 

Sub New()

 

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)

 

ServerConn(Mutex amu, Conn ac, Memory<Reader> ar, error are, error awe, ReadCloser alastbody, int anread, int anwritten, Map<Memory<Request>, UInt64> apipereq, Pipeline apipe)

 

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)

 

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)

Parameters:

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

constructor (ServerConn)

 

constructor(value: ServerConn)

 

ServerConn(ServerConn value)

 

init(_ value: ServerConn)

 

Sub New(value As ServerConn)

Parameters:

  • value:

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

 

Function Close() As error

Hijack

 

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

 

(Conn, Memory<Reader>) Hijack()

 

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

 

func Hijack() tuple of (Conn, 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: tuple of (Memory<Request>, error)

 

(Memory<Request>, error) Read()

 

func Read() -> (Memory<Request>, error)

 

func Read() tuple of (Memory<Request>, error)

 

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

Write

 

method Write(req: Memory<Request>; resp: Memory<Response>): error

 

error Write(Memory<Request> req, Memory<Response> resp)

 

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

 

func Write(req Memory<Request>, resp Memory<Response>) error

 

Function Write(req As Memory<Request>, resp As Memory<Response>) As error

Parameters:

  • req:
  • resp: