THttpCli
Main page -> ICS components reference -> THttpCli
Contents
Overview
- unit HttpProt.pas
- inheritance THttpCli - TComponent
THttpCli component is implementing the client side HTTP protocol described in RFC 1945 and RFC 2068. HTTP protocol is the standard protocol for browsing the World Wide Web.
Properties
| Accept | Mime types accepted in the reply. | |
| AcceptLanguage | Languages accepted in the reply. | |
| AcceptRanges | Ranges accepted. | |
| Agent | User agent sent to server. | |
| AuthorizationRequest | ||
| Connection | Connection type for keep-alive. | |
| ContentLength | Received document length. | |
| ContentRangeBegin | Start of requested range. | |
| ContentRangeEnd | End of requested range. | |
| ContentType | Received document mime type. | |
| ContentTypePost | Sent document mime type. | |
| Cookie | Cookies to be sent. | |
| CtrlSocket | Underlaying The underlying instance of TWSocket handles the connection and raw data exchange. | |
| DnsResult | Result of DNS request. | |
| DocName | Received document name. | |
| FollowRelocation | Tell the component o follow or not the relocations. | |
| Handle | Hidden window handle. | |
| Hostname | Hostname to which the URL point. | |
| LastResponse | Last response from server. | |
| LocalAddr | Local address to which underlaying socket is bound. | |
| Location | Where the relocation will take place. | |
| ModifiedSince | Requested modification datetime. | |
| MultiThreaded | To tell the component it runs within a thread. | |
| NoCache | ||
| Options | ||
| Protocol | ||
| Proxy | ||
| ProxyConnection | ||
| ProxyPort | ||
| RcvdCount | ||
| RcvdHeader | ||
| RcvdStream | ||
| ReasonPhrase | ||
| Reference | ||
| RequestVer | ||
| Sender | ||
| SendStream | ||
| SentCount | ||
| SocksAuthentication | ||
| SocksLevel | ||
| SocksPassword | ||
| SocksPort | ||
| SocksServer | ||
| SocksUsercode | ||
| State | ||
| StatusCode | ||
| TransferEncoding | ||
| URL | Complete URL to act on |
Methods
| Abort | align test | |
| Close | ||
| CloseAsync | ||
| Create | ||
| Destroy | ||
| Get | ||
| GetASync | ||
| Head | ||
| HeadASync | ||
| Post | ||
| PostASync | ||
| Put | ||
| PutASync | align test |
Events
How to
How to implement a timeout for THttpCli in my application?
How to implement a progress for THttpCli in my application?
How to implement a download size limitation for THttpCli in my application?