Web.HTTPApp.TCustomWebFileDispatcher.DefaultFile

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DefaultFile: string read GetDefaultFile write SetDefaultFile;

C++

__property System::UnicodeString DefaultFile = {read=GetDefaultFile, write=SetDefaultFile};

Properties

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

Description

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.

See Also