THTTPClientRequest

From Ultibo.org
Jump to: navigation, search

Return to Unit HTTP


Description


To be documented

Class definitions



THTTPClientRequest = class(TObject)

public
constructor Create(AClient:THTTPClient);  
destructor Destroy; override;  
private
FFlags:LongWord;  
 
function GetLineSent:Boolean;  
function GetHeadersSent:Boolean;  
function GetContentSent:Boolean;  
protected
FClient:THTTPClient;  
public
URL:String;  
Method:LongWord;  
Version:LongWord;  
 
Params:THTTPParams;  
Headers:THTTPHeaders;  
 
Protocol:String;  
Host:String;  
Port:String;  
Path:String;  
Query:String;  
 
ContentStream:TStream;  
ContentString:String;  
 
RedirectCount:LongWord;  
 
property Flags:LongWord read FFlags;  
property Client:THTTPClient read FClient;  
 
property LineSent:Boolean read GetLineSent;  
property HeadersSent:Boolean read GetHeadersSent;  
property ContentSent:Boolean read GetContentSent;  
 
function Close:Boolean;  
function Clear:Boolean;  
 
function SetParam(const AName,AValue:String):Boolean;  
function SetParamEx(const AName,AValue:String; AReplace:Boolean):Boolean;  
 
function SetHeader(const AName,AValue:String):Boolean;  
function SetHeaderEx(const AName,AValue:String; AReplace:Boolean):Boolean;  
 
function WriteRequest:Boolean;  
 
function WriteLine:Boolean;  
function WriteHeaders:Boolean;  
function WriteContentStream(AContent:TStream; ASize:LongWord; ACompleted:Boolean):Boolean;  
function WriteContentString(const AContent:String; ASize:LongWord; ACompleted:Boolean):Boolean;  


Function declarations



constructor THTTPClientRequest.Create(AClient:THTTPClient);
Description: To be documented
Note None documented


destructor THTTPClientRequest.Destroy;
Description: To be documented
Note None documented


function THTTPClientRequest.GetLineSent:Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.GetHeadersSent:Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.GetContentSent:Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.Close:Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.Clear:Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.SetParam(const AName,AValue:String):Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.SetParamEx(const AName,AValue:String; AReplace:Boolean):Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.SetHeader(const AName,AValue:String):Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.SetHeaderEx(const AName,AValue:String; AReplace:Boolean):Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.WriteRequest:Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.WriteLine:Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.WriteHeaders:Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.WriteContentStream(AContent:TStream; ASize:LongWord; ACompleted:Boolean):Boolean;
Description: To be documented
Note None documented


function THTTPClientRequest.WriteContentString(const AContent:String; ASize:LongWord; ACompleted:Boolean):Boolean;
Description: To be documented
Note None documented


Return to Unit Reference