예제 #1
0
 /// <summary>
 /// Sets the Accept-Language header of the request to the specified value and quality.
 /// </summary>
 /// <param name="value">The Accept-Language header value.</param>
 /// <param name="quality">The Accept-Language header quality.</param>
 /// <returns>An <see cref="IRequest"/> object that represents the request.</returns>
 public static IRequest AcceptLanguage(this IWith @this, string value, double quality)
 => @this.AcceptLanguage(new StringWithQualityHeaderValue(value, quality));