Datasnap.DSHTTPClient.TDSHTTP.Delete

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DSHTTPClient.pas
Datasnap.DSHTTPClient.hpp
Unit: Datasnap.DSHTTPClient
Parent: TDSHTTP

Delphi

procedure Delete(const AURL: string; AResponseStream: TStream = nil);

C++

void __fastcall Delete(const System::UnicodeString AURL, System::Classes::TStream* AResponseStream = (System::Classes::TStream*)(0x0));

Description

Sends a DELETE command request.

The following table shows the significance of the parameters.

Parameter Description

AURL

URL where the DELETE command is sent.

AResponseStream

The stream to collect the response in.

Exceptions

Exception Message Description

EHTTPProtocolException

<HTTP protocol version> <HTTP status code> <Reason-Phrase>

A protocol exception is raised from the server response.

See Also