session: api to clear host resolver cache

This commit is contained in:
Robo 2016-02-01 19:03:23 +05:30
parent 69f93a7528
commit ce2ea963b9
3 changed files with 32 additions and 0 deletions

View file

@ -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