RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THTTPServer.Send Method

Sends information retrieved from an IDataBlock interface to the application server.

Pascal
function Send(const Data: IDataBlock; WaitForResult: Boolean): IDataBlock; stdcall;
C++
__fastcall __stdcall IDataBlock Send(const IDataBlock Data, Boolean WaitForResult);

ISendDataBlock dispatches information to an application server. The information must be available as the Memory property of an IDataBlock interface.  

The WaitForResult parameter indicates whether the caller requires a response when the information is sent. If WaitForResult is true, Send does not return until a response is received from the application server. This response is returned as an IDataBlock interface (_di_IDataBlock). If WaitForResult is false, Send may still return a response, but only if the application server responds immediately. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!