Difference between revisions of "THTTPClientResponse"
From Ultibo.org
(Created page with "Return to Unit HTTP __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collapse...") |
|||
| Line 68: | Line 68: | ||
|- | |- | ||
|colspan="2"| | |colspan="2"| | ||
| + | |- | ||
| + | | <code>Cookies:THTTPCookies;</code> | ||
| + | | | ||
|- | |- | ||
| <code>Headers:THTTPHeaders;</code> | | <code>Headers:THTTPHeaders;</code> | ||
| Line 96: | Line 99: | ||
|- | |- | ||
| <code>function Clear:Boolean;</code> | | <code>function Clear:Boolean;</code> | ||
| + | | | ||
| + | |- | ||
| + | |colspan="2"| | ||
| + | |- | ||
| + | | <code>function GetCookie(const AName:String; AAttributes:THTTPCookieAttributes):String;</code> | ||
| | | | ||
|- | |- | ||
Revision as of 23:53, 23 October 2025
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;
|
|
Cookies:THTTPCookies;
|
|
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 GetCookie(const AName:String; AAttributes:THTTPCookieAttributes):String;
|
|
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