Conn

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.crypto.tls
  • Platforms: .NET, .NET Standard 2.0, Island

Implements

Instance Methods


constructor

 

constructor

 

Conn()

 

init()

 

Sub New()

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

LocalAddr

 

method LocalAddr: Addr

 

Addr LocalAddr()

 

func LocalAddr() -> Addr

 

func LocalAddr() Addr

 

Function LocalAddr() As Addr

Read

 

// .NET, Island
method Read(b: Slice<Byte>): tuple of (Int64, error)
// .NET Standard 2.0
method Read(b: Slice<Byte>): ValueTuple<Int64, error>

 

// .NET, Island
(Int64, error) Read(Slice<Byte> b)
// .NET Standard 2.0
ValueTuple<Int64, error> Read(Slice<Byte> b)

 

// .NET, Island
func Read(_ b: Slice<Byte>) -> (Int64, error)
// .NET Standard 2.0
func Read(_ b: Slice<Byte>) -> ValueTuple<Int64, error>

 

// .NET, Island
func Read(b Slice<Byte>) (Int64, error)
// .NET Standard 2.0
func Read(b Slice<Byte>) ValueTuple<Int64, error>

 

// .NET, Island
Function Read(b As Slice<Byte>) As Tuple (Of Int64, error)
// .NET Standard 2.0
Function Read(b As Slice<Byte>) As ValueTuple<Int64, error>

Parameters:

  • b:

RemoteAddr

 

method RemoteAddr: Addr

 

Addr RemoteAddr()

 

func RemoteAddr() -> Addr

 

func RemoteAddr() Addr

 

Function RemoteAddr() As Addr

SetDeadline

 

method SetDeadline(t: Time): error

 

error SetDeadline(Time t)

 

func SetDeadline(_ t: Time) -> error

 

func SetDeadline(t Time) error

 

Function SetDeadline(t As Time) As error

Parameters:

  • t:

SetReadDeadline

 

method SetReadDeadline(t: Time): error

 

error SetReadDeadline(Time t)

 

func SetReadDeadline(_ t: Time) -> error

 

func SetReadDeadline(t Time) error

 

Function SetReadDeadline(t As Time) As error

Parameters:

  • t:

SetWriteDeadline

 

method SetWriteDeadline(t: Time): error

 

error SetWriteDeadline(Time t)

 

func SetWriteDeadline(_ t: Time) -> error

 

func SetWriteDeadline(t Time) error

 

Function SetWriteDeadline(t As Time) As error

Parameters:

  • t:

Write

 

// .NET, Island
method Write(b: Slice<Byte>): tuple of (Int64, error)
// .NET Standard 2.0
method Write(b: Slice<Byte>): ValueTuple<Int64, error>

 

// .NET, Island
(Int64, error) Write(Slice<Byte> b)
// .NET Standard 2.0
ValueTuple<Int64, error> Write(Slice<Byte> b)

 

// .NET, Island
func Write(_ b: Slice<Byte>) -> (Int64, error)
// .NET Standard 2.0
func Write(_ b: Slice<Byte>) -> ValueTuple<Int64, error>

 

// .NET, Island
func Write(b Slice<Byte>) (Int64, error)
// .NET Standard 2.0
func Write(b Slice<Byte>) ValueTuple<Int64, error>

 

// .NET, Island
Function Write(b As Slice<Byte>) As Tuple (Of Int64, error)
// .NET Standard 2.0
Function Write(b As Slice<Byte>) As ValueTuple<Int64, error>

Parameters:

  • b:

CloseWrite

 

method CloseWrite: error

 

error CloseWrite()

 

func CloseWrite() -> error

 

func CloseWrite() error

 

Function CloseWrite() As error

ConnectionState

 

method ConnectionState: ConnectionState

 

ConnectionState ConnectionState()

 

func ConnectionState() -> ConnectionState

 

func ConnectionState() ConnectionState

 

Function ConnectionState() As ConnectionState

Handshake

 

method Handshake: error

 

error Handshake()

 

func Handshake() -> error

 

func Handshake() error

 

Function Handshake() As error

OCSPResponse

 

method OCSPResponse: Slice<Byte>

 

Slice<Byte> OCSPResponse()

 

func OCSPResponse() -> Slice<Byte>

 

func OCSPResponse() Slice<Byte>

 

Function OCSPResponse() As Slice<Byte>

VerifyHostname

 

method VerifyHostname(host: string): error

 

error VerifyHostname(string host)

 

func VerifyHostname(_ host: string) -> error

 

func VerifyHostname(host string) error

 

Function VerifyHostname(host As string) As error

Parameters:

  • host: