lnet connect htttp server through proxy server lazarus / 8-Other ---------------------------------------------------------------------- suparit · 2009-07-04 06:13 Hello    please help me,..I try to connect to http server through the proxy server. The sample below is working for direct connection. But if i need the use the proxy server path. How code should be modify. Thank you very much code from sample ================================================ UseSSL := DecomposeURL(URL, Host, URI, Port);     HttpClient := TLHTTPClient.Create(nil);   SSLSession := TLSSLSession.Create(HttpClient);   SSLSession.SSLActive := UseSSL;   HttpClient.Session := SSLSession;   HttpClient.Host := Host;   HttpClient.Method := hmGet;   HttpClient.Port := Port;   HttpClient.URI := URI;   HttpClient.Timeout := -1;   HttpClient.OnDisconnect := @dummy.ClientDisconnect;   HttpClient.OnDoneInput := @dummy.ClientDoneInput;   HttpClient.OnError := @dummy.ClientError;   HttpClient.OnInput := @dummy.ClientInput;   HttpClient.OnProcessHeaders := @dummy.ClientProcessHeaders;   HttpClient.SendRequest;   Done := false; ================================================ ---------------------------------------------------------------------- bonmario · 2009-07-04 17:30 See here: http://forum.lazarus.freepascal.org/index.php/topic,4761.msg22770.html #msg22770 Hi, Mario