Difference between revisions of "THTTPClientResponse"
From Ultibo.org
| Line 221: | Line 221: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
<pre style="border: 0; padding-bottom:0px;">function THTTPClientResponse.Clear:Boolean;</pre> | <pre style="border: 0; padding-bottom:0px;">function THTTPClientResponse.Clear:Boolean;</pre> | ||
| + | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
| + | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
| + | {| class="wikitable" style="font-size: 14px; background: white;" | ||
| + | |- | ||
| + | ! Note | ||
| + | | None documented | ||
| + | |- | ||
| + | |} | ||
| + | </div></div> | ||
| + | <br /> | ||
| + | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
| + | <pre style="border: 0; padding-bottom:0px;">function THTTPClientResponse.GetCookie(const AName:String; AAttributes:THTTPCookieAttributes):String;</pre> | ||
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
Latest revision as of 02:28, 24 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.GetCookie(const AName:String; AAttributes:THTTPCookieAttributes):String;
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