You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/PuppeteerSharp/IRequest.cs
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ namespace PuppeteerSharp
17
17
publicinterfaceIRequest
18
18
{
19
19
/// <summary>
20
-
/// Responsed attached to the request.
20
+
/// Response attached to the request.
21
21
/// </summary>
22
22
/// <value>The response.</value>
23
23
publicIResponseResponse{get;}
@@ -105,6 +105,13 @@ public interface IRequest
105
105
/// <value>The redirect chain.</value>
106
106
IRequest[]RedirectChain{get;}
107
107
108
+
/// <summary>
109
+
/// True when the request has POST data. Note that <see cref="PostData"/> might still be null when this flag is true
110
+
/// when the data is too long or not readily available in the decoded form.
111
+
/// In that case, use <see cref="FetchPostDataAsync"/>.
112
+
/// </summary>
113
+
boolHasPostData{get;}
114
+
108
115
/// <summary>
109
116
/// Continues request with optional request overrides. To use this, request interception should be enabled with <see cref="IPage.SetRequestInterceptionAsync(bool)"/>. Exception is immediately thrown if the request interception is not enabled.
110
117
/// If the URL is set it won't perform a redirect. The request will be silently forwarded to the new url. For example, the address bar will show the original url.
@@ -127,5 +134,11 @@ public interface IRequest
127
134
/// <param name="errorCode">Optional error code. Defaults to <see cref="RequestAbortErrorCode.Failed"/>.</param>
0 commit comments