DSAzure.TAzureHTTP.Delete

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DSAzure.pas
DSAzure.hpp
Unit: DSAzure
Parent: TAzureHTTP

Delphi

function Delete(AURL: string): string; overload;
function Delete(AURL: string; AResponseStream: TStream): string; overload;

C++

HIDESBASE System::UnicodeString __fastcall Delete(System::UnicodeString AURL)/* overload */;
HIDESBASE System::UnicodeString __fastcall Delete(System::UnicodeString AURL, System::Classes::TStream* AResponseStream)/* overload */;

Description

Sends a DELETE command type request.

The Delete method sends a DELETE command type request. Delete returns the server response for the issued command. There are two Delete overloaded methods. The first one takes in only one parameter while the second one takes in an additional AResponseStream parameter.

AURL is the URL (Uniform Resource Locator) where the DELETE command is sent.

The server response can be returned either as a string or as a TStream, depending on which Delete overloaded method is called.

See Also