Jump to content
kvk1989

command get

Recommended Posts

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
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 by Remy Lebeau

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×