mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-08 05:37:09 +00:00
Enable the possibility to post data to external Url's with the BrowserWindow.LoadURL function. The post data is provided through LoadURLOptions
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
namespace ElectronNET.API.Entities
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class LoadURLOptions
|
|
{
|
|
/// <summary>
|
|
/// A HTTP Referrer url.
|
|
/// </summary>
|
|
public string HttpReferrer { get; set; }
|
|
|
|
/// <summary>
|
|
/// A user agent originating the request.
|
|
/// </summary>
|
|
public string UserAgent { get; set; }
|
|
|
|
/// <summary>
|
|
/// Base url (with trailing path separator) for files to be loaded by the data url.
|
|
/// This is needed only if the specified url is a data url and needs to load other
|
|
/// files.
|
|
/// </summary>
|
|
public string BaseURLForDataURL { get; set; }
|
|
|
|
/// <summary>
|
|
/// Extra headers for the request.
|
|
/// </summary>
|
|
public string ExtraHeaders { get; set; }
|
|
|
|
/// <summary>
|
|
/// PostData Object for the request.
|
|
/// Can be <see cref="UploadRawData"/>, <see cref="UploadFile"/> or <see cref="Blob"/>
|
|
/// </summary>
|
|
public IPostData[] PostData { get; set; }
|
|
}
|
|
} |