TIdHTTP: EIdIOHandlerPropInvalid
Posted: Thu 19 Jul 2018 09:11
Hello,
I have a big project with a lots of indy 10 components. I now want to replace the SSLIO-Handler from Indy with SecureBridge. I thought this is done by using the TScIdIOHandler, but I get a EIdIOHandlerPropInvalid exception when I do it like that:
AHTTP:= TIdHTTP.Create(nil);
AHTTP.IOHandler:= TScIdIOHandler.Create(AHTTP);
AHTTP.Post(..)
In another thread in this forum is mentioned, that this won't work with SMTP server, because the implementation of TScIdIOHandler is not derived from TIdSSLIOHandlerSocketBase.
Is there any solution, to use SecureBridge with IdHTTP?
If not with IdHTTP, for what can we use TScIdIOHandler?
best regards
Kai
I have a big project with a lots of indy 10 components. I now want to replace the SSLIO-Handler from Indy with SecureBridge. I thought this is done by using the TScIdIOHandler, but I get a EIdIOHandlerPropInvalid exception when I do it like that:
AHTTP:= TIdHTTP.Create(nil);
AHTTP.IOHandler:= TScIdIOHandler.Create(AHTTP);
AHTTP.Post(..)
In another thread in this forum is mentioned, that this won't work with SMTP server, because the implementation of TScIdIOHandler is not derived from TIdSSLIOHandlerSocketBase.
Is there any solution, to use SecureBridge with IdHTTP?
If not with IdHTTP, for what can we use TScIdIOHandler?
best regards
Kai