websitepanel/WebsitePanel/Sources/WebsitePanel.WebDav.Core/IConnectionSettings.cs
2014-12-03 11:43:26 +03:00

32 lines
No EOL
835 B
C#

namespace WebsitePanel.WebDav.Core
{
namespace Client
{
public interface IConnectionSettings
{
bool AllowWriteStreamBuffering { get; set; }
bool SendChunked { get; set; }
int TimeOut { get; set; }
}
public class WebDavConnectionSettings
{
private int _timeOut = 30000;
public WebDavConnectionSettings()
{
SendChunked = false;
AllowWriteStreamBuffering = false;
}
public bool AllowWriteStreamBuffering { get; set; }
public bool SendChunked { get; set; }
public int TimeOut
{
get { return _timeOut; }
set { _timeOut = value; }
}
}
}
}