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

@ -78,6 +78,7 @@ class Session: public mate::TrackableObject<Session>,
void SetCertVerifyProc(v8::Local<v8::Value> proc, mate::Arguments* args);
void SetPermissionRequestHandler(v8::Local<v8::Value> val,
mate::Arguments* args);
void ClearHostResolverCache(mate::Arguments* args);
v8::Local<v8::Value> Cookies(v8::Isolate* isolate);
v8::Local<v8::Value> WebRequest(v8::Isolate* isolate);