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 (Reader, Writer, Pipeline, ReadWriteCloser)
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)
Parameters:
- value:
Close
method Close: error
error Close()
func Close() -> error
func Close() error
Function Close() As error
Cmd
func Cmd(format string, args []interface{}) tuple of (|name=id| UInt64, |name=err| 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
Parameters:
- id:
EndResponse
Parameters:
- id:
Next
Pipeline
var Pipeline: Pipeline;
Pipeline Pipeline
var Pipeline: Pipeline
Pipeline Pipeline
FIELD Pipeline() As Pipeline
PrintfLine
func PrintfLine(format string, args []interface{}) error
Parameters:
- format:
- args:
R
// .NET, .NET Standard 2.0
property R: Memory<Reader> read write;
// Island
property R: Memory<Reader> read write;
ReadCodeLine
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
ReadContinuedLineBytes
ReadDotBytes
ReadDotLines
Reader
ReadLine
ReadLineBytes
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
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
Parameters:
- id:
StartResponse
// .NET, .NET Standard 2.0
method StartResponse(id: UInt64)
// Island
method StartResponse(id: uint)
Parameters:
- id:
W
// .NET, .NET Standard 2.0
property W: Memory<Writer> read write;
// Island
property W: Memory<Writer> read write;
Writer
Pipeline
var Pipeline: Pipeline;
Pipeline Pipeline
var Pipeline: Pipeline
Pipeline Pipeline
FIELD Pipeline() As Pipeline
Reader
Writer
R
// .NET, .NET Standard 2.0
property R: Memory<Reader> read write;
// Island
property R: Memory<Reader> read write;
W
constructor
constructor
Conn()
init()
Sub New()
constructor (Reader, Writer, Pipeline, ReadWriteCloser)
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)
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
Parameters:
- id:
EndResponse
Parameters:
- id:
Next
PrintfLine
func PrintfLine(format string, args []interface{}) error
Parameters:
- format:
- args:
ReadCodeLine
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
ReadContinuedLineBytes
ReadDotBytes
ReadDotLines
ReadLine
ReadLineBytes
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
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
Parameters:
- id:
StartResponse
// .NET, .NET Standard 2.0
method StartResponse(id: UInt64)
// Island
method StartResponse(id: uint)
Parameters:
- id: