Files
meteor/packages/webapp
Ben Newman 60c670f0b3 Move AUTOUPDATE_VERSION logic out of webapp_server.js.
It seems obvious in hindsight, but any logic relating to the
AUTOUPDATE_VERSION override should reside within the autoupdate package,
and the true client hashes should be available to any other package that
needs them, without AUTOUPDATE_VERSION getting in the way.
2018-07-19 14:04:32 -04:00
..
2017-08-15 09:18:10 -04:00

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 connect mongodb API

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

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

The version of connect used may change incompatibly from version to version of Meteor (or we may even replace it with an entirely different implementation); use at your own risk.