Global

Location

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

Methods


CanonicalMIMEHeaderKey

 

class method CanonicalMIMEHeaderKey(s: string): string

 

static string CanonicalMIMEHeaderKey(string s)

 

static func CanonicalMIMEHeaderKey(_ s: string) -> string

 

func CanonicalMIMEHeaderKey(s string) string

 

Shared Function CanonicalMIMEHeaderKey(s As string) As string

Parameters:

  • s:

Dial

 

// .NET, .NET Standard 2.0
class method Dial(network: string; addr: string): tuple of (Memory<Conn>, error)
// Island
class method Dial(network: string; addr: string): tuple of (Memory<Conn>, error)

 

// .NET, .NET Standard 2.0
static (Memory<Conn>, error) Dial(string network, string addr)
// Island
static (Memory<Conn>, error) Dial(string network, string addr)

 

// .NET, .NET Standard 2.0
static func Dial(_ network: string, _ addr: string) -> (Memory<Conn>, error)
// Island
static func Dial(_ network: string, _ addr: string) -> (Memory<Conn>, error)

 

// .NET, .NET Standard 2.0
func Dial(network string, addr string) tuple of (Memory<Conn>, error)
// Island
func Dial(network string, addr string) tuple of (Memory<Conn>, error)

 

// .NET, .NET Standard 2.0
Shared Function Dial(network As string, addr As string) As Tuple (Of Memory<Conn>, error)
// Island
Shared Function Dial(network As string, addr As string) As Tuple (Of Memory<Conn>, error)

Parameters:

  • network:
  • addr:

NewConn

 

// .NET, .NET Standard 2.0
class method NewConn(conn: ReadWriteCloser): Memory<Conn>
// Island
class method NewConn(conn: ReadWriteCloser): Memory<Conn>

 

// .NET, .NET Standard 2.0
static Memory<Conn> NewConn(ReadWriteCloser conn)
// Island
static Memory<Conn> NewConn(ReadWriteCloser conn)

 

// .NET, .NET Standard 2.0
static func NewConn(_ conn: ReadWriteCloser) -> Memory<Conn>
// Island
static func NewConn(_ conn: ReadWriteCloser) -> Memory<Conn>

 

// .NET, .NET Standard 2.0
func NewConn(conn ReadWriteCloser) Memory<Conn>
// Island
func NewConn(conn ReadWriteCloser) Memory<Conn>

 

// .NET, .NET Standard 2.0
Shared Function NewConn(conn As ReadWriteCloser) As Memory<Conn>
// Island
Shared Function NewConn(conn As ReadWriteCloser) As Memory<Conn>

Parameters:

  • conn:

NewReader

 

// .NET, .NET Standard 2.0
class method NewReader(r: Memory<Reader>): Memory<Reader>
// Island
class method NewReader(r: Memory<Reader>): Memory<Reader>

 

// .NET, .NET Standard 2.0
static Memory<Reader> NewReader(Memory<Reader> r)
// Island
static Memory<Reader> NewReader(Memory<Reader> r)

 

// .NET, .NET Standard 2.0
static func NewReader(_ r: Memory<Reader>) -> Memory<Reader>
// Island
static func NewReader(_ r: Memory<Reader>) -> Memory<Reader>

 

// .NET, .NET Standard 2.0
func NewReader(r Memory<Reader>) Memory<Reader>
// Island
func NewReader(r Memory<Reader>) Memory<Reader>

 

// .NET, .NET Standard 2.0
Shared Function NewReader(r As Memory<Reader>) As Memory<Reader>
// Island
Shared Function NewReader(r As Memory<Reader>) As Memory<Reader>

Parameters:

  • r:

NewWriter

 

// .NET, .NET Standard 2.0
class method NewWriter(w: Memory<Writer>): Memory<Writer>
// Island
class method NewWriter(w: Memory<Writer>): Memory<Writer>

 

// .NET, .NET Standard 2.0
static Memory<Writer> NewWriter(Memory<Writer> w)
// Island
static Memory<Writer> NewWriter(Memory<Writer> w)

 

// .NET, .NET Standard 2.0
static func NewWriter(_ w: Memory<Writer>) -> Memory<Writer>
// Island
static func NewWriter(_ w: Memory<Writer>) -> Memory<Writer>

 

// .NET, .NET Standard 2.0
func NewWriter(w Memory<Writer>) Memory<Writer>
// Island
func NewWriter(w Memory<Writer>) Memory<Writer>

 

// .NET, .NET Standard 2.0
Shared Function NewWriter(w As Memory<Writer>) As Memory<Writer>
// Island
Shared Function NewWriter(w As Memory<Writer>) As Memory<Writer>

Parameters:

  • w:

TrimBytes

 

class method TrimBytes(b: Slice<Byte>): Slice<Byte>

 

static Slice<Byte> TrimBytes(Slice<Byte> b)

 

static func TrimBytes(_ b: Slice<Byte>) -> Slice<Byte>

 

func TrimBytes(b Slice<Byte>) Slice<Byte>

 

Shared Function TrimBytes(b As Slice<Byte>) As Slice<Byte>

Parameters:

  • b:

TrimString

 

class method TrimString(s: string): string

 

static string TrimString(string s)

 

static func TrimString(_ s: string) -> string

 

func TrimString(s string) string

 

Shared Function TrimString(s As string) As string

Parameters:

  • s: