2021-03-12 16:31:29 +01:00
|
|
|
|
namespace ElectronNET.API.Entities
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Represents a postData item for loadURL/webContents.loadURL options.
|
|
|
|
|
|
/// Valid types per Electron docs: 'rawData' and 'file'.
|
2021-03-12 16:31:29 +01:00
|
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
2021-03-12 16:31:29 +01:00
|
|
|
|
public interface IPostData
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// One of the following:
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// rawData - <see cref="UploadRawData"/>.
|
|
|
|
|
|
/// file - <see cref="UploadFile"/>.
|
|
|
|
|
|
/// Based on Electron postData definitions.
|
2021-03-12 16:31:29 +01:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Type { get; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|