Skip to content
Snippets Groups Projects
Select Git revision
  • 51679b6c27821a08337928eed16bf2dff644b4e1
  • master default
  • dependabot/nuget/source/Sample/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/MasterDevs.ChromeDevTools.Tests/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ProtocolGenerator/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/System.Net.Http-4.3.4
  • revert-29-revert-24-protocol_62
  • revert-24-protocol_62
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0.40915
13 results

RequestWillBeSentResponse.cs

Blame
  • user avatar
    brewdente authored
    right now, with more work ahead.  This is just a checkpoint.
    51679b6c
    History
    RequestWillBeSentResponse.cs 1.19 KiB
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    
    namespace AutoWebPerf.Chrome.Messages.Network
    {
        [MethodName(MethodName.Network.RequestWillBeSent)]
        public class RequestWillBeSentResponse : IResponse
        {
            public string method { get; set; }
            public RequestWillBeSentResponseParams Params { get; set; }
        }
    
        public class RequestWillBeSentResponseParams
        {
            public string requestId { get; set; }
            public string frameId { get; set; }
            public string loaderId { get; set; }
            public string documentURL { get; set; }
            public Request request { get; set; }
            public float timestamp { get; set; }
            public Initiator initiator { get; set; }
            public string type { get; set; }
        }
    
        public class Request
        {
            public string url { get; set; }
            public string method { get; set; }
            public RequestHeaders headers { get; set; }
        }
    
        public class RequestHeaders
        {
            public string Accept { get; set; }
            public string UserAgent { get; set; }
        }
    
        public class Initiator
        {
            public string type { get; set; }
        }
    
    }