...
folder
: The file path of the folder that will act as the root directory of the server. If this parameter is absent, everything on the storage device will be served.url_prefix
: The URL prefix under which files will be served. If this parameter is absent, the URL will match from root.filters
: An array of filters. Each filter is an associative array with the following parameters:re
: The regular expression to match against the request URL.ext
: The extension to match against the leaf file of the request URL.
Note |
---|
If the "re" and "ext" parameters are absent, the filter will match everything. |
...
headers
: An associative array containing arbitrary headers to be included with the automatic response.content_type
: The contents of the "Content-Type" header included with the automatic response. This cannot be set in the same filter as the headers. The MIME type and character set can be specified together(e.g. "text/plain; charset=utf-8")
.
AddGetFromEvent(parameters As roAssociativeArray) As Boolean
...