Global

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

 

constructor Island

 

constructor

 

__Global()

 

init()

 

Sub New()

Dial

 

// .NET, Island
class method Dial(ctx: Context; network: string; address: string): tuple of (Conn, error)
// .NET Standard 2.0
class method Dial(ctx: Context; network: string; address: string): ValueTuple<Conn, error>

 

// .NET, Island
static (Conn, error) Dial(Context ctx, string network, string address)
// .NET Standard 2.0
static ValueTuple<Conn, error> Dial(Context ctx, string network, string address)

 

// .NET, Island
static func Dial(_ ctx: Context, _ network: string, _ address: string) -> (Conn, error)
// .NET Standard 2.0
static func Dial(_ ctx: Context, _ network: string, _ address: string) -> ValueTuple<Conn, error>

 

// .NET, Island
func Dial(ctx Context, network string, address string) (Conn, error)
// .NET Standard 2.0
func Dial(ctx Context, network string, address string) ValueTuple<Conn, error>

 

// .NET, Island
Shared Function Dial(ctx As Context, network As string, address As string) As Tuple (Of Conn, error)
// .NET Standard 2.0
Shared Function Dial(ctx As Context, network As string, address As string) As ValueTuple<Conn, error>

Parameters:

  • ctx:
  • network:
  • address:

Direct

 

class var Direct: direct;

 

static direct Direct

 

static var Direct: direct

 

Direct direct

 

Shared FIELD Direct() As direct

FromEnvironment

 

class method FromEnvironment: Dialer

 

static Dialer FromEnvironment()

 

static func FromEnvironment() -> Dialer

 

func FromEnvironment() Dialer

 

Shared Function FromEnvironment() As Dialer

FromEnvironmentUsing

 

class method FromEnvironmentUsing(forward: Dialer): Dialer

 

static Dialer FromEnvironmentUsing(Dialer forward)

 

static func FromEnvironmentUsing(_ forward: Dialer) -> Dialer

 

func FromEnvironmentUsing(forward Dialer) Dialer

 

Shared Function FromEnvironmentUsing(forward As Dialer) As Dialer

Parameters:

  • forward:

FromURL

 

// .NET, Island
class method FromURL(u: Reference<URL>; forward: Dialer): tuple of (Dialer, error)
// .NET Standard 2.0
class method FromURL(u: Reference<URL>; forward: Dialer): ValueTuple<Dialer, error>

 

// .NET, Island
static (Dialer, error) FromURL(Reference<URL> u, Dialer forward)
// .NET Standard 2.0
static ValueTuple<Dialer, error> FromURL(Reference<URL> u, Dialer forward)

 

// .NET, Island
static func FromURL(_ u: Reference<URL>, _ forward: Dialer) -> (Dialer, error)
// .NET Standard 2.0
static func FromURL(_ u: Reference<URL>, _ forward: Dialer) -> ValueTuple<Dialer, error>

 

// .NET, Island
func FromURL(u Reference<URL>, forward Dialer) (Dialer, error)
// .NET Standard 2.0
func FromURL(u Reference<URL>, forward Dialer) ValueTuple<Dialer, error>

 

// .NET, Island
Shared Function FromURL(u As Reference<URL>, forward As Dialer) As Tuple (Of Dialer, error)
// .NET Standard 2.0
Shared Function FromURL(u As Reference<URL>, forward As Dialer) As ValueTuple<Dialer, error>

Parameters:

  • u:
  • forward:

NewPerHost

 

class method NewPerHost(defaultDialer: Dialer; bypass: Dialer): Reference<PerHost>

 

static Reference<PerHost> NewPerHost(Dialer defaultDialer, Dialer bypass)

 

static func NewPerHost(_ defaultDialer: Dialer, _ bypass: Dialer) -> Reference<PerHost>

 

func NewPerHost(defaultDialer Dialer, bypass Dialer) Reference<PerHost>

 

Shared Function NewPerHost(defaultDialer As Dialer, bypass As Dialer) As Reference<PerHost>

Parameters:

  • defaultDialer:
  • bypass:

RegisterDialerType (string, Func<Reference<URL>, Dialer, tuple of (Dialer, error)>) .NET, Island

 

class method RegisterDialerType(scheme: string; f: Func<Reference<URL>, Dialer, tuple of (Dialer, error)>)

 

static void RegisterDialerType(string scheme, Func<Reference<URL>, Dialer, (Dialer, error)> f)

 

static func RegisterDialerType(_ scheme: string, _ f: Func<Reference<URL>, Dialer, (Dialer, error)>)

 

func RegisterDialerType(scheme string, f Func<Reference<URL>, Dialer, (Dialer, error)>)

 

Shared Sub RegisterDialerType(scheme As string, f As Func (Of Reference<URL>, Dialer, Tuple (Of Dialer, error)))

Parameters:

  • scheme:
  • f:

RegisterDialerType (string, Func<Reference<URL>, Dialer, ValueTuple<Dialer, error>>) .NET Standard 2.0

 

class method RegisterDialerType(scheme: string; f: Func<Reference<URL>, Dialer, ValueTuple<Dialer, error>>)

 

static void RegisterDialerType(string scheme, Func<Reference<URL>, Dialer, ValueTuple<Dialer, error>> f)

 

static func RegisterDialerType(_ scheme: string, _ f: Func<Reference<URL>, Dialer, ValueTuple<Dialer, error>>)

 

static void RegisterDialerType(string scheme, Func3<Reference<URL>, Dialer, ValueTuple<Dialer, error>> f)

 

func RegisterDialerType(scheme string, f Func<Reference<URL>, Dialer, ValueTuple<Dialer, error>>)

 

Shared Sub RegisterDialerType(scheme As string, f As Func (Of Reference<URL>, Dialer, ValueTuple<Dialer, error>))

Parameters:

  • scheme:
  • f:

SOCKS5

 

// .NET, Island
class method SOCKS5(network: string; address: string; auth: Reference<Auth>; forward: Dialer): tuple of (Dialer, error)
// .NET Standard 2.0
class method SOCKS5(network: string; address: string; auth: Reference<Auth>; forward: Dialer): ValueTuple<Dialer, error>

 

// .NET, Island
static (Dialer, error) SOCKS5(string network, string address, Reference<Auth> auth, Dialer forward)
// .NET Standard 2.0
static ValueTuple<Dialer, error> SOCKS5(string network, string address, Reference<Auth> auth, Dialer forward)

 

// .NET, Island
static func SOCKS5(_ network: string, _ address: string, _ auth: Reference<Auth>, _ forward: Dialer) -> (Dialer, error)
// .NET Standard 2.0
static func SOCKS5(_ network: string, _ address: string, _ auth: Reference<Auth>, _ forward: Dialer) -> ValueTuple<Dialer, error>

 

// .NET, Island
func SOCKS5(network string, address string, auth Reference<Auth>, forward Dialer) (Dialer, error)
// .NET Standard 2.0
func SOCKS5(network string, address string, auth Reference<Auth>, forward Dialer) ValueTuple<Dialer, error>

 

// .NET, Island
Shared Function SOCKS5(network As string, address As string, auth As Reference<Auth>, forward As Dialer) As Tuple (Of Dialer, error)
// .NET Standard 2.0
Shared Function SOCKS5(network As string, address As string, auth As Reference<Auth>, forward As Dialer) As ValueTuple<Dialer, error>

Parameters:

  • network:
  • address:
  • auth:
  • forward:

 

Direct

 

class var Direct: direct;

 

static direct Direct

 

static var Direct: direct

 

Direct direct

 

Shared FIELD Direct() As direct

 

Dial

 

// .NET, Island
class method Dial(ctx: Context; network: string; address: string): tuple of (Conn, error)
// .NET Standard 2.0
class method Dial(ctx: Context; network: string; address: string): ValueTuple<Conn, error>

 

// .NET, Island
static (Conn, error) Dial(Context ctx, string network, string address)
// .NET Standard 2.0
static ValueTuple<Conn, error> Dial(Context ctx, string network, string address)

 

// .NET, Island
static func Dial(_ ctx: Context, _ network: string, _ address: string) -> (Conn, error)
// .NET Standard 2.0
static func Dial(_ ctx: Context, _ network: string, _ address: string) -> ValueTuple<Conn, error>

 

// .NET, Island
func Dial(ctx Context, network string, address string) (Conn, error)
// .NET Standard 2.0
func Dial(ctx Context, network string, address string) ValueTuple<Conn, error>

 

// .NET, Island
Shared Function Dial(ctx As Context, network As string, address As string) As Tuple (Of Conn, error)
// .NET Standard 2.0
Shared Function Dial(ctx As Context, network As string, address As string) As ValueTuple<Conn, error>

Parameters:

  • ctx:
  • network:
  • address:

FromEnvironment

 

class method FromEnvironment: Dialer

 

static Dialer FromEnvironment()

 

static func FromEnvironment() -> Dialer

 

func FromEnvironment() Dialer

 

Shared Function FromEnvironment() As Dialer

FromEnvironmentUsing

 

class method FromEnvironmentUsing(forward: Dialer): Dialer

 

static Dialer FromEnvironmentUsing(Dialer forward)

 

static func FromEnvironmentUsing(_ forward: Dialer) -> Dialer

 

func FromEnvironmentUsing(forward Dialer) Dialer

 

Shared Function FromEnvironmentUsing(forward As Dialer) As Dialer

Parameters:

  • forward:

FromURL

 

// .NET, Island
class method FromURL(u: Reference<URL>; forward: Dialer): tuple of (Dialer, error)
// .NET Standard 2.0
class method FromURL(u: Reference<URL>; forward: Dialer): ValueTuple<Dialer, error>

 

// .NET, Island
static (Dialer, error) FromURL(Reference<URL> u, Dialer forward)
// .NET Standard 2.0
static ValueTuple<Dialer, error> FromURL(Reference<URL> u, Dialer forward)

 

// .NET, Island
static func FromURL(_ u: Reference<URL>, _ forward: Dialer) -> (Dialer, error)
// .NET Standard 2.0
static func FromURL(_ u: Reference<URL>, _ forward: Dialer) -> ValueTuple<Dialer, error>

 

// .NET, Island
func FromURL(u Reference<URL>, forward Dialer) (Dialer, error)
// .NET Standard 2.0
func FromURL(u Reference<URL>, forward Dialer) ValueTuple<Dialer, error>

 

// .NET, Island
Shared Function FromURL(u As Reference<URL>, forward As Dialer) As Tuple (Of Dialer, error)
// .NET Standard 2.0
Shared Function FromURL(u As Reference<URL>, forward As Dialer) As ValueTuple<Dialer, error>

Parameters:

  • u:
  • forward:

NewPerHost

 

class method NewPerHost(defaultDialer: Dialer; bypass: Dialer): Reference<PerHost>

 

static Reference<PerHost> NewPerHost(Dialer defaultDialer, Dialer bypass)

 

static func NewPerHost(_ defaultDialer: Dialer, _ bypass: Dialer) -> Reference<PerHost>

 

func NewPerHost(defaultDialer Dialer, bypass Dialer) Reference<PerHost>

 

Shared Function NewPerHost(defaultDialer As Dialer, bypass As Dialer) As Reference<PerHost>

Parameters:

  • defaultDialer:
  • bypass:

RegisterDialerType (string, Func<Reference<URL>, Dialer, tuple of (Dialer, error)>) .NET, Island

 

class method RegisterDialerType(scheme: string; f: Func<Reference<URL>, Dialer, tuple of (Dialer, error)>)

 

static void RegisterDialerType(string scheme, Func<Reference<URL>, Dialer, (Dialer, error)> f)

 

static func RegisterDialerType(_ scheme: string, _ f: Func<Reference<URL>, Dialer, (Dialer, error)>)

 

func RegisterDialerType(scheme string, f Func<Reference<URL>, Dialer, (Dialer, error)>)

 

Shared Sub RegisterDialerType(scheme As string, f As Func (Of Reference<URL>, Dialer, Tuple (Of Dialer, error)))

Parameters:

  • scheme:
  • f:

RegisterDialerType (string, Func<Reference<URL>, Dialer, ValueTuple<Dialer, error>>) .NET Standard 2.0

 

class method RegisterDialerType(scheme: string; f: Func<Reference<URL>, Dialer, ValueTuple<Dialer, error>>)

 

static void RegisterDialerType(string scheme, Func<Reference<URL>, Dialer, ValueTuple<Dialer, error>> f)

 

static func RegisterDialerType(_ scheme: string, _ f: Func<Reference<URL>, Dialer, ValueTuple<Dialer, error>>)

 

static void RegisterDialerType(string scheme, Func3<Reference<URL>, Dialer, ValueTuple<Dialer, error>> f)

 

func RegisterDialerType(scheme string, f Func<Reference<URL>, Dialer, ValueTuple<Dialer, error>>)

 

Shared Sub RegisterDialerType(scheme As string, f As Func (Of Reference<URL>, Dialer, ValueTuple<Dialer, error>))

Parameters:

  • scheme:
  • f:

SOCKS5

 

// .NET, Island
class method SOCKS5(network: string; address: string; auth: Reference<Auth>; forward: Dialer): tuple of (Dialer, error)
// .NET Standard 2.0
class method SOCKS5(network: string; address: string; auth: Reference<Auth>; forward: Dialer): ValueTuple<Dialer, error>

 

// .NET, Island
static (Dialer, error) SOCKS5(string network, string address, Reference<Auth> auth, Dialer forward)
// .NET Standard 2.0
static ValueTuple<Dialer, error> SOCKS5(string network, string address, Reference<Auth> auth, Dialer forward)

 

// .NET, Island
static func SOCKS5(_ network: string, _ address: string, _ auth: Reference<Auth>, _ forward: Dialer) -> (Dialer, error)
// .NET Standard 2.0
static func SOCKS5(_ network: string, _ address: string, _ auth: Reference<Auth>, _ forward: Dialer) -> ValueTuple<Dialer, error>

 

// .NET, Island
func SOCKS5(network string, address string, auth Reference<Auth>, forward Dialer) (Dialer, error)
// .NET Standard 2.0
func SOCKS5(network string, address string, auth Reference<Auth>, forward Dialer) ValueTuple<Dialer, error>

 

// .NET, Island
Shared Function SOCKS5(network As string, address As string, auth As Reference<Auth>, forward As Dialer) As Tuple (Of Dialer, error)
// .NET Standard 2.0
Shared Function SOCKS5(network As string, address As string, auth As Reference<Auth>, forward As Dialer) As ValueTuple<Dialer, error>

Parameters:

  • network:
  • address:
  • auth:
  • forward: