Table of Contents

Class Proxy

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class Proxy
Inheritance
Proxy
Inherited Members

Methods

Connect(IntPtr, IntPtr, IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_proxy_connect. Version: 2.26

[Version("2.26")]
public static extern IntPtr Connect(IntPtr proxy, IntPtr connection, IntPtr proxyAddress, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

proxy IntPtr

Transfer ownership: None Nullable: False

connection IntPtr

Transfer ownership: None Nullable: False

proxyAddress IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

ConnectAsync(IntPtr, IntPtr, IntPtr, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method g_proxy_connect_async. Version: 2.26

[Version("2.26")]
public static extern void ConnectAsync(IntPtr proxy, IntPtr connection, IntPtr proxyAddress, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

proxy IntPtr

Transfer ownership: None Nullable: False

connection IntPtr

Transfer ownership: None Nullable: False

proxyAddress IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

ConnectFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_proxy_connect_finish. Version: 2.26

[Version("2.26")]
public static extern IntPtr ConnectFinish(IntPtr proxy, IntPtr result, out ErrorOwnedHandle error)

Parameters

proxy IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

GetDefaultForProtocol(NonNullableUtf8StringHandle)

Calls native function g_proxy_get_default_for_protocol. Version: 2.26

[Version("2.26")]
public static extern IntPtr GetDefaultForProtocol(NonNullableUtf8StringHandle protocol)

Parameters

protocol NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

GetGType()

Calls native function g_proxy_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

SupportsHostname(IntPtr)

Calls native method g_proxy_supports_hostname. Version: 2.26

[Version("2.26")]
public static extern bool SupportsHostname(IntPtr proxy)

Parameters

proxy IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False