Data.DbxHTTPLayer.TDSHTTPClient.Put
Delphi
function Put(AURL: string; ASource: TStream): string; virtual; abstract;
C++
virtual System::UnicodeString __fastcall Put(System::UnicodeString AURL, System::Classes::TStream* ASource) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DbxHTTPLayer.pas Data.DbxHTTPLayer.hpp |
Data.DbxHTTPLayer | TDSHTTPClient |
Description
Performs a PUT query to an HTTP server.
Implement the Put method in descending classes to provide the functionality to perform a PUT query to an HTTP server.
The AURL parameter specifies the URL of the query. ASource is the list of strings that represents the PUT query's contents. Each string in ASource must have the following appearance: "Key=Value", and must be properly encoded.
Put is expected to return the contents of the requested server resource.