Table of Contents

Class SimpleProxyResolver

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

Constructors

SimpleProxyResolver(params ConstructArgument[])

public SimpleProxyResolver(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SimpleProxyResolver(SimpleProxyResolverHandle)

public SimpleProxyResolver(SimpleProxyResolverHandle handle)

Parameters

handle SimpleProxyResolverHandle

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