Difference between revisions of "THttpCli"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
− | '''unit''' HttpProt | + | *'''unit''' HttpProt.pas |
+ | *'''inheritance''' | ||
− | THttpCli component is implementing the HTTP protocol described in RFC [http | + | THttpCli component is implementing the HTTP protocol described in RFC [[http.//rfc.net/rfc1945.html 1945]] and RFC [[http.//rfc.net/rfc2068.html 2068]]. HTTP protocol is the standard protocol for browsing the World Wide Web. |
== Properties == | == Properties == | ||
− | + | {| | |
− | + | | valign="top" width="150" | [[THttpCli.Accept | Accept]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.AcceptLanguage | AcceptLanguage]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.AcceptRanges | AcceptRanges]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.Agent | Agent]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.AuthorizationRequest | AuthorizationRequest]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.Connection | Connection]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.ContentLength | ContentLength]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.ContentRangeBegin | ContentRangeBegin]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.ContentRangeEnd | ContentRangeEnd]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.ContentType | ContentType]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.ContentTypePost | ContentTypePost]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.Cookie | Cookie]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.CtrlSocket | CtrlSocket]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.DnsResult | DnsResult]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.DocName | DocName]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.FollowRelocation | FollowRelocation]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.Handle | Handle]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.Hostname | Hostname]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.LastResponse | LastResponse]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.LocalAddr | LocalAddr]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.Location | Location]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.ModifiedSince | ModifiedSince]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.MultiThreaded | MultiThreaded]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.NoCache | NoCache]] |||| | |
+ | |- | ||
+ | | [[THttpCli.Options | Options]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.Protocol | Protocol]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.Proxy | Proxy]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.ProxyConnection | ProxyConnection]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.ProxyPort | ProxyPort]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.RcvdCount | RcvdCount]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.RcvdHeader | RcvdHeader]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.RcvdStream | RcvdStream]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.ReasonPhrase | ReasonPhrase]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.Reference | Reference]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.RequestVer | RequestVer]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.Sender | Sender]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.SendStream | SendStream]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.SentCount | SentCount]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.SocksAuthentication | SocksAuthentication]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.SocksLevel | SocksLevel]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.SocksPassword | SocksPassword]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.SocksPort | SocksPort]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.SocksServer | SocksServer]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.SocksUsercode | SocksUsercode]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.State | State]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.StatusCode | StatusCode]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.TransferEncoding | TransferEncoding]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.URL | URL]] |||| Complete URL to act on | ||
+ | |} | ||
== Methods == | == Methods == | ||
− | + | {| | |
− | + | | valign="top" width="150" | [[THttpCli.Abort | Abort]] |||| align test | |
− | + | |- | |
− | + | | [[THttpCli.Close | Close]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.CloseAsync | CloseAsync]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.Create | Create]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.Destroy | Destroy]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.Get | Get]] |||| | |
− | + | |- | |
+ | | [[THttpCli.GetASync | GetASync]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.Head | Head]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.HeadASync | HeadASync]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.Post | Post]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.PostASync | PostASync]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.Put | Put]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.PutASync | PutASync]] |||| align test | ||
+ | |} | ||
== Events == | == Events == | ||
− | + | {| | |
− | + | | valign="top" width="150" | [[THttpCli.OnBeforeHeaderSend | OnBeforeHeaderSend]] |||| align test | |
− | + | |- | |
− | + | | [[THttpCli.OnCommand | OnCommand]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.OnCookie | OnCookie]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.OnDataPush | OnDataPush]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.OnDataPush2 | OnDataPush2]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.OnDocBegin | OnDocBegin]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.OnDocData | OnDocData]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.OnDocEnd | OnDocEnd]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.OnHeaderBegin | OnHeaderBegin]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.OnHeaderData | OnHeaderData]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.OnHeaderEnd | OnHeaderEnd]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.OnLocationChange | OnLocationChange]] |||| | |
− | + | |- | |
− | + | | [[THttpCli.OnRequestDone | OnRequestDone]] |||| | |
+ | |- | ||
+ | | [[THttpCli.OnRequestHeaderBegin | OnRequestHeaderBegin]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.OnRequestHeaderEnd | OnRequestHeaderEnd]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.OnSendBegin | OnSendBegin]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.OnSendData | OnSendData]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.OnSendEnd | OnSendEnd]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.OnSessionClosed | OnSessionClosed]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.OnSessionConnected | OnSessionConnected]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.OnSocketError | OnSocketError]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.OnSocksAuthState | OnSocksAuthState]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.OnSocksConnected | OnSocksConnected]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.OnSocksError | OnSocksError]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.OnStateChange | OnStateChange]] |||| | ||
+ | |- | ||
+ | | [[THttpCli.OnTrace | OnTrace]] |||| | ||
+ | |} | ||
== FAQ == | == FAQ == | ||
− | + | ||
− | + | [[THttpCli.FAQ.Timeout | How to implement a timeout for THttpCli in my application?]] | |
− | + | ||
+ | [[THttpCli.FAQ.Progress | How to implement a progress for THttpCli in my application?]] | ||
+ | |||
+ | [[THttpCli.FAQ.SizeLimit | How to implement a download size limitation for THttpCli in my application?]] |
Revision as of 19:14, 18 February 2006
Contents
Overview
- unit HttpProt.pas
- inheritance
THttpCli component is implementing the HTTP protocol described in RFC http.//rfc.net/rfc1945.html 1945 and RFC http.//rfc.net/rfc2068.html 2068. HTTP protocol is the standard protocol for browsing the World Wide Web.
Properties
Methods
Abort | align test | |
Close | ||
CloseAsync | ||
Create | ||
Destroy | ||
Get | ||
GetASync | ||
Head | ||
HeadASync | ||
Post | ||
PostASync | ||
Put | ||
PutASync | align test |
Events
FAQ
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?