ServerConn

Overview

Location

Instance Methods


constructor

 

constructor

 

ServerConn()

 

init()

 

Sub New()

 

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)

 

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

 

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)

 

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)

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, Reader)

 

(Conn, Reader) Hijack()

 

func Hijack() -> (Conn, Reader)

 

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

 

(Request, error) Read()

 

func Read() -> (Request, error)

 

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

 

Function Read() As Tuple (Of Request, error)

Write

 

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

 

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

 

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

 

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

 

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

Parameters:

  • req:
  • resp: