Packed Record TBrookHTTPUpload
Unit
Declaration
type TBrookHTTPUpload = packed record
Description
Structured type which holds the upload properties and allows to save the uploaded file.
Overview
Methods
constructor Create(AHandle: Pointer); |
|
function Save(AOverwritten: Boolean; out AError: string): Boolean; overload; |
|
function Save(out AError: string): Boolean; overload; |
|
procedure Save(AOverwritten: Boolean); overload; |
|
procedure Save; overload; |
|
function SaveAs(const APath: TFileName; AOverwritten: Boolean; out AError: string): Boolean; overload; |
|
function SaveAs(const APath: TFileName; out AError: string): Boolean; overload; |
|
procedure SaveAs(const APath: TFileName; AOverwritten: Boolean); overload; |
|
procedure SaveAs(const APath: TFileName); overload; |
Properties
property Handle: Pointer read GetHandle; |
|
property StreamHandle: Pointer read FStreamHandle; |
|
property Directory: string read FDirectory; |
|
property Field: string read FField; |
|
property Name: string read FName; |
|
property Mime: string read FMime; |
|
property Encoding: string read FEncoding; |
|
property Size: UInt64 read FSize; |
Description
Methods
constructor Create(AHandle: Pointer); |
|
Creates an instance of Parameters
|
function Save(AOverwritten: Boolean; out AError: string): Boolean; overload; |
|
Saves the uploaded file defining the destination path by upload name and directory. Parameters
Returns
|
function Save(out AError: string): Boolean; overload; |
|
Saves the uploaded file defining the destination path by upload name and directory. Parameters
Returns
|
procedure Save(AOverwritten: Boolean); overload; |
|
Saves the uploaded file defining the destination path by upload name and directory. Parameters
|
procedure Save; overload; |
|
Saves the uploaded file defining the destination path by upload name and directory. |
function SaveAs(const APath: TFileName; AOverwritten: Boolean; out AError: string): Boolean; overload; |
|
Saves the uploaded file allowing to define the destination path. Parameters
Returns
|
function SaveAs(const APath: TFileName; out AError: string): Boolean; overload; |
|
Saves the uploaded file allowing to define the destination path. Parameters
Returns
|
procedure SaveAs(const APath: TFileName); overload; |
|
Saves the uploaded file allowing to define the destination path. Parameters
|
Properties
property Handle: Pointer read GetHandle; |
|
|
property StreamHandle: Pointer read FStreamHandle; |
|
Stream handle of the upload. |
property Directory: string read FDirectory; |
|
|
property Field: string read FField; |
|
|
property Name: string read FName; |
|
|
property Mime: string read FMime; |
|
|
property Encoding: string read FEncoding; |
|
|
property Size: UInt64 read FSize; |
|
|
Generated by PasDoc 0.16.0.