CompressionMethod.cs 589 B

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