2023-11-03 00:23:37 +01:00
|
|
|
|
namespace ElectronNET.API.Entities;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// 'did-navigate' event details for main frame navigation.
|
2023-11-03 00:23:37 +01:00
|
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
2023-11-03 00:23:37 +01:00
|
|
|
|
public class OnDidNavigateInfo
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// The URL navigated to.
|
2023-11-03 00:23:37 +01:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Url { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// HTTP response code (-1 for non-HTTP navigations).
|
2023-11-03 00:23:37 +01:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int HttpResponseCode { get; set; }
|
2025-11-22 02:16:10 +01:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// HTTP status text (empty for non-HTTP navigations).
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string HttpStatusText { get; set; }
|
2025-11-15 08:05:31 +01:00
|
|
|
|
}
|