Skip to content

Commit 79916bc

Browse files
committed
Simplify
1 parent c7143e3 commit 79916bc

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

dotnet/src/webdriver/BiDi/Network/Cookie.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,10 @@
1818
// </copyright>
1919

2020
using System;
21-
using System.Text.Json.Serialization;
2221

2322
namespace OpenQA.Selenium.BiDi.Network;
2423

25-
public sealed record Cookie(string Name, BytesValue Value, string Domain, string Path, long Size, bool HttpOnly, bool Secure, SameSite SameSite)
26-
{
27-
[JsonInclude]
28-
public TimeSpan? Expiry { get; internal set; }
29-
}
24+
public sealed record Cookie(string Name, BytesValue Value, string Domain, string Path, long Size, bool HttpOnly, bool Secure, SameSite SameSite, TimeSpan? Expiry);
3025

3126
public enum SameSite
3227
{

0 commit comments

Comments
 (0)