Class FileTransferModels.TransferRequest
- Namespace
- SmarterLink.Core.Protocol.Models
- Assembly
- SmarterLink.Core.dll
Sent by a receiver to request that the sender begin transferring file chunks.
public sealed record FileTransferModels.TransferRequest : FileTransferModels, IEquatable<ProtocolDataPayloadBase>, IEquatable<FileTransferModels>, IEquatable<FileTransferModels.TransferRequest>
- Inheritance
-
FileTransferModels.TransferRequest
- Implements
- Inherited Members
Constructors
TransferRequest(string, uint, uint?, uint?, HashingFunction?)
Sent by a receiver to request that the sender begin transferring file chunks.
public TransferRequest(string ResponseTopicBase, uint ChunkSize, uint? StartChunkIndex = null, uint? ChunkCount = null, HashingFunction? HashingFunction = null)
Parameters
ResponseTopicBasestringChunkSizeuintStartChunkIndexuint?ChunkCountuint?HashingFunctionHashingFunction
Properties
ChunkCount
public uint? ChunkCount { get; init; }
Property Value
- uint?
ChunkSize
[JsonRequired]
public uint ChunkSize { get; init; }
Property Value
HashingFunction
public HashingFunction? HashingFunction { get; init; }
Property Value
ResponseTopicBase
[JsonRequired]
public string ResponseTopicBase { get; init; }
Property Value
StartChunkIndex
public uint? StartChunkIndex { get; init; }
Property Value
- uint?