I am refering to:


bullzi said:
the best way out is, in the clientengine class, in both get and put methods, u should put the following code (before u open the transaction)

//put ur proxy server and port here.
TBuf8<20> aProxy8(_L8("<proxy addrort>"));
RStringF prxAddr = iSession.StringPool().OpenFStringL(aProxy8);
THTTPHdrVal prxUsage(iSession.StringPool().StringF(HTTP::EUseProxy,RHTTPSession::GetTable()));
iSession.ConnectionInfo().SetPropertyL(iSession.StringPool().StringF(HTTP::EProxyUsage,RHTTPSession::GetTable()), prxUsage);
iSession.ConnectionInfo().SetPropertyL(iSession.StringPool().StringF(HTTP::EProxyAddress,RHTTPSession::GetTable()), prxAddr);
CleanupStack::PopAndDestroy(); // prxAddr

I also refered to:

What i want is, whenever the user selects Internet Access point when asked(given a list),
My application should auto enable proxy if any proxy settings exists OR enabled.
The application should automatically fetch the proxy settings from the commsdb too. (If i am not wrong)

Is this possible thru CHttpFilterProxyInterface::InstallFilterL(iSession)
As described by nmittal in the second link.

If it is possible then, how exactly to implement it?
I dont want to hard code proxy server IP and port. Thats is why i am looking out..

Please reply,