github-electron loadURL options extraHeaders

This commit is contained in:
Alexander Rusakov
2016-03-17 17:37:12 +03:00
parent 41f8573534
commit beeee8977d

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.