IHTTPTransportAdv::SetProxy Method

HRESULT SetProxy([in] BSTR ProxyServer, [in] short ProxyPort);

This enables the use of a proxy server for outgoing HTTP(S) connections.

 

Parameters

ProxyServer
BSTR, [in]: the Name or IP address of the proxy server to use
ProxyPort
short, [in]: the Port number to connect to on the proxy server

 

Return Values

 

Sample Code

dim t 
set t = CreateObject("pocketSOAP.HTTPTransport.2")
t.SetProxy "proxy.domain.com", 8080

 

See Also

The IHTTPTransportAdv Interface | 

 

 

Copyright

Copyright © Simon Fell, 2000-2004. All rights reserved.