DefaultResourceHandler

Constructors

this
this(string virtualPath, string actualPath)
Undocumented in source.

Members

Functions

render
void render(RoutingContext context, int status, Exception t)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

convertFileSize
string convertFileSize(ulong size)
Undocumented in source. Be warned that the author may not have intended to support it.
renderFileList
string renderFileList(string basePath, string requestFile, string title)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From AbstractResourceHandler

CurrentRequestFile
enum string CurrentRequestFile;
Undocumented in source.
basePath
string basePath()
Undocumented in source. Be warned that the author may not have intended to support it.
bufferSize
size_t bufferSize()
Undocumented in source. Be warned that the author may not have intended to support it.
bufferSize
AbstractResourceHandler bufferSize(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
cachable
bool cachable()
Undocumented in source. Be warned that the author may not have intended to support it.
cachable
AbstractResourceHandler cachable(bool flag)
Undocumented in source. Be warned that the author may not have intended to support it.
cacheTime
Duration cacheTime()
Undocumented in source. Be warned that the author may not have intended to support it.
cacheTime
AbstractResourceHandler cacheTime(Duration t)
Undocumented in source. Be warned that the author may not have intended to support it.
isListingEnabled
bool isListingEnabled()
Undocumented in source. Be warned that the author may not have intended to support it.
isListingEnabled
AbstractResourceHandler isListingEnabled(bool flag)
Undocumented in source. Be warned that the author may not have intended to support it.
handle
void handle(RoutingContext context)
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render(RoutingContext context, int status, Exception ex)
Undocumented in source.

Meta