Module jls.net.http.handler.FileHttpHandler

Provide a simple HTTP handler for files.

Class FileHttpHandler

FileHttpHandler:new (rootFile[, permissions[, indexFilename]]) Creates a file HttpHandler.


Class FileHttpHandler

A FileHttpHandler class.
FileHttpHandler:new (rootFile[, permissions[, indexFilename]])
Creates a file HttpHandler.

Parameters:

  • rootFile File the root File
  • permissions string a string containing the granted permissions, 'rwxlcud' default is 'r' (optional)
  • indexFilename string the name of the file to use in case of GET request on a directory (optional)
generated by LDoc 1.4.6 Last updated 2022-01-22 16:32:56