Constructor
Depending on the type of file: - file: serve the file only; - directory: build a listdir representation;
Function to override if custom informations are to be printed.
Serve the directory specified using a Vibe.d event loop. The function first binds using the settings of the class then exectues the event loop.
Replies to request. Serve a file or build a listdir representation in case of a directory. It uses a diet template for the latter.
Stop the event loop. It is automatically called at scope(exit)
The Serve class contains the whole logic of the program. It is to be used when linking to this program.