Skip to content
Snippets Groups Projects
Commit d4a7a47b authored by svatal's avatar svatal
Browse files

new protocol (chrome 62)

+ deprecated json field support (-> obsolete)
+ event with dictionary support
+ updated sample not to use deprecated command (SetVisibleSizeCommand ->
SetDeviceMetricsOverrideCommand)
parent 4f3d1c43
No related branches found
No related tags found
No related merge requests found
Showing
with 57 additions and 2 deletions
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Animation
......
using MasterDevs.ChromeDevTools;using Newtonsoft.Json;
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
{
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
......
using MasterDevs.ChromeDevTools;using Newtonsoft.Json;
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.ApplicationCache
{
......
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Audits
{
/// <summary>
/// Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.
/// </summary>
[Command(ProtocolName.Audits.GetEncodedResponse)]
[SupportedBy("Chrome")]
public class GetEncodedResponseCommand: ICommand<GetEncodedResponseCommandResponse>
{
/// <summary>
/// Gets or sets Identifier of the network request to get content for.
/// </summary>
public string RequestId { get; set; }
/// <summary>
/// Gets or sets The encoding to use.
/// </summary>
public string Encoding { get; set; }
/// <summary>
/// Gets or sets The quality of the encoding (0-1). (defaults to 1)
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public double Quality { get; set; }
/// <summary>
/// Gets or sets Whether to only return the size information (defaults to false).
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public bool? SizeOnly { get; set; }
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment