Indy 9
TIdHTTPMethod
Unit: IdHTTP
Represents the HTTP Method for a request.
TIdHTTPMethod = (hmHead, hmGet, hmPost, hmOptions, hmTrace, hmPut, hmDelete, hmConnect);
Unit
IdHTTP
Description
TIdHTTPMethod is an enumerated type used to represent the HTTP method for a request. TIdHTTPMethod can be one of the following values:

  • hmHead - Request for Headers for the resource.

  • hmGet - Request to Get the content for the resource.

  • hmPost - Request to Post headers and data to a resource.

  • hmOptions - Request for communication Options supported by the server or resource.

  • hmTrace - Request for remote application-layer testing and diagnostic messages.

  • hmPut - Request to creater or replace a resource.

  • hmDelete - Request to Delete a server resource.

  • hmConnect - Request for connection to a proxy server.
Notes
hmHead, hmGet, and hmPost are supported for HTTP 1.0. Other HTTP methods require HTTP 1.1.

TIdHTTPMethod is used by TIdHTTP in the DoRequest method, and is the type used to represent the TIdHTTPRequest.Method property.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.