Files
meteor/packages/http
Ben Newman 232ab2d209 Bump package versions for 1.4.2-beta.9 release.
I had to scrap the 1.4.2-beta.8 release because meteor-tool@1.4.2-beta.8
got published by a partial run of the publish-release script, but then the
publish-release script thought meteor-tool changed after that, and I
didn't want to republish it as something like 1.4.2-1-beta.8.
2016-10-05 18:42:56 -04:00
..
2015-06-16 13:45:09 -07:00
2015-06-16 13:36:55 -07:00
2016-08-30 15:40:14 -07:00

http

Source code of released version | Source code of development version


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.