FileModule Constructor (String, String, Boolean)

HttpServer.dll

Initializes a new instance of the FileModule class

Namespace:  HttpServer.HttpModules
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public FileModule(
	string baseUri,
	string basePath,
	bool useLastModifiedHeader
)
Visual Basic (Declaration)
Public Sub New ( _
	baseUri As String, _
	basePath As String, _
	useLastModifiedHeader As Boolean _
)
Visual C++
public:
FileModule(
	String^ baseUri, 
	String^ basePath, 
	bool useLastModifiedHeader
)

Parameters

baseUri
Type: System..::.String
Uri to serve, for instance "/files/"
basePath
Type: System..::.String
Path on hard drive where we should start looking for files
useLastModifiedHeader
Type: System..::.Boolean
If true a Last-Modifed header will be sent upon requests urging webbrowser to cache files

See Also