Files
cefsharp/CefSharp/DevTools/IEventProxy.cs
Alex Maitland 0804a404c7 DevTools Client - Add Event error handling
- New event that is raised when an exception occurs during converting a response to JSON
- Test cleanup
- New unit test to validate IEventProxy has been removed from ConcurrentDictionary

Resolves #3787
2021-09-10 14:15:57 +10:00

28 lines
945 B
C#

// Copyright © 2021 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
// Originally Based on https://github.com/CefNet/CefNet.DevTools.Protocol/blob/0a124720474a469b5cef03839418f5e1debaf2f0/CefNet.DevTools.Protocol/IEventProxy.cs
using System;
using System.IO;
using System.Threading;
namespace CefSharp.DevTools
{
/// <summary>
/// Event Proxy
/// </summary>
internal interface IEventProxy : IDisposable
{
/// <summary>
/// Raise Event
/// </summary>
/// <param name="sender">sender</param>
/// <param name="eventName">event name</param>
/// <param name="stream">Stream containing JSON</param>
/// <param name="syncContext">SynchronizationContext</param>
void Raise(object sender, string eventName, Stream stream, SynchronizationContext syncContext);
}
}