mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00

Really hope I don't break anything with this Went to have a go at .NET core and it just became too confusing for me with 'Jackett' namespace referring to both Jackett.Common and Jackett
46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
namespace CurlSharp.Enums
|
|
{
|
|
/// <summary>
|
|
/// Contains values used to specify the HTTP version level when using
|
|
/// the <see cref="CurlOption.HttpVersion" /> option in a call
|
|
/// to <see cref="CurlEasy.SetOpt" />
|
|
/// </summary>
|
|
public enum CurlHttpVersion
|
|
{
|
|
/// <summary>
|
|
/// We don't care about what version the library uses. libcurl will
|
|
/// use whatever it thinks fit.
|
|
/// </summary>
|
|
None = 0,
|
|
|
|
/// <summary>
|
|
/// Enforce HTTP 1.0 requests.
|
|
/// </summary>
|
|
Http1_0 = 1,
|
|
|
|
/// <summary>
|
|
/// Enforce HTTP 1.1 requests.
|
|
/// </summary>
|
|
Http1_1 = 2,
|
|
|
|
/// <summary>
|
|
/// Enforce HTTP 2 requests.
|
|
/// </summary>
|
|
Http2_0 = 3,
|
|
|
|
/// <summary>
|
|
/// Enforce version 2 for HTTPS, version 1.1 for HTTP.
|
|
/// </summary>
|
|
Http2_Tls = 4,
|
|
|
|
/// <summary>
|
|
/// Enforce HTTP 2 without HTTP/1.1 upgrade.
|
|
/// </summary>
|
|
Http2_PriorKnowledge = 5,
|
|
|
|
/// <summary>
|
|
/// Last entry in enumeration; do not use in application code.
|
|
/// </summary>
|
|
Last = 6
|
|
}
|
|
} |