THTTPModule
From Ultibo.org
Revision as of 06:37, 17 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit HTTP __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collapse...")
Return to Unit HTTP
Description
To be documented
Class definitions
THTTPModule = class(TListObject)
public
| |
constructor Create;
|
|
destructor Destroy; override;
|
|
private
| |
FLock:TCriticalSectionHandle;
|
|
FFlags:LongWord;
|
|
FOnRequest:THTTPModuleEvent;
|
|
FOnResponse:THTTPModuleEvent;
|
|
procedure SetFlags(AFlags:LongWord);
|
|
protected
| |
function AcquireLock:Boolean;
|
|
function ReleaseLock:Boolean;
|
|
function DoRequest(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean; virtual;
|
|
function DoResponse(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean; virtual;
|
|
public
| |
property Flags:LongWord read FFlags write SetFlags;
|
|
property OnRequest:THTTPModuleEvent read FOnRequest write FOnRequest;
|
|
property OnResponse:THTTPModuleEvent read FOnResponse write FOnResponse;
|
Function declarations
constructor THTTPModule.Create;
Description: To be documented
Note | None documented |
---|
destructor THTTPModule.Destroy;
Description: To be documented
Note | None documented |
---|
procedure THTTPModule.SetFlags(AFlags:LongWord);
Description: To be documented
Note | None documented |
---|
function THTTPModule.AcquireLock:Boolean;
Description: To be documented
Note | None documented |
---|
function THTTPModule.ReleaseLock:Boolean;
Description: To be documented
Note | None documented |
---|
function THTTPModule.DoRequest(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean;
Description: Base Request Method for an HTTP Module
Note | None documented |
---|
function THTTPModule.DoResponse(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean;
Description: Base Response Method for an HTTP Module
Note | None documented |
---|
Return to Unit Reference