[Lazarus] networking / webservices

Dimitrios Chr. Ioannidis d.ioannidis at artesoft.gr
Tue Jul 10 20:16:17 CEST 2012


Hi,

Στις 10/7/2012 1:10 μμ, ο/η Ian Godman έγραψε:
> I am using Lazarus 0.9.30.4 with FPC 2.6.0.0 and have tried Indy, Inet,
> Synapse and WST libraries.

you don't need the Indy, lNet or Synapse. You should use the 
fpc_http_protocol. Unfortunately, the doc's doesn't refer to it.

Add to the uses the fpc_http_protocol unit which is in the WST directory 
and at place you're registering synapse's http protocol replace it with 
the FPC_RegisterHTTP_Transport. Because it uses the fphttpclient it's 
very portable and i succesfully used it at WinCE, Win and Linux.

regards,
-- 
Dimitrios Chr. Ioannidis




More information about the Lazarus mailing list