<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.0.0-beta2" />

FormDataCollection

public class FormDataCollection : IEnumerable<KeyValuePair<string, string>>, IEnumerable
Represent the collection of form data.
public FormDataCollection(IEnumerable<KeyValuePair<string, string>> pairs)

Initializes a new instance of FormDataCollection class.

public FormDataCollection(Uri uri)

Initializes a new instance of FormDataCollection class.

public FormDataCollection(string query)

Initializes a new instance of FormDataCollection class.

public string Get(string key)

Gets the collection of form data.

public IEnumerator<KeyValuePair<string, string>> GetEnumerator()

Gets an enumerable that iterates through the collection.

public string[] GetValues(string key)

Gets the values of the collection of form data.

Reads the collection of form data as a collection of name value.