mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
feat(Transport): IsEncrypted, EncryptionCipher virtuals
This commit is contained in:
parent
42c9e6fc62
commit
35a3d86e87
@ -36,6 +36,12 @@ public abstract class Transport : MonoBehaviour
|
||||
/// <summary>Is this transport available in the current platform?</summary>
|
||||
public abstract bool Available();
|
||||
|
||||
/// <summary>Is this transported encrypted for secure communication?</summary>
|
||||
public virtual bool IsEncrypted => false;
|
||||
|
||||
/// <summary>If encrypted, which cipher is used?</summary>
|
||||
public virtual string EncryptionCipher => "";
|
||||
|
||||
// client //////////////////////////////////////////////////////////////
|
||||
/// <summary>Called by Transport when the client connected to the server.</summary>
|
||||
public Action OnClientConnected;
|
||||
|
Loading…
Reference in New Issue
Block a user