Conn

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.net.textproto
  • Platforms: .NET, .NET Standard 2.0, Island

 

constructor

 

constructor

 

Conn()

 

init()

 

Sub New()

 

constructor(aReader: Reader; aWriter: Writer; aPipeline: Pipeline; aconn: ReadWriteCloser)

 

Conn(Reader aReader, Writer aWriter, Pipeline aPipeline, ReadWriteCloser aconn)

 

init(_ aReader: Reader, _ aWriter: Writer, _ aPipeline: Pipeline, _ aconn: ReadWriteCloser)

 

Sub New(aReader As Reader, aWriter As Writer, aPipeline As Pipeline, aconn As ReadWriteCloser)

Parameters:

  • aReader:
  • aWriter:
  • aPipeline:
  • aconn:

constructor (Conn)

 

constructor(value: Conn)

 

Conn(Conn value)

 

init(_ value: Conn)

 

Sub New(value As Conn)

Parameters:

  • value:

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

 

Function Close() As error

Cmd

 

method Cmd(format: string; params args: array of Object): tuple of (id: UInt64, err: error)

 

(UInt64 id, error err) Cmd(string format, params Object[] args)

 

func Cmd(_ format: string, _ args: Object...) -> (UInt64, error)

 

func Cmd(format string, args []interface{}) tuple of (|name=id| UInt64, |name=err| error)

 

Function Cmd(format As string, ParamArray args As Object()) As Tuple (Of UInt64, error)

Parameters:

  • format:
  • args:

DotReader

 

method DotReader: Reader

 

Reader DotReader()

 

func DotReader() -> Reader

 

func DotReader() Reader

 

Function DotReader() As Reader

DotWriter

 

method DotWriter: WriteCloser

 

WriteCloser DotWriter()

 

func DotWriter() -> WriteCloser

 

func DotWriter() WriteCloser

 

Function DotWriter() As WriteCloser

EndRequest

 

// .NET, .NET Standard 2.0
method EndRequest(id: UInt64)
// Island
method EndRequest(id: uint)

 

// .NET, .NET Standard 2.0
void EndRequest(UInt64 id)
// Island
void EndRequest(uint id)

 

// .NET, .NET Standard 2.0
func EndRequest(_ id: UInt64)
// Island
func EndRequest(_ id: uint)

 

// .NET, .NET Standard 2.0
func EndRequest(id UInt64) 
// Island
func EndRequest(id uint) void

 

// .NET, .NET Standard 2.0
Sub EndRequest(id As UInt64)
// Island
Sub EndRequest(id As uint)

Parameters:

  • id:

EndResponse

 

// .NET, .NET Standard 2.0
method EndResponse(id: UInt64)
// Island
method EndResponse(id: uint)

 

// .NET, .NET Standard 2.0
void EndResponse(UInt64 id)
// Island
void EndResponse(uint id)

 

// .NET, .NET Standard 2.0
func EndResponse(_ id: UInt64)
// Island
func EndResponse(_ id: uint)

 

// .NET, .NET Standard 2.0
func EndResponse(id UInt64) 
// Island
func EndResponse(id uint) void

 

// .NET, .NET Standard 2.0
Sub EndResponse(id As UInt64)
// Island
Sub EndResponse(id As uint)

Parameters:

  • id:

 

method Next: uint

 

uint Next()

 

func Next() -> uint

 

func Next() uint

 

Function Next() As uint

Pipeline

 

var Pipeline: Pipeline;

 

Pipeline Pipeline

 

var Pipeline: Pipeline

 

Pipeline Pipeline

 

FIELD Pipeline() As Pipeline

PrintfLine

 

method PrintfLine(format: string; params args: array of Object): error

 

error PrintfLine(string format, params Object[] args)

 

func PrintfLine(_ format: string, _ args: Object...) -> error

 

func PrintfLine(format string, args []interface{}) error

 

Function PrintfLine(format As string, ParamArray args As Object()) As error

Parameters:

  • format:
  • args:

R

 

// .NET, .NET Standard 2.0
property R: Memory<Reader> read write;
// Island
property R: Memory<Reader> read write;

 

// .NET, .NET Standard 2.0
Memory<Reader> R { get; set; }
// Island
Memory<Reader> R { get; set; }

 

// .NET, .NET Standard 2.0
var R: Memory<Reader> { get{} set{} }
// Island
var R: Memory<Reader> { get{} set{} }

 

// .NET, .NET Standard 2.0
R Memory<Reader>
// Island
R Memory<Reader>

 

// .NET, .NET Standard 2.0
Property R() As Memory<Reader>
// Island
Property R() As Memory<Reader>

ReadCodeLine

 

method ReadCodeLine(expectCode: int): tuple of (code: Int64, message: string, err: error)

 

(Int64 code, string message, error err) ReadCodeLine(int expectCode)

 

func ReadCodeLine(_ expectCode: int) -> (Int64, string, error)

 

func ReadCodeLine(expectCode int) tuple of (|name=code| Int64, |name=message| string, |name=err| error)

 

Function ReadCodeLine(expectCode As int) As Tuple (Of Int64, string, error)

Parameters:

  • expectCode:

ReadContinuedLine

 

method ReadContinuedLine: tuple of (string, error)

 

(string, error) ReadContinuedLine()

 

func ReadContinuedLine() -> (string, error)

 

func ReadContinuedLine() tuple of (string, error)

 

Function ReadContinuedLine() As Tuple (Of string, error)

ReadContinuedLineBytes

 

method ReadContinuedLineBytes: tuple of (Slice<Byte>, error)

 

(Slice<Byte>, error) ReadContinuedLineBytes()

 

func ReadContinuedLineBytes() -> (Slice<Byte>, error)

 

func ReadContinuedLineBytes() tuple of (Slice<Byte>, error)

 

Function ReadContinuedLineBytes() As Tuple (Of Slice<Byte>, error)

ReadDotBytes

 

method ReadDotBytes: tuple of (Slice<Byte>, error)

 

(Slice<Byte>, error) ReadDotBytes()

 

func ReadDotBytes() -> (Slice<Byte>, error)

 

func ReadDotBytes() tuple of (Slice<Byte>, error)

 

Function ReadDotBytes() As Tuple (Of Slice<Byte>, error)

ReadDotLines

 

method ReadDotLines: tuple of (Slice<string>, error)

 

(Slice<string>, error) ReadDotLines()

 

func ReadDotLines() -> (Slice<string>, error)

 

func ReadDotLines() tuple of (Slice<string>, error)

 

Function ReadDotLines() As Tuple (Of Slice<string>, error)

Reader

 

var Reader: Reader;

 

Reader Reader

 

var Reader: Reader

 

Reader Reader

 

FIELD Reader() As Reader

ReadLine

 

method ReadLine: tuple of (string, error)

 

(string, error) ReadLine()

 

func ReadLine() -> (string, error)

 

func ReadLine() tuple of (string, error)

 

Function ReadLine() As Tuple (Of string, error)

ReadLineBytes

 

method ReadLineBytes: tuple of (Slice<Byte>, error)

 

(Slice<Byte>, error) ReadLineBytes()

 

func ReadLineBytes() -> (Slice<Byte>, error)

 

func ReadLineBytes() tuple of (Slice<Byte>, error)

 

Function ReadLineBytes() As Tuple (Of Slice<Byte>, error)

ReadMIMEHeader

 

method ReadMIMEHeader: tuple of (MIMEHeader, error)

 

(MIMEHeader, error) ReadMIMEHeader()

 

func ReadMIMEHeader() -> (MIMEHeader, error)

 

func ReadMIMEHeader() tuple of (MIMEHeader, error)

 

Function ReadMIMEHeader() As Tuple (Of MIMEHeader, error)

ReadResponse

 

method ReadResponse(expectCode: int): tuple of (code: Int64, message: string, err: error)

 

(Int64 code, string message, error err) ReadResponse(int expectCode)

 

func ReadResponse(_ expectCode: int) -> (Int64, string, error)

 

func ReadResponse(expectCode int) tuple of (|name=code| Int64, |name=message| string, |name=err| error)

 

Function ReadResponse(expectCode As int) As Tuple (Of Int64, string, error)

Parameters:

  • expectCode:

StartRequest

 

// .NET, .NET Standard 2.0
method StartRequest(id: UInt64)
// Island
method StartRequest(id: uint)

 

// .NET, .NET Standard 2.0
void StartRequest(UInt64 id)
// Island
void StartRequest(uint id)

 

// .NET, .NET Standard 2.0
func StartRequest(_ id: UInt64)
// Island
func StartRequest(_ id: uint)

 

// .NET, .NET Standard 2.0
func StartRequest(id UInt64) 
// Island
func StartRequest(id uint) void

 

// .NET, .NET Standard 2.0
Sub StartRequest(id As UInt64)
// Island
Sub StartRequest(id As uint)

Parameters:

  • id:

StartResponse

 

// .NET, .NET Standard 2.0
method StartResponse(id: UInt64)
// Island
method StartResponse(id: uint)

 

// .NET, .NET Standard 2.0
void StartResponse(UInt64 id)
// Island
void StartResponse(uint id)

 

// .NET, .NET Standard 2.0
func StartResponse(_ id: UInt64)
// Island
func StartResponse(_ id: uint)

 

// .NET, .NET Standard 2.0
func StartResponse(id UInt64) 
// Island
func StartResponse(id uint) void

 

// .NET, .NET Standard 2.0
Sub StartResponse(id As UInt64)
// Island
Sub StartResponse(id As uint)

Parameters:

  • id:

W

 

// .NET, .NET Standard 2.0
property W: Memory<Writer> read write;
// Island
property W: Memory<Writer> read write;

 

// .NET, .NET Standard 2.0
Memory<Writer> W { get; set; }
// Island
Memory<Writer> W { get; set; }

 

// .NET, .NET Standard 2.0
var W: Memory<Writer> { get{} set{} }
// Island
var W: Memory<Writer> { get{} set{} }

 

// .NET, .NET Standard 2.0
W Memory<Writer>
// Island
W Memory<Writer>

 

// .NET, .NET Standard 2.0
Property W() As Memory<Writer>
// Island
Property W() As Memory<Writer>

Writer

 

var Writer: Writer;

 

Writer Writer

 

var Writer: Writer

 

Writer Writer

 

FIELD Writer() As Writer

 

Pipeline

 

var Pipeline: Pipeline;

 

Pipeline Pipeline

 

var Pipeline: Pipeline

 

Pipeline Pipeline

 

FIELD Pipeline() As Pipeline

Reader

 

var Reader: Reader;

 

Reader Reader

 

var Reader: Reader

 

Reader Reader

 

FIELD Reader() As Reader

Writer

 

var Writer: Writer;

 

Writer Writer

 

var Writer: Writer

 

Writer Writer

 

FIELD Writer() As Writer

 

R

 

// .NET, .NET Standard 2.0
property R: Memory<Reader> read write;
// Island
property R: Memory<Reader> read write;

 

// .NET, .NET Standard 2.0
Memory<Reader> R { get; set; }
// Island
Memory<Reader> R { get; set; }

 

// .NET, .NET Standard 2.0
var R: Memory<Reader> { get{} set{} }
// Island
var R: Memory<Reader> { get{} set{} }

 

// .NET, .NET Standard 2.0
R Memory<Reader>
// Island
R Memory<Reader>

 

// .NET, .NET Standard 2.0
Property R() As Memory<Reader>
// Island
Property R() As Memory<Reader>

W

 

// .NET, .NET Standard 2.0
property W: Memory<Writer> read write;
// Island
property W: Memory<Writer> read write;

 

// .NET, .NET Standard 2.0
Memory<Writer> W { get; set; }
// Island
Memory<Writer> W { get; set; }

 

// .NET, .NET Standard 2.0
var W: Memory<Writer> { get{} set{} }
// Island
var W: Memory<Writer> { get{} set{} }

 

// .NET, .NET Standard 2.0
W Memory<Writer>
// Island
W Memory<Writer>

 

// .NET, .NET Standard 2.0
Property W() As Memory<Writer>
// Island
Property W() As Memory<Writer>

 

constructor

 

constructor

 

Conn()

 

init()

 

Sub New()

 

constructor(aReader: Reader; aWriter: Writer; aPipeline: Pipeline; aconn: ReadWriteCloser)

 

Conn(Reader aReader, Writer aWriter, Pipeline aPipeline, ReadWriteCloser aconn)

 

init(_ aReader: Reader, _ aWriter: Writer, _ aPipeline: Pipeline, _ aconn: ReadWriteCloser)

 

Sub New(aReader As Reader, aWriter As Writer, aPipeline As Pipeline, aconn As ReadWriteCloser)

Parameters:

  • aReader:
  • aWriter:
  • aPipeline:
  • aconn:

constructor (Conn)

 

constructor(value: Conn)

 

Conn(Conn value)

 

init(_ value: Conn)

 

Sub New(value As Conn)

Parameters:

  • value:

DotReader

 

method DotReader: Reader

 

Reader DotReader()

 

func DotReader() -> Reader

 

func DotReader() Reader

 

Function DotReader() As Reader

DotWriter

 

method DotWriter: WriteCloser

 

WriteCloser DotWriter()

 

func DotWriter() -> WriteCloser

 

func DotWriter() WriteCloser

 

Function DotWriter() As WriteCloser

EndRequest

 

// .NET, .NET Standard 2.0
method EndRequest(id: UInt64)
// Island
method EndRequest(id: uint)

 

// .NET, .NET Standard 2.0
void EndRequest(UInt64 id)
// Island
void EndRequest(uint id)

 

// .NET, .NET Standard 2.0
func EndRequest(_ id: UInt64)
// Island
func EndRequest(_ id: uint)

 

// .NET, .NET Standard 2.0
func EndRequest(id UInt64) 
// Island
func EndRequest(id uint) void

 

// .NET, .NET Standard 2.0
Sub EndRequest(id As UInt64)
// Island
Sub EndRequest(id As uint)

Parameters:

  • id:

EndResponse

 

// .NET, .NET Standard 2.0
method EndResponse(id: UInt64)
// Island
method EndResponse(id: uint)

 

// .NET, .NET Standard 2.0
void EndResponse(UInt64 id)
// Island
void EndResponse(uint id)

 

// .NET, .NET Standard 2.0
func EndResponse(_ id: UInt64)
// Island
func EndResponse(_ id: uint)

 

// .NET, .NET Standard 2.0
func EndResponse(id UInt64) 
// Island
func EndResponse(id uint) void

 

// .NET, .NET Standard 2.0
Sub EndResponse(id As UInt64)
// Island
Sub EndResponse(id As uint)

Parameters:

  • id:

 

method Next: uint

 

uint Next()

 

func Next() -> uint

 

func Next() uint

 

Function Next() As uint

PrintfLine

 

method PrintfLine(format: string; params args: array of Object): error

 

error PrintfLine(string format, params Object[] args)

 

func PrintfLine(_ format: string, _ args: Object...) -> error

 

func PrintfLine(format string, args []interface{}) error

 

Function PrintfLine(format As string, ParamArray args As Object()) As error

Parameters:

  • format:
  • args:

ReadCodeLine

 

method ReadCodeLine(expectCode: int): tuple of (code: Int64, message: string, err: error)

 

(Int64 code, string message, error err) ReadCodeLine(int expectCode)

 

func ReadCodeLine(_ expectCode: int) -> (Int64, string, error)

 

func ReadCodeLine(expectCode int) tuple of (|name=code| Int64, |name=message| string, |name=err| error)

 

Function ReadCodeLine(expectCode As int) As Tuple (Of Int64, string, error)

Parameters:

  • expectCode:

ReadContinuedLine

 

method ReadContinuedLine: tuple of (string, error)

 

(string, error) ReadContinuedLine()

 

func ReadContinuedLine() -> (string, error)

 

func ReadContinuedLine() tuple of (string, error)

 

Function ReadContinuedLine() As Tuple (Of string, error)

ReadContinuedLineBytes

 

method ReadContinuedLineBytes: tuple of (Slice<Byte>, error)

 

(Slice<Byte>, error) ReadContinuedLineBytes()

 

func ReadContinuedLineBytes() -> (Slice<Byte>, error)

 

func ReadContinuedLineBytes() tuple of (Slice<Byte>, error)

 

Function ReadContinuedLineBytes() As Tuple (Of Slice<Byte>, error)

ReadDotBytes

 

method ReadDotBytes: tuple of (Slice<Byte>, error)

 

(Slice<Byte>, error) ReadDotBytes()

 

func ReadDotBytes() -> (Slice<Byte>, error)

 

func ReadDotBytes() tuple of (Slice<Byte>, error)

 

Function ReadDotBytes() As Tuple (Of Slice<Byte>, error)

ReadDotLines

 

method ReadDotLines: tuple of (Slice<string>, error)

 

(Slice<string>, error) ReadDotLines()

 

func ReadDotLines() -> (Slice<string>, error)

 

func ReadDotLines() tuple of (Slice<string>, error)

 

Function ReadDotLines() As Tuple (Of Slice<string>, error)

ReadLine

 

method ReadLine: tuple of (string, error)

 

(string, error) ReadLine()

 

func ReadLine() -> (string, error)

 

func ReadLine() tuple of (string, error)

 

Function ReadLine() As Tuple (Of string, error)

ReadLineBytes

 

method ReadLineBytes: tuple of (Slice<Byte>, error)

 

(Slice<Byte>, error) ReadLineBytes()

 

func ReadLineBytes() -> (Slice<Byte>, error)

 

func ReadLineBytes() tuple of (Slice<Byte>, error)

 

Function ReadLineBytes() As Tuple (Of Slice<Byte>, error)

ReadMIMEHeader

 

method ReadMIMEHeader: tuple of (MIMEHeader, error)

 

(MIMEHeader, error) ReadMIMEHeader()

 

func ReadMIMEHeader() -> (MIMEHeader, error)

 

func ReadMIMEHeader() tuple of (MIMEHeader, error)

 

Function ReadMIMEHeader() As Tuple (Of MIMEHeader, error)

ReadResponse

 

method ReadResponse(expectCode: int): tuple of (code: Int64, message: string, err: error)

 

(Int64 code, string message, error err) ReadResponse(int expectCode)

 

func ReadResponse(_ expectCode: int) -> (Int64, string, error)

 

func ReadResponse(expectCode int) tuple of (|name=code| Int64, |name=message| string, |name=err| error)

 

Function ReadResponse(expectCode As int) As Tuple (Of Int64, string, error)

Parameters:

  • expectCode:

StartRequest

 

// .NET, .NET Standard 2.0
method StartRequest(id: UInt64)
// Island
method StartRequest(id: uint)

 

// .NET, .NET Standard 2.0
void StartRequest(UInt64 id)
// Island
void StartRequest(uint id)

 

// .NET, .NET Standard 2.0
func StartRequest(_ id: UInt64)
// Island
func StartRequest(_ id: uint)

 

// .NET, .NET Standard 2.0
func StartRequest(id UInt64) 
// Island
func StartRequest(id uint) void

 

// .NET, .NET Standard 2.0
Sub StartRequest(id As UInt64)
// Island
Sub StartRequest(id As uint)

Parameters:

  • id:

StartResponse

 

// .NET, .NET Standard 2.0
method StartResponse(id: UInt64)
// Island
method StartResponse(id: uint)

 

// .NET, .NET Standard 2.0
void StartResponse(UInt64 id)
// Island
void StartResponse(uint id)

 

// .NET, .NET Standard 2.0
func StartResponse(_ id: UInt64)
// Island
func StartResponse(_ id: uint)

 

// .NET, .NET Standard 2.0
func StartResponse(id UInt64) 
// Island
func StartResponse(id uint) void

 

// .NET, .NET Standard 2.0
Sub StartResponse(id As UInt64)
// Island
Sub StartResponse(id As uint)

Parameters:

  • id: