THTTPClientResponse

From Ultibo.org
Jump to: navigation, search

Return to Unit HTTP


Description


To be documented

Class definitions



THTTPClientResponse = class(TObject)

public
constructor Create(AClient:THTTPClient);  
destructor Destroy; override;  
private
FFlags:LongWord;  
 
function GetContentReceived:Boolean;  
 
function GetNoCache:Boolean;  
procedure SetNoCache(ANoCache:Boolean);  
function GetConnectionClose:Boolean;  
procedure SetConnectionClose(AConnectionClose:Boolean);  
protected
FClient:THTTPClient;  
public
Reason:String;  
Status:LongWord;  
Version:LongWord;  
 
Headers:THTTPHeaders;  
 
property Flags:LongWord read FFlags;  
property Client:THTTPClient read FClient;  
 
property ContentReceived:Boolean read GetContentReceived;  
 
property NoCache:Boolean read GetNoCache write SetNoCache;  
property ConnectionClose:Boolean read GetConnectionClose write SetConnectionClose;  
 
function Clear:Boolean;  
 
function GetHeader(const AName:String):String;  
function GetHeaderEx(const AName:String):TStringList;  
 
function FindHeader(const AName,AValue:String):Boolean;  
 
function ReadContentStream(AContent:TStream; ASize:LongWord):Boolean;  
function ReadContentString(var AContent:String; ASize:LongWord):Boolean;  


Function declarations



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


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


function THTTPClientResponse.GetContentReceived:Boolean;
Description: To be documented
Note None documented


function THTTPClientResponse.GetNoCache:Boolean;
Description: To be documented
Note None documented


procedure THTTPClientResponse.SetNoCache(ANoCache:Boolean);
Description: To be documented
Note None documented


function THTTPClientResponse.GetConnectionClose:Boolean;
Description: To be documented
Note None documented


procedure THTTPClientResponse.SetConnectionClose(AConnectionClose:Boolean);
Description: To be documented
Note None documented


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


function THTTPClientResponse.GetHeader(const AName:String):String;
Description: To be documented
Note None documented


function THTTPClientResponse.GetHeaderEx(const AName:String):TStringList;
Description: To be documented
Note None documented


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


function THTTPClientResponse.ReadContentStream(AContent:TStream; ASize:LongWord):Boolean;
Description: To be documented
Note None documented


function THTTPClientResponse.ReadContentString(var AContent:String; ASize:LongWord):Boolean;
Description: To be documented
Note None documented


Return to Unit Reference