Datasnap.DSHTTPClient.TDSHTTP.Patch
Delphi
procedure Patch(const AURL: string; ASource: TStream; AResponseContent: TStream = nil);
C++
void __fastcall Patch(const System::UnicodeString AURL, System::Classes::TStream* ASource, System::Classes::TStream* AResponseContent = (System::Classes::TStream*)(0x0));
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | Datasnap.DSHTTPClient.pas Datasnap.DSHTTPClient.hpp |
Datasnap.DSHTTPClient | TDSHTTP |
Description
Sends a PATCH command.
The following table shows the significance of the parameters.
| Parameter | Description |
|---|---|
|
|
URL where the PATCH command is sent. |
|
|
Source TStream for PATCH requests. |
|
|
Response stream for PATCH requests. |
Exceptions
| Exception | Message | Description |
|---|---|---|
|
|
A protocol exception is raised from the server response. |