Unit HTTP

From Ultibo.org
Revision as of 07:59, 26 August 2016 by Ultibo (Talk | contribs)

Jump to: navigation, search

Return to Unit Reference


Description


To be documented

Constants


To be documented

Type definitions


To be documented

Public variables


To be documented

Function declarations



Initialization functions

procedure HTTPInit;
Description: To be documented
Note To be documented


HTTP helper functions

function HTTPEncode(const AValue:String; AReserved:THTTPReservedChars):String;
Description: To be documented
Note To be documented


function HTTPDecode(const AValue:String):String;
Description: To be documented
Note To be documented


function HTTPParseURI(const AURI:String; var AProtocol,AHost,APort,APath,AQuery:String):Boolean;
Description: To be documented
Note To be documented


function HTTPBuildURI(const AProtocol,AHost,APort,APath,AQuery:String; var AURI:String):Boolean;
Description: To be documented
Note To be documented


function HTTPParseHost(const AHost:String; var AName,APort:String):Boolean;
Description: To be documented
Note To be documented


function HTTPBuildHost(const AName,APort:String; var AHost:String):Boolean;
Description: To be documented
Note To be documented


function HTTPParseParam(const AParam:String; var AName,AValue:String):Boolean;
Description: To be documented
Note To be documented


function HTTPBuildParam(const AName,AValue:String; var AParam:String):Boolean;
Description: To be documented
Note To be documented


function HTTPParseQuery(const AQuery:String; AParams:THTTPParams):Boolean;
Description: To be documented
Note To be documented


function HTTPBuildQuery(AParams:THTTPParams; var AQuery:String):Boolean;
Description: To be documented
Note To be documented


function HTTPParseHeader(const AHeader:String; var AName,AValue:String):Boolean;
Description: To be documented
Note To be documented


function HTTPBuildHeader(const AName,AValue:String; var AHeader:String):Boolean;
Description: To be documented
Note To be documented


function HTTPPathExtractName(const ASource:String; var AName:String):Boolean;
Description: To be documented
Note To be documented


function HTTPPathExtractDir(const ASource:String; var APath:String):Boolean;
Description: To be documented
Note To be documented


function HTTPPathExtractPath(const ASource:String; var APath:String):Boolean;
Description: To be documented
Note To be documented


function HTTPPathExtractExtension(const ASource:String; var AExtension:String):Boolean;
Description: To be documented
Note To be documented


function HTTPParseRequestLine(const ARequest:String; var AMethod:LongWord; var AURL:String; var AVersion:LongWord):Boolean;
Description: To be documented
Note To be documented


function HTTPBuildRequestLine(AMethod:LongWord; const AURL:String; AVersion:LongWord; var ARequest:String):Boolean;
Description: To be documented
Note To be documented


function HTTPParseResponseLine(const AResponse:String; var AVersion,AStatus:LongWord; var AReason:String):Boolean;
Description: To be documented
Note To be documented


function HTTPBuildResponseLine(AVersion,AStatus:LongWord; const AReason:String; var AResponse:String):Boolean;
Description: To be documented
Note To be documented


function FileTimeToHTTPDate(const AFileTime:TFileTime):String;
Description: To be documented
Note To be documented


function HTTPDateToFileTime(const AHTTPDate:String):TFileTime;
Description: To be documented
Note To be documented


function DateTimeToHTTPDate(const ADateTime:TDateTime):String;
Description: To be documented
Note To be documented


function HTTPDateToDateTime(const AHTTPDate:String):TDateTime;
Description: To be documented
Note To be documented


function StringToHTTPProtocol(const AProtocol:String):LongWord;
Description: To be documented
Note To be documented


function HTTPProtocolToString(AProtocol:LongWord):String;
Description: To be documented
Note To be documented


function StringToHTTPMethod(const AMethod:String):LongWord;
Description: To be documented
Note To be documented


function HTTPMethodToString(AMethod:LongWord):String;
Description: To be documented
Note To be documented


function StringToHTTPVersion(const AVersion:String):LongWord;
Description: To be documented
Note To be documented


function HTTPVersionToString(AVersion:LongWord):String;
Description: To be documented
Note To be documented


function StringToHTTPEncoding(const AEncoding:String):LongWord;
Description: To be documented
Note To be documented


function HTTPEncodingToString(AEncoding:LongWord):String;
Description: To be documented
Note To be documented


function StringToHTTPStatus(const AStatus:String):LongWord;
Description: To be documented
Note To be documented


function HTTPStatusToString(AStatus:LongWord):String;
Description: To be documented
Note To be documented


procedure HTTPLog(Level:LongWord;const AText:String);
Description: To be documented
Note To be documented


procedure HTTPLogInfo(const AText:String);
Description: To be documented
Note To be documented


procedure HTTPLogError(const AText:String);
Description: To be documented
Note To be documented


procedure HTTPLogDebug(const AText:String);
Description: To be documented
Note To be documented


Return to Unit Reference