/// <summary> /// Sets the content of the request to the specified values with subtype and boundary. /// </summary> /// <param name="subtype">The subtype of the multipart content.</param> /// <param name="boundary">The boundary string for the multipart content.</param> /// <param name="values">The HTTP content to add to the collection.</param> /// <returns>An <see cref="IRequest"/> object that represents the request.</returns> public static IRequest Multipart(this IWith @this, string subtype, string boundary, params HttpContent[] values) => @this.Multipart(new MultipartContent(subtype, boundary), values);
/// <summary> /// Sets the content of the request to the specified values. /// </summary> /// <param name="values">The HTTP content to add to the collection.</param> /// <returns>An <see cref="IRequest"/> object that represents the request.</returns> public static IRequest Multipart(this IWith @this, params HttpContent[] values) => @this.Multipart(new MultipartContent(), values);