Class: OfflineServer
Defined in: | src/kermit/extensions/ext.offline.coffee |
Inherits: | Extension |
Overview
Redirect requests to web URLs to local storage. This allows to serve (previously downloaded) content offline.
IMPORTANT: Do not use with enabled keep-alive option
Variables Summary
- errors =
-
{ OSNODIR: "Extension OfflineServer needs the basedir from where files are served.\nPlease provide property 'basedir' (withoud trailing slash) in the options." }
Class Method Summary
Instance Method Summary
Inherited Method Summary
Methods inherited from
Extension
#initialize #print #merge #targets #verify #onStart #onStop
Class Method Details
.
(void)
defaultOpts()
Constructor Details
#
(void)
constructor(opts = {})
Instance Method Details
#
(void)
initialize(context)