Topic Path: Symbol Reference > Structs, Records, Enums > THTTPCommandType Enumeration
ContentsIndexHome
PreviousUpNext
THTTPCommandType Enumeration

Represents command types used in an HTTP request.

File
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

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.