session: api to clear host resolver cache
This commit is contained in:
parent
69f93a7528
commit
ce2ea963b9
3 changed files with 32 additions and 0 deletions
|
@ -313,6 +313,12 @@ session.fromPartition(partition).setPermissionRequestHandler(function(webContent
|
|||
});
|
||||
```
|
||||
|
||||
#### `ses.clearHostResolverCache([callback])`
|
||||
|
||||
* `callback` Function (optional) - Called when operation is done.
|
||||
|
||||
Clears the host resolver cache.
|
||||
|
||||
#### `ses.webRequest`
|
||||
|
||||
The `webRequest` API set allows to intercept and modify contents of a request at
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue