KestrunHost.AddDirectoryBrowser method
Adds a directory browser middleware to the application. This middleware enables directory browsing for a specified request path.
public KestrunHost AddDirectoryBrowser(string requestPath)
| parameter | description |
|---|---|
| requestPath | The request path to enable directory browsing for. |
Return Value
The current KestrunHost instance.
See Also
- class KestrunHost
- namespace Kestrun.Hosting