Difference between revisions of "Midware TClientWSocket.OnCommand"
Jump to navigation
Jump to search
(Created page with ' Main page -> Midware component reference -> TClientWSocket -> [[Midware_TClientWSocket.OnCommand | O…') |
|||
Line 3: | Line 3: | ||
== Definition == | == Definition == | ||
− | + | <syntaxhighlight lang="delphi"> | |
+ | type | ||
+ | TCommandEvent = procedure (Sender : TObject; | ||
+ | CmdBuf : PChar; | ||
+ | CmdLen : Integer) of object; | ||
+ | </syntaxhighlight> | ||
== Description == | == Description == |
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.
Occurs when a command has been received from client.