Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPRequestInfo.Command Property

Represents the HTTP command in the request.

Pascal
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.

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.