namespace ElectronNET.API.Entities { /// /// Options for BrowserWindow.loadURL(url, options) / webContents.loadURL(url, options). /// Matches Electron's loadURL options. /// /// Up-to-date with Electron API 39.2 public class LoadURLOptions { /// /// An HTTP Referrer URL. In Electron this may be a string or a Referrer object. /// public string HttpReferrer { get; set; } /// /// A user agent originating the request. /// public string UserAgent { get; set; } /// /// Base URL (with trailing path separator) for files to be loaded by the data URL. /// Needed only if the specified URL is a data URL and needs to load other files. /// public string BaseURLForDataURL { get; set; } /// /// Extra headers separated by "\n". /// public string ExtraHeaders { get; set; } /// /// Post data for the request. Matches Electron's postData: (UploadRawData | UploadFile)[] /// public IPostData[] PostData { get; set; } } }