Skip to content
Branch: master
Find file History
Pull request Compare This branch is 62 commits behind devel.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.npm/package Remove qs-middleware from webapp package to avoid license issues (#10711 Oct 24, 2019
.gitignore Factor webapp-specific stuff (and keepalive) out of boot.js into weba… May 13, 2013
README.md Updated webapp links to point to master instead of devel. Dec 21, 2016
connect.js
legacy_test_asset.js
modern_test_asset.js Let any client request any static resource. (#9965) Jun 7, 2018
package.js
socket_file.js
socket_file_tests.js
webapp_client.js
webapp_client_tests.js Don't overly escape Meteor.settings.public Feb 18, 2015
webapp_cordova.js
webapp_server.js
webapp_tests.js

README.md

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.

You can’t perform that action at this time.