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

ResponseReceivedResponse.cs

Blame
  • user avatar
    brewdente authored
    right now, with more work ahead.  This is just a checkpoint.
    51679b6c
    History
    ResponseReceivedResponse.cs 3.25 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.ResponseReceived)]
        public class ResponseReceivedResponse : IResponse
        {
            public string method { get; set; }
            public ResponseReceivedResponseParams Params { get; set; }
        }
    
        public class ResponseReceivedResponseParams
        {
            public string requestId { get; set; }
            public string frameId { get; set; }
            public string loaderId { get; set; }
            public float timestamp { get; set; }
            public string type { get; set; }
            public Response response { get; set; }
        }
    
        public class Response
        {
            public string url { get; set; }
            public int status { get; set; }
            public string statusText { get; set; }
            public ResponseHeaders headers { get; set; }
            public string mimeType { get; set; }
            public bool connectionReused { get; set; }
            public int connectionId { get; set; }
            public int encodedDataLength { get; set; }
            public bool fromDiskCache { get; set; }
            public bool fromServiceWorker { get; set; }
            public Timing timing { get; set; }
            public string headersText { get; set; }
            public Requestheaders requestHeaders { get; set; }
            public string requestHeadersText { get; set; }
            public string remoteIPAddress { get; set; }
            public int remotePort { get; set; }
            public string protocol { get; set; }
        }
    
        public class ResponseHeaders
        {
            public string Date { get; set; }
            public string ContentEncoding { get; set; }
            public string Server { get; set; }
            public string XAspNetVersion { get; set; }
            public string XPoweredBy { get; set; }
            public string Vary { get; set; }
            public string ContentType { get; set; }
            public string accesscontrolalloworigin { get; set; }
            public string CacheControl { get; set; }
            public string SetCookie { get; set; }
            public string accesscontrolallowheaders { get; set; }
            public string ContentLength { get; set; }
            public string Expires { get; set; }
        }
    
        public class Timing
        {
            public float requestTime { get; set; }
            public int proxyStart { get; set; }
            public int proxyEnd { get; set; }
            public int dnsStart { get; set; }
            public int dnsEnd { get; set; }
            public int connectStart { get; set; }
            public int connectEnd { get; set; }
            public int sslStart { get; set; }
            public int sslEnd { get; set; }
            public int serviceWorkerFetchStart { get; set; }
            public int serviceWorkerFetchReady { get; set; }
            public int serviceWorkerFetchEnd { get; set; }
            public float sendStart { get; set; }
            public float sendEnd { get; set; }
            public float receiveHeadersEnd { get; set; }
        }
    
        public class Requestheaders
        {
            public string Accept { get; set; }
            public string Connection { get; set; }
            public string AcceptEncoding { get; set; }
            public string Host { get; set; }
            public string AcceptLanguage { get; set; }
            public string UserAgent { get; set; }
        }
    
    }