RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THTTPReqResp.Send Method

Sends the encoded method call as an HTTP-based SOAP message.

Pascal
function Send(const ASrc: TStream): Integer; virtual;
C++
virtual __fastcall int Send(const TStream ASrc);

Note: On Windows (when using WinInet), Send sends an HTTP request message with the SoapAction header specified by SoapAction to the URL specified by URL.
Note: Send is not available on Linux.
ASrc is a stream from which to read the contents of a SOAP message for the method call. 

Send returns a context ID that identifies this request message. This context ID is passed to the Receive method to retrieve the corresponding response message from the server. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!