API:System.Net.URLClient.TURI : Différence entre versions
(Page créée avec « <section begin="api" /> <!--Start API Info--><ul id='childlinks'><li class='first'>'''Aller au parent : System.Net.URLClient'''</li> <li>'''[[Sys... ») |
|||
| Ligne 36 : | Ligne 36 : | ||
procedure DeleteParameter(AIndex: Integer); overload; | procedure DeleteParameter(AIndex: Integer); overload; | ||
procedure DeleteParameter(const AName: string); overload; | procedure DeleteParameter(const AName: string); overload; | ||
| + | class function URLEncode(const AValue: string; SpacesAsPlus: Boolean = False): string; static; | ||
| + | class function URLDecode(const AValue: string; PlusAsSpaces: Boolean = False): string; static; | ||
property Parameter[const I: Integer]: TURIParameter read GetParameter write SetParameter; | property Parameter[const I: Integer]: TURIParameter read GetParameter write SetParameter; | ||
property ParameterByName[const AName: string]: TURIParameter read GetParameterByName write SetParameterByName; | property ParameterByName[const AName: string]: TURIParameter read GetParameterByName write SetParameterByName; | ||
Version du 18 janvier 2015 à 09:30
Delphi
TURI = record
public
Scheme: string;
Username: string;
Password: string;
Host: string;
Port: Integer;
Path: string;
Query: string;
Params: TURIParameters;
Fragment: string;
private
function GetParameter(const I: Integer): TURIParameter;
function GetParameterByName(const AName: string): TURIParameter;
procedure SetParameter(const I: Integer; const Value: TURIParameter);
procedure SetParameterByName(const AName: string; const Value: TURIParameter);
procedure DecomposeURI(const AURIStr: string); // Platform function
public
constructor Create(const AURIStr: string);
function ToString: string;
procedure ComposeURI(const AScheme, AUsername, APassword, AHostname: string; APort: Integer; const APath: string;
const AParams: TURIParameters; const AFragment: string);
procedure AddParameter(const AName, AValue: string); overload;
procedure AddParameter(const AParameter: TURIParameter); overload;
procedure DeleteParameter(AIndex: Integer); overload;
procedure DeleteParameter(const AName: string); overload;
class function URLEncode(const AValue: string; SpacesAsPlus: Boolean = False): string; static;
class function URLDecode(const AValue: string; PlusAsSpaces: Boolean = False): string; static;
property Parameter[const I: Integer]: TURIParameter read GetParameter write SetParameter;
property ParameterByName[const AName: string]: TURIParameter read GetParameterByName write SetParameterByName;
end;
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| record | public | System.Net.URLClient.pas | System.Net.URLClient | System.Net.URLClient |
Description
Embarcadero Technologies ne possède pas d'informations supplémentaires pour le moment. Veuillez nous aider à documenter cette rubrique en utilisant la page Discussion !