Web.HTTPApp.TWebFileDispatcher.DefaultFile
Delphi
property DefaultFile;
C++
__property DefaultFile = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Web.HTTPApp.pas Web.HTTPApp.hpp |
Web.HTTPApp | TWebFileDispatcher |
Description
Specifies the file name to dispatch automatically.
Web.HTTPApp.TWebFileDispatcher.DefaultFile inherits from Web.HTTPApp.TCustomWebFileDispatcher.DefaultFile. All content below this line refers to Web.HTTPApp.TCustomWebFileDispatcher.DefaultFile.
Specifies the file name to dispatch automatically.
For example, if DefaultFile = 'index.html'
, when browsing to the root directory, the response will be the content of index.html
.