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: CefSharp/IResponse.cs
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -47,5 +47,22 @@ public interface IResponse : IDisposable
47
47
/// Status Text
48
48
/// </summary>
49
49
stringStatusText{get;set;}
50
+
51
+
/// <summary>
52
+
/// Returns the first header value for name or an empty string if not found.
53
+
/// Will not return the Referer value if any. Use <see cref="Headers"/> instead if name might have multiple values.
54
+
/// </summary>
55
+
/// <param name="name">header name</param>
56
+
/// <returns>Returns the first header value for name or an empty string if not found.</returns>
57
+
stringGetHeaderByName(stringname);
58
+
59
+
/// <summary>
60
+
/// Set the header name to value. The Referer value cannot be set using this method.
61
+
/// Use <see cref="SetReferrer(string, ReferrerPolicy)"/> instead.
62
+
/// </summary>
63
+
/// <param name="name">header name</param>
64
+
/// <param name="value">new header value</param>
65
+
/// <param name="overwrite">If overwrite is true any existing values will be replaced with the new value. If overwrite is false any existing values will not be overwritten</param>
0 commit comments