A handle to an active transfer. Used to manage the transfer during its operation.
Public Member Functions | |
| constexpr | Handle () |
Creates an unassigned Handle not associated with any active transfer. | |
| void | Cancel () |
| Terminates the ongoing transfer. | |
| void | SetTransferSize (size_t size_bytes) |
Friends | |
| class | Client |
|
inline |
In a Write() transfer, updates the total size of the resource being transferred. This size will be indicated to the server.
| [in] | size_bytes | Total size of the transfer resource in bytes. |