Skip to content

Commit 3856a05

Browse files
committed
[dotnet] Add back in a public parameterless constructor to HttpRequestData
1 parent e639050 commit 3856a05

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

dotnet/src/webdriver/HttpRequestData.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ namespace OpenQA.Selenium
2828
/// </summary>
2929
public class HttpRequestData
3030
{
31+
/// <summary>
32+
/// Initializes a new instance of the <see cref="HttpRequestData"/> type.
33+
/// </summary>
34+
public HttpRequestData()
35+
{
36+
this.Method = null!;
37+
this.Url = null!;
38+
this.Headers = null!;
39+
}
40+
3141
/// <summary>
3242
/// Initializes a new instance of the <see cref="HttpRequestData"/> type.
3343
/// </summary>
@@ -68,6 +78,6 @@ public HttpRequestData(string method, string url, string? postData, Dictionary<s
6878
/// <summary>
6979
/// Gets the ID of the HTTP request.
7080
/// </summary>
71-
public string RequestId { get; }
81+
public string? RequestId { get; }
7282
}
7383
}

0 commit comments

Comments
 (0)