Classe TRestRequest
Unit
GNRequest
Declaração
type TRestRequest = class(TObject)
Descrição
Hierarquia
Visão Geral
Métodos
Properties
 |
property Response: THttpResponse read FResponse; |
 |
property FullUrl: string read getURLAsStr; |
 |
property Accept: string read getAccept write setAccept; |
 |
property ContentType: string read getContentType write setContentType; |
 |
property BeforeRequest: TBeforeRequest read GetBeforeRequest write SetBeforeRequest; |
Descrição
Métodos
 |
constructor Create(aIsSSL: boolean); overload; |
|
 |
constructor Create; overload; |
|
 |
destructor Destroy; override; |
|
 |
function FileParam(aKey: string; aValue: string): TRestRequest; |
|
 |
function WithHeader(aName: string; aValue: string): TRestRequest; |
|
 |
function WithCredentials(username, password: string): TRestRequest; |
|
Properties
 |
property FullUrl: string read getURLAsStr; |
|
 |
property Accept: string read getAccept write setAccept; |
|
 |
property ContentType: string read getContentType write setContentType; |
|
 |
property BeforeRequest: TBeforeRequest read GetBeforeRequest write SetBeforeRequest; |
|
JBS Soluções 2015 |