TlsHeartbeat.cs 348 B

1234567891011121314151617
  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. public interface TlsHeartbeat
  7. {
  8. byte[] GeneratePayload();
  9. int IdleMillis { get; }
  10. int TimeoutMillis { get; }
  11. }
  12. }
  13. #pragma warning restore
  14. #endif