Difference between revisions of "Midware TAppSrvClient.FunctionCode"

From Overbyte
Jump to navigation Jump to search
Line 1: Line 1:
FunctionCode property is to be accessed from the OnRequestDone eMidware component reference]] -> [[Midware_TAppSrvClient | TAppSrvClient]] -> [[Midware_TAppSrvClient.FunctionCode | FunctionCode]]
+
[[Midware | Main page]] -> [[Midware_Components_Reference | Midware component reference]] -> [[Midware_TAppSrvClient | TAppSrvClient]] -> [[Midware_TAppSrvClient.FunctionCode | FunctionCode]]
  
 
== Definition ==
 
== Definition ==

Revision as of 07:46, 3 May 2011

Main page -> Midware component reference -> TAppSrvClient -> FunctionCode

Definition

property FunctionCode: String;

Description

The function code is a string which is used by the application server to know which server object to instanciate to execute the request. It can be anything but default in the server to the server object name without the leading TServerObject. For example if you made a server object whose class name is TServerObjectGETCLIENT then the function code will be GETCLIENT. This behaviour can be overriden in the server object by overriding the BuildFunctionCode procedure. The function code is case insensitive and must not contain any space or control characters.