Skip to content
Snippets Groups Projects
Select Git revision
  • 5aba7dc779cbb7c9636d5b1a4cfb3eadeb958656
  • main default
2 results

DevtoolsResponse.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 { }
    }