HTTPFormUsage.cs 857 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace BestHTTP.Forms
  6. {
  7. public enum HTTPFormUsage
  8. {
  9. /// <summary>
  10. /// The plugin will try to choose the best form sending method.
  11. /// </summary>
  12. Automatic,
  13. /// <summary>
  14. /// The plugin will use the Url-Encoded form sending.
  15. /// </summary>
  16. UrlEncoded,
  17. /// <summary>
  18. /// The plugin will use the Multipart form sending.
  19. /// </summary>
  20. Multipart,
  21. /// <summary>
  22. /// Using this type of form, the plugin will send the data converted to a JSon string.
  23. /// </summary>
  24. RawJSon,
  25. #if !BESTHTTP_DISABLE_UNITY_FORM
  26. /// <summary>
  27. /// The legacy, Unity-based form sending.
  28. /// </summary>
  29. Unity
  30. #endif
  31. }
  32. }