harry97:webapp

v1.14.0Published yesterday

webapp

Source code of released version | Source code of development version


The webapp package contains the core functionality that makes a Meteor project into a web application. It is a "value added HTTP server" that includes not just a web server, but also advanced app serving functionality like over-the-air mobile app updates and HTML5 Appcache support. For more information, see the Webapp project page.

Direct access to the express API

The webapp package is implemented using the express. webapp exposes the express API for handling requests through Webapp.handlers. See https://docs.meteor.com/#/full/webapp for more details

If you'd like direct access to the express module (for example, to use one of the middleware handlers that it defines), you can find it at WebAppInternals.NpmModules.express.module. Its version can be read at WebAppInternals.NpmModules.express.version.

You can also access express directly via WebApp.express.

Note: WebApp.connectHandlers and WebApp.rawConnectHandlers are still available as aliases for backwards compatibility.