using System.Collections.Generic; using UnityEngine.Networking; namespace Dan { internal static partial class Requests { /// /// Creates a form section and adds the parameters to it. /// /// IMultipartFormSection object public static IMultipartFormSection Field(string fieldName, string data) => new MultipartFormDataSection(fieldName, data); /// /// Creates a form out of the given parameters. /// /// /// A list of IMultipartFormSection objects public static List Form(params IMultipartFormSection[] formDataSections) => new List(formDataSections); } }