Class GetEncodedResponseCommandSettings
Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.
public sealed class GetEncodedResponseCommandSettings : ICommand
- Inheritance
-
GetEncodedResponseCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
Encoding
The encoding to use.
[JsonPropertyName("encoding")]
public string Encoding { get; set; }
Property Value
Quality
The quality of the encoding (0-1). (defaults to 1)
[JsonPropertyName("quality")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? Quality { get; set; }
Property Value
RequestId
Identifier of the network request to get content for.
[JsonPropertyName("requestId")]
public string RequestId { get; set; }
Property Value
SizeOnly
Whether to only return the size information (defaults to false).
[JsonPropertyName("sizeOnly")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? SizeOnly { get; set; }
Property Value
- bool?