Skip to content

Commit

Permalink
Merge pull request #542 from ifit/master
Browse files Browse the repository at this point in the history
Expose Request class
  • Loading branch information
mikeal committed May 4, 2013
2 parents 9bd98d6 + 1ebe1ac commit 78b7a0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,8 @@ function request (uri, options, callback) {

module.exports = request

request.Request = Request;

request.debug = process.env.NODE_DEBUG && /request/.test(process.env.NODE_DEBUG)

request.initParams = initParams
Expand Down

0 comments on commit 78b7a0a

Please sign in to comment.