Soap.Rio.TRIO.GetResponseStream
Delphi
function GetResponseStream(BindingType: TWebServiceBindingType): TStream; virtual;
C++
virtual System::Classes::TStream* __fastcall GetResponseStream(Soap::Wsdlintf::TWebServiceBindingType BindingType);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Soap.Rio.pas Soap.Rio.hpp |
Soap.Rio | TRIO |
Description
Returns a newly created stream that receives the results of executing a method call.
TRIO calls GetResponseStream internally when it executes a method call. It passes the returned stream as the Response parameter of the Execute method on the interface that the WebNode property specifies. After this stream receives the encoded response of a method call, the RIO component decodes the response and frees the stream.
BindingType indicates the expected coding of the response that the stream will hold. GetResponseStream can use this information to determine what type of stream to create.