Behaviour: openflax.handler.
This handler's security/featurefulness tradeoff level is
3 (Unobtrusive.) If not all the files are of the same
content type, it might confuse some user agents.
The res_content_type setting should be specified
in the config file.
This handler requires openflax.handler.file.
| serve/1 | Serves a random file from this directory. |
| start/1 | Initializes the random-file-serving subsystem. |
| stop/1 | Shuts down the random-file serving subsystem. |
serve(Conf::conf()) -> {response(), conf()}
Serves a random file from this directory.
Initializes the random-file-serving subsystem.
Shuts down the random-file serving subsystem.