Datasnap.DSService.TDSJSONService.ProcessPUTRequest
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: public | |
| Source: Datasnap.DSService.pas Datasnap.DSService.hpp
| |
| Unit: Datasnap.DSService | |
| Parent: TDSJSONService | |
Delphi
procedure ProcessPUTRequest(const Request: string; Params: TStrings; Content: TArray<Byte>;
const NameMapEvent: TDSRESTMethodNameMapEvent; ResponseHandler: TRequestCommandHandler); override;
C++
virtual void __fastcall ProcessPUTRequest(const System::UnicodeString Request, System::Classes::TStrings* Params, System::DynamicArray<System::Byte> Content, const TDSRESTMethodNameMapEvent NameMapEvent, Data::Dbxcommon::TRequestCommandHandler* ResponseHandler);
Description
Processes the PUT request.
Call ProcessPUTRequest to process the PUT request.
The following table lists the arguments of the ProcessPUTRequest method.
| Argument | Meaning |
|---|---|
|
Request |
Contains the original request. This parameter is never NIL or empty. |
|
Params |
Represents the request parameters. |
|
Content |
Contains the request content, usually the JSON object to be updated. |
|
MapMethod |
Represents the map method used to provide the server method name. |
|
Response |
Represents a JSON object that contains either a success or an error message. |