Datasnap.DSHTTP.TDSHTTPResponseIndy.SetHeaderAuthentication
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: public | |
Source: Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp
| |
Unit: Datasnap.DSHTTP | |
Parent: TDSHTTPResponseIndy |
Delphi
procedure SetHeaderAuthentication(const Value: string; const Realm: string); override;
C++
virtual void __fastcall SetHeaderAuthentication(const System::UnicodeString Value, const System::UnicodeString Realm);
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').