Difference between revisions of "THTTPServerRequest"
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:32, 17 May 2018
Return to Unit HTTP
Description
To be documented
Class definitions
THTTPServerRequest = class(TObject)
public
| |
constructor Create(AThread:TWinsock2TCPServerThread);
|
|
destructor Destroy; override;
|
|
private
| |
FFlags:LongWord;
|
|
FThread:TWinsock2TCPServerThread;
|
|
function GetContentReceived:Boolean;
|
|
protected
| |
FListener:THTTPListener;
|
|
public
| |
URL:String;
|
|
Method:LongWord;
|
|
Version:LongWord;
|
|
Params:THTTPParams;
|
|
Headers:THTTPHeaders;
|
|
Protocol:String;
|
|
Host:String;
|
|
Port:String;
|
|
Path:String;
|
|
Query:String;
|
|
BasePath:String;
|
The base path of the document or alias matched to this request |
BaseHost:String;
|
The base name of the host or alias matched to this request |
property Flags:LongWord read FFlags;
|
|
property Thread:TWinsock2TCPServerThread read FThread;
|
|
property ContentReceived:Boolean read GetContentReceived;
|
|
function GetParam(const AName:String):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 THTTPServerRequest.Create(AThread:TWinsock2TCPServerThread);
Description: To be documented
Note | None documented |
---|
destructor THTTPServerRequest.Destroy;
Description: To be documented
Note | None documented |
---|
function THTTPServerRequest.GetContentReceived:Boolean;
Description: To be documented
Note | None documented |
---|
function THTTPServerRequest.GetParam(const AName:String):String;
Description: To be documented
Note | None documented |
---|
function THTTPServerRequest.GetHeader(const AName:String):String;
Description: To be documented
Note | None documented |
---|
function THTTPServerRequest.GetHeaderEx(const AName:String):TStringList;
Description: To be documented
Note | None documented |
---|
function THTTPServerRequest.FindHeader(const AName,AValue:String):Boolean;
Description: To be documented
Note | None documented |
---|
function THTTPServerRequest.ReadContentStream(AContent:TStream; ASize:LongWord):Boolean;
Description: To be documented
Note | None documented |
---|
function THTTPServerRequest.ReadContentString(var AContent:String; ASize:LongWord):Boolean;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference