예제 #1
0
 /// <summary>
 /// Sets the If-Match header of the request to the specified tag and is weak.
 /// </summary>
 /// <param name="tag">The If-Match header tag.</param>
 /// <param name="isWeak">The If-Match header is weak.</param>
 /// <returns>An <see cref="IRequest"/> object that represents the request.</returns>
 public static IRequest IfMatch(this IWith @this, string tag, bool isWeak)
 => @this.IfMatch(new EntityTagHeaderValue(tag, isWeak));