Datasnap.DSHTTPCommon.TDSHTTPCommandType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDSHTTPCommandType = (hcUnknown, hcGET, hcPOST, hcDELETE, hcPUT, hcOther);

C++

enum DECLSPEC_DENUM TDSHTTPCommandType : unsigned char { hcUnknown, hcGET, hcPOST, hcDELETE, hcPUT, hcOther };

Properties

Type Visibility Source Unit Parent
enum public
Datasnap.DSHTTPCommon.pas
Datasnap.DSHTTPCommon.hpp
Datasnap.DSHTTPCommon Datasnap.DSHTTPCommon

Description

Enumerates the HTTP command types processed by DataSnap.

TDSHTTPCommandType enumerates the HTTP command types processed by DataSnap. The following table enumerates the possible values of a TDSHTTPCommandType variable.



Value Meaning

hcUnknown

Specifies an unknown command type.

hcGET

Represents a GET type command, which requests the information identified by the URL.

hcPOST

Represents a POST type command, which submits data to be processed.

hcDELETE

Represents a DELETE type command, which requests the server application to delete or hide the resource identified by the URL.

hcPUT

Represents a PUT type command, which uploads a representation of the specified resource.

hcOther

Specifies a type of HTTP command not supported by DataSnap.



See Also