Conn

Overview

Location

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

 

constructor

 

constructor

 

Conn()

 

init()

constructor (Conn)

 

constructor(value: Conn)

 

Conn(Conn value)

 

init(_ value: Conn)

Parameters:

  • value:

 

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)

Parameters:

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

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() 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...) -> (id:UInt64, err:error)

 

func Cmd(format string, args []interface{}) (id UInt64, err error)

Parameters:

  • format:
  • args:

DotReader

 

method DotReader: Reader

 

Reader DotReader()

 

func DotReader() -> Reader

 

func DotReader() Reader

DotWriter

 

method DotWriter: WriteCloser

 

WriteCloser DotWriter()

 

func DotWriter() -> WriteCloser

 

func DotWriter() WriteCloser

EndRequest (uint) Island, macOS

 

method EndRequest(id: uint)

 

void EndRequest(uint id)

 

func EndRequest(_ id: uint)

 

func EndRequest(id uint)

Parameters:

  • id:

EndRequest (UInt64) .NET, .NET Standard 2.0

 

method EndRequest(id: UInt64)

 

void EndRequest(UInt64 id)

 

func EndRequest(_ id: UInt64)

 

func EndRequest(id UInt64)

Parameters:

  • id:

EndResponse (uint) Island, macOS

 

method EndResponse(id: uint)

 

void EndResponse(uint id)

 

func EndResponse(_ id: uint)

 

func EndResponse(id uint)

Parameters:

  • id:

EndResponse (UInt64) .NET, .NET Standard 2.0

 

method EndResponse(id: UInt64)

 

void EndResponse(UInt64 id)

 

func EndResponse(_ id: UInt64)

 

func EndResponse(id UInt64)

Parameters:

  • id:

Next

 

method Next: uint

 

uint Next()

 

func Next() -> uint

 

func Next() uint

Pipeline

 

var Pipeline: Pipeline;

 

Pipeline Pipeline

 

var Pipeline: Pipeline

 

Pipeline 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

Parameters:

  • format:
  • args:

R

 

property R: Reference<Reader> read write;

 

Reference<Reader> R { get; set; }

 

var R: Reference<Reader> { get{} set{} }

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) -> (code:Int64, message:string, err:error)

 

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

Parameters:

  • expectCode:

ReadContinuedLine

 

// .NET, Island, macOS
method ReadContinuedLine: tuple of (string, error)
// .NET Standard 2.0
method ReadContinuedLine: ValueTuple<string, error>

 

// .NET, Island, macOS
(string, error) ReadContinuedLine()
// .NET Standard 2.0
ValueTuple<string, error> ReadContinuedLine()

 

// .NET, Island, macOS
func ReadContinuedLine() -> (string, error)
// .NET Standard 2.0
func ReadContinuedLine() -> ValueTuple<string, error>

 

// .NET, Island, macOS
func ReadContinuedLine() (string, error)
// .NET Standard 2.0
func ReadContinuedLine() ValueTuple<string, error>

ReadContinuedLineBytes

 

// .NET, Island, macOS
method ReadContinuedLineBytes: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method ReadContinuedLineBytes: ValueTuple<Slice<Byte>, error>

 

// .NET, Island, macOS
(Slice<Byte>, error) ReadContinuedLineBytes()
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> ReadContinuedLineBytes()

 

// .NET, Island, macOS
func ReadContinuedLineBytes() -> (Slice<Byte>, error)
// .NET Standard 2.0
func ReadContinuedLineBytes() -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island, macOS
func ReadContinuedLineBytes() (Slice<Byte>, error)
// .NET Standard 2.0
func ReadContinuedLineBytes() ValueTuple<Slice<Byte>, error>

ReadDotBytes

 

// .NET, Island, macOS
method ReadDotBytes: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method ReadDotBytes: ValueTuple<Slice<Byte>, error>

 

// .NET, Island, macOS
(Slice<Byte>, error) ReadDotBytes()
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> ReadDotBytes()

 

// .NET, Island, macOS
func ReadDotBytes() -> (Slice<Byte>, error)
// .NET Standard 2.0
func ReadDotBytes() -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island, macOS
func ReadDotBytes() (Slice<Byte>, error)
// .NET Standard 2.0
func ReadDotBytes() ValueTuple<Slice<Byte>, error>

ReadDotLines

 

// .NET, Island, macOS
method ReadDotLines: tuple of (Slice<string>, error)
// .NET Standard 2.0
method ReadDotLines: ValueTuple<Slice<string>, error>

 

// .NET, Island, macOS
(Slice<string>, error) ReadDotLines()
// .NET Standard 2.0
ValueTuple<Slice<string>, error> ReadDotLines()

 

// .NET, Island, macOS
func ReadDotLines() -> (Slice<string>, error)
// .NET Standard 2.0
func ReadDotLines() -> ValueTuple<Slice<string>, error>

 

// .NET, Island, macOS
func ReadDotLines() (Slice<string>, error)
// .NET Standard 2.0
func ReadDotLines() ValueTuple<Slice<string>, error>

Reader

 

var Reader: Reader;

 

Reader Reader

 

var Reader: Reader

 

Reader Reader

ReadLine

 

// .NET, Island, macOS
method ReadLine: tuple of (string, error)
// .NET Standard 2.0
method ReadLine: ValueTuple<string, error>

 

// .NET, Island, macOS
(string, error) ReadLine()
// .NET Standard 2.0
ValueTuple<string, error> ReadLine()

 

// .NET, Island, macOS
func ReadLine() -> (string, error)
// .NET Standard 2.0
func ReadLine() -> ValueTuple<string, error>

 

// .NET, Island, macOS
func ReadLine() (string, error)
// .NET Standard 2.0
func ReadLine() ValueTuple<string, error>

ReadLineBytes

 

// .NET, Island, macOS
method ReadLineBytes: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method ReadLineBytes: ValueTuple<Slice<Byte>, error>

 

// .NET, Island, macOS
(Slice<Byte>, error) ReadLineBytes()
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> ReadLineBytes()

 

// .NET, Island, macOS
func ReadLineBytes() -> (Slice<Byte>, error)
// .NET Standard 2.0
func ReadLineBytes() -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island, macOS
func ReadLineBytes() (Slice<Byte>, error)
// .NET Standard 2.0
func ReadLineBytes() ValueTuple<Slice<Byte>, error>

ReadMIMEHeader

 

// .NET, Island, macOS
method ReadMIMEHeader: tuple of (MIMEHeader, error)
// .NET Standard 2.0
method ReadMIMEHeader: ValueTuple<MIMEHeader, error>

 

// .NET, Island, macOS
(MIMEHeader, error) ReadMIMEHeader()
// .NET Standard 2.0
ValueTuple<MIMEHeader, error> ReadMIMEHeader()

 

// .NET, Island, macOS
func ReadMIMEHeader() -> (MIMEHeader, error)
// .NET Standard 2.0
func ReadMIMEHeader() -> ValueTuple<MIMEHeader, error>

 

// .NET, Island, macOS
func ReadMIMEHeader() (MIMEHeader, error)
// .NET Standard 2.0
func ReadMIMEHeader() ValueTuple<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) -> (code:Int64, message:string, err:error)

 

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

Parameters:

  • expectCode:

StartRequest (uint) Island, macOS

 

method StartRequest(id: uint)

 

void StartRequest(uint id)

 

func StartRequest(_ id: uint)

 

func StartRequest(id uint)

Parameters:

  • id:

StartRequest (UInt64) .NET, .NET Standard 2.0

 

method StartRequest(id: UInt64)

 

void StartRequest(UInt64 id)

 

func StartRequest(_ id: UInt64)

 

func StartRequest(id UInt64)

Parameters:

  • id:

StartResponse (uint) Island, macOS

 

method StartResponse(id: uint)

 

void StartResponse(uint id)

 

func StartResponse(_ id: uint)

 

func StartResponse(id uint)

Parameters:

  • id:

StartResponse (UInt64) .NET, .NET Standard 2.0

 

method StartResponse(id: UInt64)

 

void StartResponse(UInt64 id)

 

func StartResponse(_ id: UInt64)

 

func StartResponse(id UInt64)

Parameters:

  • id:

W

 

property W: Reference<Writer> read write;

 

Reference<Writer> W { get; set; }

 

var W: Reference<Writer> { get{} set{} }

Writer

 

var Writer: Writer;

 

Writer Writer

 

var Writer: Writer

 

Writer Writer

 

Pipeline

 

var Pipeline: Pipeline;

 

Pipeline Pipeline

 

var Pipeline: Pipeline

 

Pipeline Pipeline

Reader

 

var Reader: Reader;

 

Reader Reader

 

var Reader: Reader

 

Reader Reader

Writer

 

var Writer: Writer;

 

Writer Writer

 

var Writer: Writer

 

Writer Writer

 

R

 

property R: Reference<Reader> read write;

 

Reference<Reader> R { get; set; }

 

var R: Reference<Reader> { get{} set{} }

W

 

property W: Reference<Writer> read write;

 

Reference<Writer> W { get; set; }

 

var W: Reference<Writer> { get{} set{} }

 

constructor

 

constructor

 

Conn()

 

init()

constructor (Conn)

 

constructor(value: Conn)

 

Conn(Conn value)

 

init(_ value: Conn)

Parameters:

  • value:

 

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)

Parameters:

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

DotReader

 

method DotReader: Reader

 

Reader DotReader()

 

func DotReader() -> Reader

 

func DotReader() Reader

DotWriter

 

method DotWriter: WriteCloser

 

WriteCloser DotWriter()

 

func DotWriter() -> WriteCloser

 

func DotWriter() WriteCloser

EndRequest (uint) Island, macOS

 

method EndRequest(id: uint)

 

void EndRequest(uint id)

 

func EndRequest(_ id: uint)

 

func EndRequest(id uint)

Parameters:

  • id:

EndRequest (UInt64) .NET, .NET Standard 2.0

 

method EndRequest(id: UInt64)

 

void EndRequest(UInt64 id)

 

func EndRequest(_ id: UInt64)

 

func EndRequest(id UInt64)

Parameters:

  • id:

EndResponse (uint) Island, macOS

 

method EndResponse(id: uint)

 

void EndResponse(uint id)

 

func EndResponse(_ id: uint)

 

func EndResponse(id uint)

Parameters:

  • id:

EndResponse (UInt64) .NET, .NET Standard 2.0

 

method EndResponse(id: UInt64)

 

void EndResponse(UInt64 id)

 

func EndResponse(_ id: UInt64)

 

func EndResponse(id UInt64)

Parameters:

  • id:

Next

 

method Next: uint

 

uint Next()

 

func Next() -> uint

 

func Next() 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

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) -> (code:Int64, message:string, err:error)

 

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

Parameters:

  • expectCode:

ReadContinuedLine

 

// .NET, Island, macOS
method ReadContinuedLine: tuple of (string, error)
// .NET Standard 2.0
method ReadContinuedLine: ValueTuple<string, error>

 

// .NET, Island, macOS
(string, error) ReadContinuedLine()
// .NET Standard 2.0
ValueTuple<string, error> ReadContinuedLine()

 

// .NET, Island, macOS
func ReadContinuedLine() -> (string, error)
// .NET Standard 2.0
func ReadContinuedLine() -> ValueTuple<string, error>

 

// .NET, Island, macOS
func ReadContinuedLine() (string, error)
// .NET Standard 2.0
func ReadContinuedLine() ValueTuple<string, error>

ReadContinuedLineBytes

 

// .NET, Island, macOS
method ReadContinuedLineBytes: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method ReadContinuedLineBytes: ValueTuple<Slice<Byte>, error>

 

// .NET, Island, macOS
(Slice<Byte>, error) ReadContinuedLineBytes()
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> ReadContinuedLineBytes()

 

// .NET, Island, macOS
func ReadContinuedLineBytes() -> (Slice<Byte>, error)
// .NET Standard 2.0
func ReadContinuedLineBytes() -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island, macOS
func ReadContinuedLineBytes() (Slice<Byte>, error)
// .NET Standard 2.0
func ReadContinuedLineBytes() ValueTuple<Slice<Byte>, error>

ReadDotBytes

 

// .NET, Island, macOS
method ReadDotBytes: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method ReadDotBytes: ValueTuple<Slice<Byte>, error>

 

// .NET, Island, macOS
(Slice<Byte>, error) ReadDotBytes()
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> ReadDotBytes()

 

// .NET, Island, macOS
func ReadDotBytes() -> (Slice<Byte>, error)
// .NET Standard 2.0
func ReadDotBytes() -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island, macOS
func ReadDotBytes() (Slice<Byte>, error)
// .NET Standard 2.0
func ReadDotBytes() ValueTuple<Slice<Byte>, error>

ReadDotLines

 

// .NET, Island, macOS
method ReadDotLines: tuple of (Slice<string>, error)
// .NET Standard 2.0
method ReadDotLines: ValueTuple<Slice<string>, error>

 

// .NET, Island, macOS
(Slice<string>, error) ReadDotLines()
// .NET Standard 2.0
ValueTuple<Slice<string>, error> ReadDotLines()

 

// .NET, Island, macOS
func ReadDotLines() -> (Slice<string>, error)
// .NET Standard 2.0
func ReadDotLines() -> ValueTuple<Slice<string>, error>

 

// .NET, Island, macOS
func ReadDotLines() (Slice<string>, error)
// .NET Standard 2.0
func ReadDotLines() ValueTuple<Slice<string>, error>

ReadLine

 

// .NET, Island, macOS
method ReadLine: tuple of (string, error)
// .NET Standard 2.0
method ReadLine: ValueTuple<string, error>

 

// .NET, Island, macOS
(string, error) ReadLine()
// .NET Standard 2.0
ValueTuple<string, error> ReadLine()

 

// .NET, Island, macOS
func ReadLine() -> (string, error)
// .NET Standard 2.0
func ReadLine() -> ValueTuple<string, error>

 

// .NET, Island, macOS
func ReadLine() (string, error)
// .NET Standard 2.0
func ReadLine() ValueTuple<string, error>

ReadLineBytes

 

// .NET, Island, macOS
method ReadLineBytes: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method ReadLineBytes: ValueTuple<Slice<Byte>, error>

 

// .NET, Island, macOS
(Slice<Byte>, error) ReadLineBytes()
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> ReadLineBytes()

 

// .NET, Island, macOS
func ReadLineBytes() -> (Slice<Byte>, error)
// .NET Standard 2.0
func ReadLineBytes() -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island, macOS
func ReadLineBytes() (Slice<Byte>, error)
// .NET Standard 2.0
func ReadLineBytes() ValueTuple<Slice<Byte>, error>

ReadMIMEHeader

 

// .NET, Island, macOS
method ReadMIMEHeader: tuple of (MIMEHeader, error)
// .NET Standard 2.0
method ReadMIMEHeader: ValueTuple<MIMEHeader, error>

 

// .NET, Island, macOS
(MIMEHeader, error) ReadMIMEHeader()
// .NET Standard 2.0
ValueTuple<MIMEHeader, error> ReadMIMEHeader()

 

// .NET, Island, macOS
func ReadMIMEHeader() -> (MIMEHeader, error)
// .NET Standard 2.0
func ReadMIMEHeader() -> ValueTuple<MIMEHeader, error>

 

// .NET, Island, macOS
func ReadMIMEHeader() (MIMEHeader, error)
// .NET Standard 2.0
func ReadMIMEHeader() ValueTuple<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) -> (code:Int64, message:string, err:error)

 

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

Parameters:

  • expectCode:

StartRequest (uint) Island, macOS

 

method StartRequest(id: uint)

 

void StartRequest(uint id)

 

func StartRequest(_ id: uint)

 

func StartRequest(id uint)

Parameters:

  • id:

StartRequest (UInt64) .NET, .NET Standard 2.0

 

method StartRequest(id: UInt64)

 

void StartRequest(UInt64 id)

 

func StartRequest(_ id: UInt64)

 

func StartRequest(id UInt64)

Parameters:

  • id:

StartResponse (uint) Island, macOS

 

method StartResponse(id: uint)

 

void StartResponse(uint id)

 

func StartResponse(_ id: uint)

 

func StartResponse(id uint)

Parameters:

  • id:

StartResponse (UInt64) .NET, .NET Standard 2.0

 

method StartResponse(id: UInt64)

 

void StartResponse(UInt64 id)

 

func StartResponse(_ id: UInt64)

 

func StartResponse(id UInt64)

Parameters:

  • id:

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() 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...) -> (id:UInt64, err:error)

 

func Cmd(format string, args []interface{}) (id UInt64, err error)

Parameters:

  • format:
  • args: