Classe TRESTServiceBase
Unit
uRESTDWBasic
Declaração
type TRESTServiceBase = class(TRESTDWComponent)
Descrição
No description available, ancestor TRESTDWComponent description follows
Hierarquia
Visão Geral
Métodos
 |
Procedure EchoPooler(ServerMethodsClass : TComponent; AContext : TComponent; Var Pooler, MyIP : String; AccessTag : String; Var InvalidTag : Boolean); Virtual; Abstract; |
 |
Procedure SetActive(Value : Boolean); Virtual; |
 |
Function CommandExec(Const AContext : TComponent; Url, RawHTTPCommand : String; Var ContentType : String; ClientIP, UserAgent, AuthUsername, AuthPassword, Token : String; RequestHeaders : TStringList; ClientPort : Integer; RawHeaders, Params : TStrings; QueryParams : String; ContentStringStream : TStream; Var AuthRealm, sCharSet, ErrorMessage : String; Var StatusCode : Integer; Var ResponseHeaders : TStringList; Var ResponseString : String; Var ResultStream : TStream; Redirect : TRedirect) : Boolean; |
 |
Procedure ClearDataRoute; |
 |
Procedure AddDataRoute(DataRoute : String; MethodClass : TComponentClass); |
 |
Function GetDataRouteCount: integer; |
 |
Constructor Create(AOwner : TComponent); Override; |
 |
Destructor Destroy; Override; |
Propriedades
Descrição
Métodos
 |
Procedure EchoPooler(ServerMethodsClass : TComponent; AContext : TComponent; Var Pooler, MyIP : String; AccessTag : String; Var InvalidTag : Boolean); Virtual; Abstract; |
|
|
 |
Procedure SetActive(Value : Boolean); Virtual; |
|
|
 |
Function CommandExec(Const AContext : TComponent; Url, RawHTTPCommand : String; Var ContentType : String; ClientIP, UserAgent, AuthUsername, AuthPassword, Token : String; RequestHeaders : TStringList; ClientPort : Integer; RawHeaders, Params : TStrings; QueryParams : String; ContentStringStream : TStream; Var AuthRealm, sCharSet, ErrorMessage : String; Var StatusCode : Integer; Var ResponseHeaders : TStringList; Var ResponseString : String; Var ResultStream : TStream; Redirect : TRedirect) : Boolean; |
|
|
 |
Procedure ClearDataRoute; |
|
|
 |
Procedure AddDataRoute(DataRoute : String; MethodClass : TComponentClass); |
|
|
 |
Function GetDataRouteCount: integer; |
|
|
 |
Constructor Create(AOwner : TComponent); Override; |
|
|
 |
Destructor Destroy; Override; |
|
Cria o Componente
|
Propriedades
 |
property Active : Boolean Read vActive Write SetActive; |
|
Destroy a Classe
|
 |
property CORS : Boolean Read vCORS Write vCORS; |
|
|
 |
property CORS_CustomHeaders : TStringList Read vCORSCustomHeaders Write SetCORSCustomHeader; |
|
|
 |
property DefaultPage : TStringList Read vDefaultPage Write SetDefaultPage; |
|
|
 |
property DefaultUrl : String Read aDefaultUrl Write aDefaultUrl; |
|
|
 |
property PathTraversalRaiseError : Boolean Read vPathTraversalRaiseError Write vPathTraversalRaiseError; |
|
|
 |
property RequestTimeout : Integer Read vServiceTimeout Write vServiceTimeout; |
|
|
 |
property ServicePort : Integer Read vServicePort Write vServicePort; |
|
|
 |
property ProxyOptions : TProxyConnectionInfo Read vProxyOptions Write vProxyOptions; |
|
A Porta do Serviço do DataSet
|
 |
property AuthenticationOptions : TRESTDWServerAuthOptionParams Read vServerAuthOptions Write SetServerAuthOptions; |
|
Se tem Proxy diz quais as opções
|
 |
property ServerMethodClass : TComponentClass Read aServerMethod Write SetServerMethod; |
|
|
 |
property OnLastRequest : TLastRequest Read vLastRequest Write vLastRequest; |
|
|
 |
property OnLastResponse : TLastResponse Read vLastResponse Write vLastResponse; |
|
|
 |
property Encoding : TEncodeSelect Read vEncoding Write vEncoding; |
|
|
 |
property RootPath : String Read FRootPath Write FRootPath; |
|
Encoding da string
|
 |
property ForceWelcomeAccess : Boolean Read vForceWelcomeAccess Write vForceWelcomeAccess; |
|
|
 |
property OnBeforeUseCriptKey : TBeforeUseCriptKey Read vBeforeUseCriptKey Write vBeforeUseCriptKey; |
|
|
 |
property CriptOptions : TCripto Read vCripto Write vCripto; |
|
|
 |
property EncodeErrors : Boolean Read vEncode_Errors Write vEncode_Errors; |
|
|
 |
property DatabaseCharSet : TDatabaseCharSet Read vDatabaseCharSet Write vDatabaseCharSet; |
|
|
 |
property OnCreate : TOnCreate Read vOnCreate Write vOnCreate; |
|
|
Gerado por PasDoc 0.16.0.