/// <summary> /// Sets the Upgrade header of the request to the specified name and version. /// </summary> /// <param name="name">The Upgrade header name.</param> /// <param name="version">The Upgrade header version.</param> /// <returns>An <see cref="IRequest"/> object that represents the request.</returns> public static IRequest Upgrade(this IWith @this, string name, string version) => @this.Upgrade(new ProductHeaderValue(name, version));