Files
meteor/packages/http
David Glasser 873018df44 Minor version bumps to packages with new features
* accounts-base: client-side login hooks
* accounts-password: emailTemplates features
* autoupdate: reload via Node IPC messages (and SIGHUP)
* blaze: template-level subscriptions and onRendered/etc hooks
* ddp: client-side onStop callback, permessage-deflate, subscriptionId
  on subscription handles
* http: npmRequestOptions, HTTPInternals.NpmModules
* mongo: validated against 2.6, oplog-backlog,
  rawCollection/rawDatabase, MongoInternals.NpmModules
* reactive-dict/session: Session.set({k1: v1, k2: v2})
* templating: attributes on <body>
* webapp: WebAppInternals.NpmModules
2015-03-05 22:30:22 -08:00
..
2015-03-05 17:12:37 -08:00

http

HTTP provides an HTTP request API on the client and server. To use these functions, add the HTTP package to your project with $ meteor add http.

See the HTTP section in the Meteor docs for more details.

Direct access to npm request API

On the server, the http package is implemented using the npm request module. If you'd like direct access to this module, you can find it at HTTPInternals.NpmModules.request.module. Its version can be read at HTTPInternals.NpmModules.request.version.

Additionally, you can override any request option when using HTTP.call (or HTTP.get, etc) by including a npmRequestOptions option.

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