Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FGRibreau authored May 9, 2017
1 parent ada51e3 commit 9a50640
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Install with [npm](https://npmjs.org/package/requestretry).

A retry strategy let you specify when request-retry should retry a request

```
```javascript
/**
* @param {Null | Object} err
* @param {Object} response
Expand All @@ -127,7 +127,7 @@ request({

A delay strategy let you specify how long request-retry should wait before trying again the request

```
```javascript
/**
* @param {Null | Object} err
* @param {Object} response
Expand All @@ -152,7 +152,7 @@ request({

You can use the `defaults` method to provide default options like so:

```js
```javascript
var request = require('requestretry').defaults({ json: true, retryStrategy: myRetryStrategy });
```

Expand Down

0 comments on commit 9a50640

Please sign in to comment.