Class ProxyAddress
public class ProxyAddress
- Inheritance
-
ProxyAddress
- Inherited Members
Methods
GetDestinationHostname(IntPtr)
Calls native method g_proxy_address_get_destination_hostname. Version: 2.26
[Version("2.26")]
public static extern NonNullableUtf8StringUnownedHandle GetDestinationHostname(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetDestinationPort(IntPtr)
Calls native method g_proxy_address_get_destination_port. Version: 2.26
[Version("2.26")]
public static extern ushort GetDestinationPort(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- ushort
Transfer ownership: None Nullable: False
GetDestinationProtocol(IntPtr)
Calls native method g_proxy_address_get_destination_protocol. Version: 2.34
[Version("2.34")]
public static extern NonNullableUtf8StringUnownedHandle GetDestinationProtocol(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetGType()
Calls native function g_proxy_address_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetPassword(IntPtr)
Calls native method g_proxy_address_get_password. Version: 2.26
[Version("2.26")]
public static extern NullableUtf8StringUnownedHandle GetPassword(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetProtocol(IntPtr)
Calls native method g_proxy_address_get_protocol. Version: 2.26
[Version("2.26")]
public static extern NonNullableUtf8StringUnownedHandle GetProtocol(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetUri(IntPtr)
Calls native method g_proxy_address_get_uri. Version: 2.34
[Version("2.34")]
public static extern NullableUtf8StringUnownedHandle GetUri(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetUsername(IntPtr)
Calls native method g_proxy_address_get_username. Version: 2.26
[Version("2.26")]
public static extern NullableUtf8StringUnownedHandle GetUsername(IntPtr proxy)
Parameters
proxy
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
New(IntPtr, ushort, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, ushort, NullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native constructor g_proxy_address_new. Version: 2.26
[Version("2.26")]
public static extern IntPtr New(IntPtr inetaddr, ushort port, NonNullableUtf8StringHandle protocol, NonNullableUtf8StringHandle destHostname, ushort destPort, NullableUtf8StringHandle username, NullableUtf8StringHandle password)
Parameters
inetaddr
IntPtrTransfer ownership: None Nullable: False
port
ushortTransfer ownership: None Nullable: False
protocol
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
destHostname
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
destPort
ushortTransfer ownership: None Nullable: False
username
NullableUtf8StringHandleTransfer ownership: None Nullable: True
password
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: Full Nullable: False