Sisk

Method

HttpFileServerHandler.ServeDirectoryListing

Namespace
Sisk.Core.Http.FileSystem
Assembly
Sisk.Core.dll

ServeDirectoryListing(DirectoryInfo, HttpRequest) #

Generates an HTML directory listing for the specified directory and returns it as an HTTP response.

C#
protected virtual HttpResponse ServeDirectoryListing(DirectoryInfo directory, HttpRequest request)

Parameters #

directory DirectoryInfo

The directory whose contents will be listed.

request HttpRequest

The current HTTP request.

Returns #

HttpResponse

An HttpResponse containing the HTML directory listing.

Type to search the documentation and the API reference.