Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Field: Func<HttpRequest, HttpResponse> DirectoryListingAuth

Declaration

Func<HttpRequest, HttpResponse> DirectoryListingAuth

Summary

If directory listings are permitted, this handler is invoked to confirm that listing this specific directory is permitted. The handler should return null to allow directory listing, or an appropriate response if listing is not allowed. A null handler is identical to a handler that always returns null.