mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-11 05:34:34 +00:00
Enable the possibility to post data to external Url's with the BrowserWindow.LoadURL function. The post data is provided through LoadURLOptions
18 lines
457 B
C#
18 lines
457 B
C#
namespace ElectronNET.API.Entities
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class UploadRawData : IPostData
|
|
{
|
|
/// <summary>
|
|
/// The data is available as a Buffer, in the rawData field.
|
|
/// </summary>
|
|
public string Type { get; } = "rawData";
|
|
|
|
/// <summary>
|
|
/// The raw bytes of the post data in a Buffer.
|
|
/// </summary>
|
|
public byte[] Bytes { get; set; }
|
|
}
|
|
} |