Class SimpleProxyResolver
public class SimpleProxyResolver
- Inheritance
-
SimpleProxyResolver
- Inherited Members
Methods
GetGType()
Calls native function g_simple_proxy_resolver_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
New(NullableUtf8StringHandle, Utf8StringArrayNullTerminatedHandle)
Calls native function g_simple_proxy_resolver_new. Version: 2.36
[Version("2.36")]
public static extern IntPtr New(NullableUtf8StringHandle defaultProxy, Utf8StringArrayNullTerminatedHandle ignoreHosts)
Parameters
defaultProxy
NullableUtf8StringHandleTransfer ownership: None Nullable: True
ignoreHosts
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: Full Nullable: False
SetDefaultProxy(IntPtr, NullableUtf8StringHandle)
Calls native method g_simple_proxy_resolver_set_default_proxy. Version: 2.36
[Version("2.36")]
public static extern void SetDefaultProxy(IntPtr resolver, NullableUtf8StringHandle defaultProxy)
Parameters
resolver
IntPtrTransfer ownership: None Nullable: False
defaultProxy
NullableUtf8StringHandleTransfer ownership: None Nullable: True
SetIgnoreHosts(IntPtr, Utf8StringArrayNullTerminatedHandle)
Calls native method g_simple_proxy_resolver_set_ignore_hosts. Version: 2.36
[Version("2.36")]
public static extern void SetIgnoreHosts(IntPtr resolver, Utf8StringArrayNullTerminatedHandle ignoreHosts)
Parameters
resolver
IntPtrTransfer ownership: None Nullable: False
ignoreHosts
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
SetUriProxy(IntPtr, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native method g_simple_proxy_resolver_set_uri_proxy. Version: 2.36
[Version("2.36")]
public static extern void SetUriProxy(IntPtr resolver, NonNullableUtf8StringHandle uriScheme, NonNullableUtf8StringHandle proxy)
Parameters
resolver
IntPtrTransfer ownership: None Nullable: False
uriScheme
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
proxy
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False