Data.DbxHTTPLayer.TDSHTTPClient.Put

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DbxHTTPLayer.pas
Data.DbxHTTPLayer.hpp
Unit: Data.DbxHTTPLayer
Parent: TDSHTTPClient

Delphi

function Put(AURL: string; ASource: TStream): string; virtual; abstract;

C++

virtual System::UnicodeString __fastcall Put(System::UnicodeString AURL, System::Classes::TStream* ASource) = 0 ;

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.

See Also