Skip to content
Snippets Groups Projects
Select Git revision
  • 9ea4b1c5cf4847956028c602a9cbffe121960bd6
  • main default
2 results

DevtoolsProtocolHandler.cs

Blame
  • DevtoolsResponse.cs 531 B
    using Newtonsoft.Json.Linq;
    
    namespace bessw.Unity.WebView.ChromeDevTools.Protocol
    {
        public class DevtoolsResponseWrapper
        {
            public long Id { get; set; }
            public JObject Result { get; set; }
        }
        ///
        /// Every devtools command response has the same id and a method as the corresponding command
        ///
        public class DevtoolsResponseWrapper<T> : DevtoolsResponseWrapper where T : IDevtoolsResponse
        {
            public new T Result { get; set; }
        }
    
        public interface IDevtoolsResponse { }
    }