Hello, ROINDYHTTPSERVER provides services in APP how to use NetHttpClientChannel for HTTPS access?
if you want to provide client certificate, you should set NetHttpClientChannel.http.OnNeedClientCertificate
or NetHttpClientChannel.http.NeedClientCertificateCallback
for providing username/password: NetHttpClientChannel.http.AuthCallback
or NetHttpClientChannel.http.AuthEvent
.
other properties also can be set directly in NetHttpClientChannel.http
instance.
Hello, can you provide NetHttpClientChannel access to HTTPS DEMO?
Thank you very much for your SAMPLE. DELPHI10 compiler with your SAMPLE no problem. But my server is dephi2007 (built in indy10.1.5) client is using DELPH10, can not be connected with SSL. Is there a solution? (I tried to upgrade INDY to version 10.5, but REMOBJECT can’t be recompiled)
if you updated Indy to the non-standard version, you need to update RemObjects.inc
and uncomment required define:
{ If you are using Indy 10.5.9 or the latest just uncomment the
RemObjects_INDY10D DEFINE right below, and remove the Indy
package references from the Requires section of RemObjects_Indy_Dx.dpk
before re-compiling your RemObjects Indy package. }
{.$DEFINE RemObjects_INDY10D}
{ If you are using Indy 10.2.3 or the latest just uncomment the
RemObjects_INDY10C DEFINE right below, and remove the Indy
package references from the Requires section of RemObjects_Indy_Dx.dpk
before re-compiling your RemObjects Indy package. }
{.$DEFINE RemObjects_INDY10C}
Note: this will have effect to all versions of Delphi. i.e. DElphi 2007 and Delplhi 10