Files
meteor/packages/webapp/README.md
filipenevola 6a0b87e067 webapp: Renames expressHandlers to handlers
- Renames rawExpressHandlers to rawHandlers
- Brings back connectHandlers but now using express
- Adds deprecated to connectHandlers and rawConnectHandlers
- Updates the doc of 3.0 about these changes
- Updates packages using expressHandlers to use handlers
2023-09-23 10:10:33 -04:00

1.3 KiB

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 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.

The version of express 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.