ConnectionEnd.cs 499 B

12345678910111213141516171819
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. using System;
  3. namespace Org.BouncyCastle.Crypto.Tls
  4. {
  5. /// <summary>RFC 2246</summary>
  6. /// <remarks>
  7. /// Note that the values here are implementation-specific and arbitrary. It is recommended not to
  8. /// depend on the particular values (e.g. serialization).
  9. /// </remarks>
  10. public abstract class ConnectionEnd
  11. {
  12. public const int server = 0;
  13. public const int client = 1;
  14. }
  15. }
  16. #endif