/// <summary> /// Sets the content of the request to the specified values with boundary. /// </summary> /// <param name="boundary">The boundary string for the multipart form data 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 MultipartFormData(this IWith @this, string boundary, params HttpContent[] values) => @this.MultipartFormData(new MultipartFormDataContent(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 MultipartFormData(this IWith @this, params HttpContent[] values) => @this.MultipartFormData(new MultipartFormDataContent(), values);