Table of Contents

Class SimpleProxyResolver

Namespace
Gio
Assembly
Gio-2.0.dll
public class SimpleProxyResolver : Object, IObject, INotifyPropertyChanged, IDisposable, ProxyResolver, IHandle, GTypeProvider
Inheritance
SimpleProxyResolver
Implements
Inherited Members

Constructors

SimpleProxyResolver(bool, params ConstructArgument[])

protected SimpleProxyResolver(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

SimpleProxyResolver(IntPtr, bool)

protected SimpleProxyResolver(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

DefaultProxyPropertyDefinition

public static readonly Property<string?, SimpleProxyResolver> DefaultProxyPropertyDefinition

Field Value

Property<string, SimpleProxyResolver>

IgnoreHostsPropertyDefinition

public static readonly Property<string[], SimpleProxyResolver> IgnoreHostsPropertyDefinition

Field Value

Property<string[], SimpleProxyResolver>

Properties

DefaultProxy

public string? DefaultProxy { get; set; }

Property Value

string

IgnoreHosts

public string[] IgnoreHosts { get; set; }

Property Value

string[]

Methods

GetGType()

public static Type GetGType()

Returns

Type

IsSupported()

[Version("2.26")]
public bool IsSupported()

Returns

bool

Lookup(string, Cancellable?)

[Version("2.26")]
public string[] Lookup(string uri, Cancellable? cancellable)

Parameters

uri string
cancellable Cancellable

Returns

string[]

LookupFinish(AsyncResult)

[Version("2.26")]
public string[] LookupFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

string[]

New(string?, string[]?)

[Version("2.36")]
public static ProxyResolver New(string? defaultProxy, string[]? ignoreHosts)

Parameters

defaultProxy string
ignoreHosts string[]

Returns

ProxyResolver

SetDefaultProxy(string?)

[Version("2.36")]
public void SetDefaultProxy(string? defaultProxy)

Parameters

defaultProxy string

SetIgnoreHosts(string[])

[Version("2.36")]
public void SetIgnoreHosts(string[] ignoreHosts)

Parameters

ignoreHosts string[]

SetUriProxy(string, string)

[Version("2.36")]
public void SetUriProxy(string uriScheme, string proxy)

Parameters

uriScheme string
proxy string