mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
session: api to clear host resolver cache
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user