Offers general abstract features for HTTP handling.
|
procedure SetContentType(AValue: string); virtual; abstract; |
|
function GetContentType: string; virtual; abstract; |
|
function GetClient: TObject; virtual; abstract; |
|
function GetContents: TStrings; virtual; abstract; |
|
function GetCookies: TStrings; virtual; abstract; |
|
function GetDocument: TStream; virtual; abstract; |
|
function GetHeaders: TStrings; virtual; abstract; |
|
function GetReasonPhrase: string; virtual; abstract; |
|
function GetStatusCode: Integer; virtual; abstract; |
|
function GetMethod: string; virtual; abstract; |
|
function GetUrl: string; virtual; abstract; |
|
procedure SetMethod(AValue: string); virtual; abstract; |
|
procedure SetUrl(AValue: string); virtual; abstract; |
|
constructor Create; virtual; abstract; |
|
class procedure Register; |
|
class procedure Unregister; |
|
class function GetLibrary: string; virtual; abstract; |
|
procedure AddHeader(const AName, AValue: string); virtual; abstract; |
|
function Request: Boolean; virtual; abstract; |
|
class function Get(const AUrl: string; AResponse: TStream): Boolean; virtual; abstract; |
|
class function Post(const AUrl: string; AResponse: TStream): Boolean; virtual; abstract; |
|
class function Put(const AUrl: string; AResponse: TStream): Boolean; virtual; abstract; |
|
class function Delete(const AUrl: string; AResponse: TStream): Boolean; virtual; abstract; |
|
class function Options(const AUrl: string; AResponse: TStream): Boolean; virtual; abstract; |
|
class function Head(const AUrl: string; AHeaders: TStrings): Boolean; virtual; abstract; |
|
class function PostForm(const AUrl: string; AFormData, AResponse: TStream): Boolean; virtual; abstract; |
|
class function PostForm(const AUrl, AFormData: string; AResponse: TStream): Boolean; virtual; abstract; |
|
class function PutForm(const AUrl: string; AFormData, AResponse: TStream): Boolean; virtual; abstract; |
|
class function PutForm(const AUrl, AFormData: string; AResponse: TStream): Boolean; virtual; abstract; |
|
class function PostFile(const AUrl, AFieldName, AFileName: string; AFile, AResponse: TStream): Boolean; virtual; abstract; |
|
class function PostFile(const AUrl, AFieldName, AFileName: string; AResponse: TStream): Boolean; virtual; abstract; |