ConnectionEnd.cs 560 B

12345678910111213141516171819
  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</summary>
  7. /// <remarks>
  8. /// Note that the values here are implementation-specific and arbitrary. It is recommended not to depend on the
  9. /// particular values(e.g.serialization).
  10. /// </remarks>
  11. public abstract class ConnectionEnd
  12. {
  13. public const int server = 0;
  14. public const int client = 1;
  15. }
  16. }
  17. #pragma warning restore
  18. #endif