namespace ElectronNET.API.Entities {
///
///
///
public class Cookie {
///
/// The name of the cookie.
///
public string Name { get; set;}
///
/// The value of the cookie.
///
public string Value { get; set; }
///
/// (optional) - The domain of the cookie; this will be normalized with a preceding dot so that it's also valid for subdomains.
///
public string Domain { get; set; }
///
/// (optional) - Whether the cookie is a host-only cookie; this will only be true if no domain was passed.
///
public bool HostOnly { get; set; }
///
/// (optional) - The path of the cookie.
///
public string Path { get; set; }
///
/// (optional) - Whether the cookie is marked as secure.
///
public bool Secure { get; set; }
///
/// (optional) - Whether the cookie is marked as HTTP only.
///
public bool HttpOnly { get; set; }
///
/// (optional) - Whether the cookie is a session cookie or a persistent cookie with an expiration date.
///
public bool Session { get; set; }
///
/// (optional) - The expiration date of the cookie as the number of seconds since the UNIX epoch. Not provided for session cookies.
///
public long ExpirationDate { get; set; }
}
}