Difference between revisions of "THttpCli"

From Overbyte
Jump to navigation Jump to search
Line 35: Line 35:
 
| [[THttpCli.Cookie | Cookie]] ||||
 
| [[THttpCli.Cookie | Cookie]] ||||
 
|-
 
|-
| [[TWSocket | CtrlSocket]] |||| {{CtrlSocket}}
+
| valign="top" width="150" | [[TWSocket | CtrlSocket]] |||| {{CtrlSocket}}
 
|-
 
|-
 
| [[THttpCli.DnsResult | DnsResult]] ||||
 
| [[THttpCli.DnsResult | DnsResult]] ||||

Revision as of 09:14, 21 February 2006

Main page -> ICS components reference -> THttpCli

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 Short description
AcceptLanguage
AcceptRanges
Agent
AuthorizationRequest
Connection
ContentLength
ContentRangeBegin
ContentRangeEnd
ContentType
ContentTypePost
Cookie
CtrlSocket The underlying instance of TWSocket handles the connection and raw data exchange.
DnsResult
DocName
FollowRelocation
Handle
Hostname
LastResponse
LocalAddr
Location
ModifiedSince
MultiThreaded
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

OnBeforeHeaderSend align test
OnCommand
OnCookie
OnDataPush
OnDataPush2
OnDocBegin
OnDocData
OnDocEnd
OnHeaderBegin
OnHeaderData
OnHeaderEnd
OnLocationChange
OnRequestDone
OnRequestHeaderBegin
OnRequestHeaderEnd
OnSendBegin
OnSendData
OnSendEnd
OnSessionClosed
OnSessionConnected
OnSocketError
OnSocksAuthState
OnSocksConnected
OnSocksError
OnStateChange
OnTrace

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?



ICS Components Reference