THTTPServerRequest
From Ultibo.org
								
												
				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 GetMimeType:String;
 | 
|
 function GetEncoding:LongWord;
 | 
|
 function GetContentSize:LongWord;
 | 
|
 function GetContentReceived:Boolean;
 | 
|
 function GetUserAuthenticator:TAuthenticator;
 | 
|
 function GetSessionAuthenticator:TAuthenticator;
 | 
|
protected 
 | |
 FListener:THTTPListener;
 | 
|
public 
 | |
 URL:String;
 | 
|
 Method:LongWord;
 | 
|
 Version:LongWord;
 | 
|
 Params:THTTPParams;
 | 
|
 Cookies:THTTPCookies;
 | 
|
 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 MimeType:String read GetMimeType;
 | 
|
 property Encoding:LongWord read GetEncoding;
 | 
|
 property ContentSize:LongWord read GetContentSize;
 | 
|
 property ContentReceived:Boolean read GetContentReceived;
 | 
|
 property UserAuthenticator:TAuthenticator read GetUserAuthenticator;
 | 
|
 property SessionAuthenticator:TAuthenticator read GetSessionAuthenticator;
 | 
|
 function GetParam(const AName:String):String;
 | 
|
 function GetParamExt(const AName:String; AParams:THTTPParams):String;
 | 
|
 function GetCookie(const AName:String):String;
 | 
|
 function GetCookieExt(const AName:String;ACookies:THTTPCookies):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