PerHost

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.golang.org.x.net.proxy
  • Platforms: .NET, .NET Standard 2.0, Island

Implements

Instance Methods


constructor

 

constructor

 

PerHost()

 

init()

 

Sub New()

 

constructor(adef: Dialer; abypass: Dialer; abypassNetworks: Slice<Reference<IPNet>>; abypassIPs: Slice<IP>; abypassZones: Slice<string>; abypassHosts: Slice<string>)

 

PerHost(Dialer adef, Dialer abypass, Slice<Reference<IPNet>> abypassNetworks, Slice<IP> abypassIPs, Slice<string> abypassZones, Slice<string> abypassHosts)

 

init(_ adef: Dialer, _ abypass: Dialer, _ abypassNetworks: Slice<Reference<IPNet>>, _ abypassIPs: Slice<IP>, _ abypassZones: Slice<string>, _ abypassHosts: Slice<string>)

 

Sub New(adef As Dialer, abypass As Dialer, abypassNetworks As Slice<Reference<IPNet>>, abypassIPs As Slice<IP>, abypassZones As Slice<string>, abypassHosts As Slice<string>)

Parameters:

  • adef:
  • abypass:
  • abypassNetworks:
  • abypassIPs:
  • abypassZones:
  • abypassHosts:

constructor (PerHost)

 

constructor(value: PerHost)

 

PerHost(PerHost value)

 

init(_ value: PerHost)

 

Sub New(value As PerHost)

Parameters:

  • value:

Dial

 

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

 

// .NET
(Conn, error) Dial(string network, string addr)
// .NET Standard 2.0
ValueTuple<Conn, error> Dial(string network, string addr)
// Island
(Conn c, error err) Dial(string network, string addr)

 

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

 

// .NET
func Dial(network string, addr string) (Conn, error)
// .NET Standard 2.0
func Dial(network string, addr string) ValueTuple<Conn, error>
// Island
func Dial(network string, addr string) (c Conn, err error)

 

// .NET
Function Dial(network As string, addr As string) As Tuple (Of Conn, error)
// .NET Standard 2.0
Function Dial(network As string, addr As string) As ValueTuple<Conn, error>
// Island
Function Dial(network As string, addr As string) As Tuple (Of c:=Conn, err:=error)

Parameters:

  • network:
  • addr:

AddFromString

 

method AddFromString(s: string)

 

void AddFromString(string s)

 

func AddFromString(_ s: string)

 

func AddFromString(s string)

 

Sub AddFromString(s As string)

Parameters:

  • s:

AddHost

 

method AddHost(host: string)

 

void AddHost(string host)

 

func AddHost(_ host: string)

 

func AddHost(host string)

 

Sub AddHost(host As string)

Parameters:

  • host:

AddIP

 

method AddIP(ip: IP)

 

void AddIP(IP ip)

 

func AddIP(_ ip: IP)

 

func AddIP(ip IP)

 

Sub AddIP(ip As IP)

Parameters:

  • ip:

AddNetwork

 

method AddNetwork(net: Reference<IPNet>)

 

void AddNetwork(Reference<IPNet> net)

 

func AddNetwork(_ net: Reference<IPNet>)

 

func AddNetwork(net Reference<IPNet>)

 

Sub AddNetwork(net As Reference<IPNet>)

Parameters:

  • net:

AddZone

 

method AddZone(zone: string)

 

void AddZone(string zone)

 

func AddZone(_ zone: string)

 

func AddZone(zone string)

 

Sub AddZone(zone As string)

Parameters:

  • zone:

DialContext

 

method DialContext(ctx: Context; network: string; addr: string): tuple of (c: Conn, err: error)

 

(Conn c, error err) DialContext(Context ctx, string network, string addr)

 

func DialContext(_ ctx: Context, _ network: string, _ addr: string) -> (c:Conn, err:error)

 

func DialContext(ctx Context, network string, addr string) (c Conn, err error)

 

Function DialContext(ctx As Context, network As string, addr As string) As Tuple (Of c:=Conn, err:=error)

Parameters:

  • ctx:
  • network:
  • addr: