File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
src/ElectronNET.API/API/Entities Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public class Cookie
2424 /// <summary>
2525 /// Gets or sets a value indicating whether the cookie is a host-only cookie; this will only be true if no domain was passed.
2626 /// </summary>
27- public bool HostOnly { get ; set ; }
27+ public bool ? HostOnly { get ; set ; }
2828
2929 /// <summary>
3030 /// Gets or sets the path of the cookie.
@@ -34,22 +34,22 @@ public class Cookie
3434 /// <summary>
3535 /// Gets or sets a value indicating whether the cookie is marked as secure.
3636 /// </summary>
37- public bool Secure { get ; set ; }
37+ public bool ? Secure { get ; set ; }
3838
3939 /// <summary>
4040 /// Gets or sets a value indicating whether the cookie is marked as HTTP only.
4141 /// </summary>
42- public bool HttpOnly { get ; set ; }
42+ public bool ? HttpOnly { get ; set ; }
4343
4444 /// <summary>
4545 /// Gets or sets a value indicating whether the cookie is a session cookie or a persistent cookie with an expiration date.
4646 /// </summary>
47- public bool Session { get ; set ; }
47+ public bool ? Session { get ; set ; }
4848
4949 /// <summary>
5050 /// Gets or sets the expiration date of the cookie as the number of seconds since the UNIX epoch. Not provided for session cookies.
5151 /// </summary>
52- public double ExpirationDate { get ; set ; }
52+ public double ? ExpirationDate { get ; set ; }
5353
5454 /// <summary>
5555 /// Gets or sets the SameSite policy applied to this cookie. Can be "unspecified", "no_restriction", "lax" or "strict".
Original file line number Diff line number Diff line change @@ -29,16 +29,16 @@ public class CookieFilter
2929 /// <summary>
3030 /// (optional) - Filters cookies by their Secure property.
3131 /// </summary>
32- public bool Secure { get ; set ; }
32+ public bool ? Secure { get ; set ; }
3333
3434 /// <summary>
3535 /// (optional) - Filters out session or persistent cookies.
3636 /// </summary>
37- public bool Session { get ; set ; }
37+ public bool ? Session { get ; set ; }
3838
3939 /// <summary>
4040 /// (optional) - Filters cookies by httpOnly.
4141 /// </summary>
42- public bool HttpOnly { get ; set ; }
42+ public bool ? HttpOnly { get ; set ; }
4343 }
4444}
You can’t perform that action at this time.
0 commit comments