kvk1989 2 Posted June 16, 2023 hi i want to use this server request with clever suite internet can someone help me ? thanks ! procedure Tmainform.IdHTTPServer1CommandGet(AContext: TIdContext; ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo); AResponseInfo.ContentType := ' '; if trim(ARequestInfo.URI).Contains(' ') then begin AResponseInfo.ContentText :=' '; Share this post Link to post
Remy Lebeau 1394 Posted June 16, 2023 (edited) 4 hours ago, kvk1989 said: hi i want to use this server request with clever suite internet can someone help me ? Use HOW, exactly? Please be more specific and clarify the issue. Are you asking how to REPLACE Indy's TIdHTTPServer component with CSI's SimpleHttpServer component? If so, then obviously you can't use a TIdHTTPServer.OnCommandGet event handler as-is, you would have to re-write the handler code to meet CSI's requirements. Edited June 16, 2023 by Remy Lebeau Share this post Link to post