Difference between revisions of "Midware TAppSrvClient.Request"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> [[Midware_Components_Reference | vent handler, when the application server has returned his response. =Answer property is to be accessed from the OnRe…')
 
Line 1: Line 1:
[[Midware | Main page]] -> [[Midware_Components_Reference | vent handler, when the application server has returned his response.
+
[[Midware | Main page]] -> [[Midware_Components_Reference | Midware component reference]] -> [[Midware_TAppSrvClient | TAppSrvClient]] -> [[Midware_TAppSrvClient.Request | Request]]
 
 
=Answer property is to be accessed from the OnRequestDone eMidware component reference]] -> [[Midware_TAppSrvClient | TAppSrvClient]] ->
 
[[Midware | Main page]] -> [[Midware_Components_Reference | vent handler, when the application server has returned his response.
 
 
 
=Request property is to be accessed from the OnRequestDone eMidware component reference]] -> [[Midware_TAppSrvClient | TAppSrvClient]] ->  
 
[[Midware_TAppSrvClient.Request| Request]]
 
  
 
== Definition ==
 
== Definition ==

Revision as of 07:48, 3 May 2011

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

Definition

property Request: TMWBuffer;

Description

The request property holds the parameters sent to the application server. The application server uses the function code to know which server object must be instanciated, and pass the paraemters to this server object. Parameters can be anything and ar emade of records made of fields. See TMWBuffer object description for details.

Example

<syntaxhighlight lang="delphi"> AppSrvClient1.Request.Rewrite;

   AppSrvClient1.Request.WriteFields(FALSE, ['PIETTE', 'FRANCOIS']);
   AppSrvClient1.FunctionCode := 'GETCLIENT';
   AppSrvClient1.Send;