mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-07-10 02:38:39 +00:00
Update all model classes to Electron API 39.2
This commit is contained in:
@@ -3,15 +3,16 @@
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
||||
public class UploadRawData : IPostData
|
||||
{
|
||||
/// <summary>
|
||||
/// The data is available as a Buffer, in the rawData field.
|
||||
/// Gets the type discriminator; constant 'rawData'.
|
||||
/// </summary>
|
||||
public string Type { get; } = "rawData";
|
||||
|
||||
/// <summary>
|
||||
/// The raw bytes of the post data in a Buffer.
|
||||
/// Gets or sets the data to be uploaded as raw bytes (Electron Buffer).
|
||||
/// </summary>
|
||||
public byte[] Bytes { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user