Class HTTPFileServerSettings

Configuration options for the static file server.

Inherits from

  • Object (base class)

Constructors

Name Description
this
this

Fields

Name Type Description
encodingFileExtension string[string]
failIfNotFound bool
maxAge core.time.Duration
preWriteCallback void delegate(HTTPServerRequest, HTTPServerResponse, ref string) Called just before headers and data are sent. Allows headers to be customized, or other custom processing to be performed.
serverPathPrefix string

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.