Skip to content

Commit

Permalink
Removed chapter regarding requestOptions that are no longer available…
Browse files Browse the repository at this point in the history
… since 0.5
  • Loading branch information
jtillmann committed Dec 14, 2021
1 parent 1019c85 commit 02c11c1
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -578,15 +578,7 @@ DEBUG=universal-analytics

# Request Options

In order to add additional options to the request a `requestOptions` hash can be provided as part of the constructor options. `unviversal-analytics` uses the [`request`](https://www.npmjs.com/package/request) library. Therefor [any option available for that library](https://www.npmjs.com/package/request#requestoptions-callback) can be provided via the `requestOptions`.

```javascript
var visitor = ua('UA-XXXX-XX', {
requestOptions: {
proxy: "…"
}
});
```
Due to the removal of the `request` package, request options are no longer available as of 0.5.


# Shortcuts
Expand Down

0 comments on commit 02c11c1

Please sign in to comment.