github-electron loadURL options extraHeaders

This commit is contained in:
Alexander Rusakov committed 2016-03-17 17:37:12 +03:00
1 parent 41f8573534
commit beeee8977d
1 file changed
+2
+2
View File
@@ -415,6 +415,7 @@ declare namespace Electron {
loadURL(url: string, options?: {
httpReferrer?: string;
userAgent?: string;
extraHeaders?: string;
}): void;
/**
* Same with webContents.reload.
@@ -558,6 +559,7 @@ declare namespace Electron {
loadURL(url: string, options?: {
httpReferrer?: string;
userAgent?: string;
extraHeaders?: string;
}): void;
/**
* @returns The URL of current web page.