コード例 #1
0
 /// <summary>
 /// Sets the Proxy-Authorization header of the request to the specified scheme and parameter.
 /// </summary>
 /// <param name="scheme">The Proxy-Authorization header scheme.</param>
 /// <param name="parameter">The Proxy-Authorization header parameter.</param>
 /// <returns>An <see cref="IRequest"/> object that represents the request.</returns>
 public static IRequest ProxyAuthorization(this IWith @this, string scheme, string parameter)
 => @this.ProxyAuthorization(new AuthenticationHeaderValue(scheme, parameter));