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