mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-31 16:01:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			37 lines
		
	
	
		
			944 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			944 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Esiur.Core;
 | |
| using Esiur.Data;
 | |
| using Esiur.Net.Packets;
 | |
| using Esiur.Security.Membership;
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Text;
 | |
| 
 | |
| namespace Esiur.Net.IIP
 | |
| {
 | |
|     public class DistributedConnectionConfig
 | |
|     {
 | |
|         public ExceptionLevel ExceptionLevel { get; set; }
 | |
|         = ExceptionLevel.Code | ExceptionLevel.Message | ExceptionLevel.Source | ExceptionLevel.Trace;
 | |
| 
 | |
|         public Func<AuthorizationRequest, AsyncReply<object>> Authenticator { get; set; }
 | |
| 
 | |
|         public bool AutoReconnect { get; set; } = false;
 | |
| 
 | |
|         public uint ReconnectInterval { get; set; } = 5;
 | |
| 
 | |
|         public string Username { get; set; }
 | |
| 
 | |
|         public bool UseWebSocket { get; set; }
 | |
| 
 | |
|         public bool SecureWebSocket { get; set; }
 | |
| 
 | |
|         public string Password { get; set; }
 | |
| 
 | |
|         public string Token { get; set; }
 | |
| 
 | |
|         public ulong TokenIndex { get; set; }
 | |
| 
 | |
|         public string Domain { get; set; }
 | |
|     }
 | |
| }
 |