CompressionMethod.cs 566 B

123456789101112131415161718192021222324
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls
  5. {
  6. /// <summary>RFC 2246 6.1</summary>
  7. public abstract class CompressionMethod
  8. {
  9. public const short cls_null = 0;
  10. /*
  11. * RFC 3749 2
  12. */
  13. public const short DEFLATE = 1;
  14. /*
  15. * Values from 224 decimal (0xE0) through 255 decimal (0xFF)
  16. * inclusive are reserved for private use.
  17. */
  18. }
  19. }
  20. #pragma warning restore
  21. #endif