Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
caracal-js authored Jul 28, 2021
1 parent bd051d4 commit 0533a6f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,19 @@ function(ctx) {r
#### address (Request)
- `arr` Array of IP addresses to use in request

```
const Corrosion = require('corrosion');
const proxy = new Corrosion({
requestMiddleware: [
Corrosion.middleware.address([
0.0.0.0,
0.0.0.0
]),
],
});
```


### blacklist
- `arr` Array of hostnames to block clients from seeing
- `page` Block page

0 comments on commit 0533a6f

Please sign in to comment.