Datasnap.DSHTTP.TDSHTTPResponseIndy.SetHeaderAuthentication
Delphi
procedure SetHeaderAuthentication(const Value: string; const Realm: string); override;
C++
virtual void __fastcall SetHeaderAuthentication(const System::UnicodeString Value, const System::UnicodeString Realm);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | TDSHTTPResponseIndy |
Description
Sets the way WWW authentication takes place.
The SetHeaderAuthentication method sets the way WWW authentication takes place. The Value parameter specifies the authentication type (usually 'Basic') and the Realm parameter specifies the authentication realm (for example, 'REST').