implement Session-API, fix code selection problem for the Demo Web-App.

This commit is contained in:
Gregor Biswanger
2019-05-16 18:03:31 +02:00
parent 3cb92169dd
commit 412f628422
15 changed files with 889 additions and 15 deletions

View File

@@ -20,6 +20,11 @@ namespace ElectronNET.API
/// </value>
public int Id { get; private set; }
/// <summary>
/// Manage browser sessions, cookies, cache, proxy settings, etc.
/// </summary>
public Session Session { get; internal set; }
/// <summary>
/// Emitted when the renderer process crashes or is killed.
/// </summary>
@@ -82,6 +87,7 @@ namespace ElectronNET.API
internal WebContents(int id)
{
Id = id;
Session = new Session(id);
}
/// <summary>