Class ReadCommandSettings
Read a chunk of the stream
public sealed class ReadCommandSettings : ICommand
- Inheritance
-
ReadCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
Handle
Handle of the stream to read.
[JsonPropertyName("handle")]
public string Handle { get; set; }
Property Value
Offset
Seek to the specified offset before reading (if not specified, proceed with offset following the last read). Some types of streams may only support sequential reads.
[JsonPropertyName("offset")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Offset { get; set; }
Property Value
- long?
Size
Maximum number of bytes to read (left upon the agent discretion if not specified).
[JsonPropertyName("size")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Size { get; set; }
Property Value
- long?