Web.HTTPApp.TWebResponse.Realm

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Realm: string index 4 read GetStringVariable write SetStringVariable;

C++

__property System::UnicodeString Realm = {read=GetStringVariable, write=SetStringVariable, index=4};

Properties

Type Visibility Source Unit Parent
property public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebResponse

Description

Specifies the set of protected-access URIs that includes the URL specified by the HTTP request message.

Set Realm when the response message returns 401 (Unauthorized) or 402 (Payment required). Realm is the name of a set of URIs that require a password or payment before the web client can access them. All the URIs in the realm, including the URL specified in the request message, are made available as soon as the Web client provides the password or payment for the realm. The server application should keep track, internally, of the passwords or payments the client has provided, using the client information provided by the TWebRequest object.

See Also