Example #1
0
        public ServerCommandProtocol(FollowerV2Settings followerSettings)
        {
            _followerSettings = followerSettings;

            _httpListener.TimeoutManager.IdleConnection = TimeSpan.FromSeconds(5);
            _httpListener.TimeoutManager.EntityBody     = TimeSpan.FromSeconds(5);

            AddCurrentPrefix();
        }
Example #2
0
 public FileCommandProtocol(FollowerV2Settings followerSettings)
 {
     _followerSettings = followerSettings;
 }