Difference between revisions of "THTTPFile"
From Ultibo.org
(Created page with "Return to Unit HTTP __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collapse...") |
(No difference)
|
Latest revision as of 06:42, 17 May 2018
Return to Unit HTTP
Description
To be documented
Class definitions
THTTPFile = class(THTTPDocument)
public
| |
constructor Create;
|
|
private
| |
FFilename:String;
|
|
FAllowCache:Boolean;
|
|
function GetFilename:String;
|
|
procedure SetFilename(const AFilename:String);
|
|
procedure SetAllowCache(AAllowCache:Boolean);
|
|
protected
| |
function DoGet(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean; override;
|
|
function DoHead(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean; override;
|
|
public
| |
property Filename:String read GetFilename write SetFilename;
|
|
property AllowCache:Boolean read FAllowCache write SetAllowCache;
|
Function declarations
constructor THTTPFile.Create;
Description: To be documented
Note | None documented |
---|
function THTTPFile.GetFilename:String;
Description: To be documented
Note | None documented |
---|
procedure THTTPFile.SetFilename(const AFilename:String);
Description: To be documented
Note | None documented |
---|
procedure THTTPFile.SetAllowCache(AAllowCache:Boolean);
Description: To be documented
Note | None documented |
---|
function THTTPFile.DoGet(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean;
Description: Base GET Method for an HTTP File
Note | None documented |
---|
function THTTPFile.DoHead(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean;
Description: Base HEAD Method for an HTTP File
Note | None documented |
---|
Return to Unit Reference