Update to native Electron 11.1.1 - Fix breaking changes and refactoring.

This commit is contained in:
Gregor Biswanger
2021-01-11 01:56:39 +01:00
parent b9feff3436
commit f06b95803f
45 changed files with 2083 additions and 718 deletions

View File

@@ -64,8 +64,7 @@ namespace ElectronNET.API
/// <summary>
/// Clears the sessions HTTP authentication cache.
/// </summary>
/// <param name="options"></param>
public Task ClearAuthCacheAsync(RemoveClientCertificate options)
public Task ClearAuthCacheAsync()
{
var taskCompletionSource = new TaskCompletionSource<object>();
string guid = Guid.NewGuid().ToString();
@@ -76,7 +75,7 @@ namespace ElectronNET.API
taskCompletionSource.SetResult(null);
});
BridgeConnector.Socket.Emit("webContents-session-clearAuthCache", Id, JObject.FromObject(options, _jsonSerializer), guid);
BridgeConnector.Socket.Emit("webContents-session-clearAuthCache", Id, guid);
return taskCompletionSource.Task;
}