Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can we use this module with https://github.com/request/request #39

Open
tomerb15 opened this issue Dec 11, 2016 · 1 comment
Open

Comments

@tomerb15
Copy link

this module is referenced from https://github.com/request/request, however I can't really understand how to use it

@benurb
Copy link

benurb commented Feb 24, 2017

Set forever: true in the options object.
For Example:

const request = require("request");
request({
  url: "http://www.github.com",
  forever: true
}, (err, res, body) => console.log(body));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants