Difference between revisions of "Midware TClientWSocket.OnCommand"

From Overbyte
Jump to navigation Jump to search
 
Line 13: Line 13:
  
 
Triggered when a client request (command) has been received. It is used by TAppServer to trigger command processing. A client request is simply a line of text delimited by a CR/LF pair.
 
Triggered when a client request (command) has been received. It is used by TAppServer to trigger command processing. A client request is simply a line of text delimited by a CR/LF pair.
 
Occurs when a command has been received from client.
 

Latest revision as of 14:21, 14 May 2011

Main page -> Midware component reference -> TClientWSocket -> OnCommand

Definition

<syntaxhighlight lang="delphi"> type TCommandEvent = procedure (Sender : TObject;

                          CmdBuf : PChar; 
                          CmdLen : Integer) of object;

</syntaxhighlight>

Description

Triggered when a client request (command) has been received. It is used by TAppServer to trigger command processing. A client request is simply a line of text delimited by a CR/LF pair.