Internet Direct (Indy)
Home
PreviousUpNext
THTTPCommandType Enumeration

Represents command types used in an HTTP request.

Pascal
THTTPCommandType = (
  hcUnknown,
  hcHEAD,
  hcGET,
  hcPOST,
  hcDELETE,
  hcPUT,
  hcTRACE,
  hcOPTION
);

THTTPCommandType is an enumerated type that represents HTTP commands verbs that can be provided as part of an HTTP request. Enumeration values in THTTPCommandType can include the following values and mappings to elements in HTTPRequestStrings

 

Value 
HTTP Request String 
hcUnknown 
Unknown; no mapping 
hcHEAD 
'HEAD' 
hcGET 
'GET' 
hcPOST 
'POST' 
hcDELETE 
'DELETE' 
hcPUT 
'PUT' 
hcTRACE 
'TRACE' 
hcOPTION 
'OPTIONS' 

 

THTTPCommandType is the type used to represent the CommandType property in TIdHTTPRequestInfo decoded when processing an HTTP request.

HTTPRequestStrings 

TIdHTTPRequestInfo.CommandType 

TIdHTTPRequestInfo.DecodeCommand

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.