Skip to content

Commit

Permalink
Added timeout docs
Browse files Browse the repository at this point in the history
  • Loading branch information
danhstevens committed Mar 16, 2015
1 parent ce181ec commit 1ce65c9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ kickbox.verify("[email protected]", function (err, response) {
console.log(response.body);
});
```

#### Options

**timeout** `integer` (optional) - Maximum time, in milliseconds, for the API to complete a verification request. Default: 6000.

```js
// Example with options
kickbox.verify("[email protected]", {timeout: 6000}, function (err, response) {/*...*/});
```

### Response information

A successful API call responds with the following values:
Expand Down

0 comments on commit 1ce65c9

Please sign in to comment.