Topic Path: Symbol Reference > Classes > TIdHTTPRequestInfo Class > TIdHTTPRequestInfo Properties > Command Property
ContentsIndexHome
PreviousUpNext
TIdHTTPRequestInfo.Command Property

Represents the HTTP command in the request.

property Command: string;

Command is a read-only String property that represents the HTTP command received in the HTTP request, like "GET", "POST", or "HEAD". 

Use RawHHTTPCommand to access the entire HTTP command in it's original form. 

Command is updated when TIdCustomHTTPServer reads the HTTP request from an executing HTTP client session. Command can be used in TIdCustomHTTPServer event handlers, like OnCommandGet and OnCommandOther, to determine the HTTP command that originated the request.

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