Windows SDK API Reference
Loading...
Searching...
No Matches
IProxySettingHandler Class Referenceabstract

Proxy setting information callback interface. More...

#include <network_connection_handler_interface.h>

Public Member Functions

virtual ~IProxySettingHandler ()
 
virtual const wchar_t * GetProxyHost ()=0
 Get the address of the proxy host. Return the address of the proxy host. More...
 
virtual unsigned int GetProxyPort ()=0
 Get the proxy port. Return The value of the proxy port. More...
 
virtual const wchar_t * GetProxyDescription ()=0
 Get the description of the proxy. Return The description of the proxy. More...
 
virtual void InputUsernamePassword (const wchar_t *userName, const wchar_t *psw)=0
 Input the username and password when using the proxy. More...
 
virtual void Cancel ()=0
 Cancel the process to input the username and password of the proxy. More...
 

Detailed Description

Proxy setting information callback interface.

Definition at line 29 of file network_connection_handler_interface.h.

Constructor & Destructor Documentation

◆ ~IProxySettingHandler()

virtual IProxySettingHandler::~IProxySettingHandler ( )
inlinevirtual

Definition at line 32 of file network_connection_handler_interface.h.

32{};

Member Function Documentation

◆ Cancel()

virtual void IProxySettingHandler::Cancel ( )
pure virtual

Cancel the process to input the username and password of the proxy.

◆ GetProxyDescription()

virtual const wchar_t * IProxySettingHandler::GetProxyDescription ( )
pure virtual

Get the description of the proxy. Return The description of the proxy.

◆ GetProxyHost()

virtual const wchar_t * IProxySettingHandler::GetProxyHost ( )
pure virtual

Get the address of the proxy host. Return the address of the proxy host.

◆ GetProxyPort()

virtual unsigned int IProxySettingHandler::GetProxyPort ( )
pure virtual

Get the proxy port. Return The value of the proxy port.

◆ InputUsernamePassword()

virtual void IProxySettingHandler::InputUsernamePassword ( const wchar_t *  userName,
const wchar_t *  psw 
)
pure virtual

Input the username and password when using the proxy.

Parameters
userNameThe username when using the proxy.
pswThe password when using the proxy.