Class Proxy
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
IntPtrTransfer ownership: None Nullable: False
connection
IntPtrTransfer ownership: None Nullable: False
proxyAddress
IntPtrTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
connection
IntPtrTransfer ownership: None Nullable: False
proxyAddress
IntPtrTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer 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
NonNullableUtf8StringHandleTransfer 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
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False