Soap.SOAPHTTPTrans.THTTPReqResp.Send

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  Send(const ASrc: TStream): HINTERNET; virtual;

C++

virtual void * __fastcall Send(System::Classes::TStream* const ASrc);

Properties

Type Visibility Source Unit Parent
function public
Soap.SOAPHTTPTrans.pas
Soap.SOAPHTTPTrans.hpp
Soap.SOAPHTTPTrans THTTPReqResp

Description

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

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.

See Also