| Class T_HTTP (unit tcpip) |
@\\\0000000503*) { HTTP and FTP - the file transfer protocols } (*@/// T_HTTP = class(T_TcpIp) // RFC 1945 (V1.0), RFC 2068 (V1.1)
| Constructors |
constructor Create(Aowner:TComponent);@\\\000000010B*) (*@\\\000000051C*) { HTTP and FTP - the file transfer protocols } (*@/// class t_http(t_tcpip) *) (*@/// constructor t_http.
| Functions |
procedure action;
destructor Destroy;
procedure DoBasicAuthorization(const username,password:string);
procedure Post;@\\\0000000901*) (*@/// procedure t_http.
procedure getanswer;
procedure GetBody;
procedure GetHead;
procedure sendrequest(const method,version: string);| Properties |
property Agent : string
property ContentTypePost : string
property NoCache : boolean
property Proxy : string
property Reference : string
property Sender : string
property URL : string
property Authorization : string
property AuthorizationRequest : TStringList
property content_size : integer
property content_type : string
property status_number : integer
property status_text : string
property stream : TStream| Events |
event OnTrace : | Variables |
f_agent : string;
f_author : string;
f_content_post : string;
f_do_author : TStringList;
f_nocache : boolean;
f_path : string;
f_proxy : string;
f_reference : string;
f_sender : string;
f_size : integer;
f_status_nr : integer;
f_status_txt : string;
f_type : string;
f_url : string;| Constructors |
constructor Create(Aowner:TComponent);the POST method, untested!
@\\\000000010B*) (*@\\\000000051C*) { HTTP and FTP - the file transfer protocols } (*@/// class t_http(t_tcpip) *) (*@/// constructor t_http.Create(Aowner:TComponent);
| Functions |
procedure action;@\\\0000001101*) (*@/// procedure t_http.action;
destructor Destroy;@\\\0000000503*) (*@/// destructor t_http.Destroy;
procedure DoBasicAuthorization(const username,password:string);@\\\*) (*@/// procedure t_http.DoBasicAuthorization(const username,password:string);
procedure Post;the GET method
@\\\0000000901*) (*@/// procedure t_http.Post;
procedure getanswer;@\\\0000000301*) (*@/// procedure t_http.getanswer;
procedure GetBody;@\\\0000000701*) (*@/// procedure t_http.GetBody;
procedure GetHead;@\\\0000000501*) (*@/// procedure t_http.GetHead;
procedure sendrequest(const method,version: string);@\\\*) (*@/// procedure t_http.sendrequest(const method,version: string);
| Properties |
property Agent : string
property ContentTypePost : string
property NoCache : boolean
property Proxy : string
property Reference : string
property Sender : string
property URL : string
property Authorization : string
property AuthorizationRequest : TStringList
property content_size : integer
property content_type : string
property status_number : integer
property status_text : string
property stream : TStream| Events |
event OnTrace : | Variables |
f_agent : string;
f_author : string;
f_content_post : string;
f_do_author : TStringList;
f_nocache : boolean;
f_path : string;
f_proxy : string;The real request string, calculated internally
f_reference : string;
f_sender : string;
f_size : integer;
f_status_nr : integer;
f_status_txt : string;
f_type : string;
f_url : string;