using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WIDESEA_Core
{
///
/// HTTP请求配置
///
public class HttpRequestConfig
{
///
/// 超时时间(毫秒)
///
public int TimeoutMs { get; set; } = 300000;
///
/// 最大重试次数
///
public int MaxRetryCount { get; set; } = 3;
///
/// 重试间隔(毫秒)
///
public int RetryIntervalMs { get; set; } = 1000;
///
/// 请求头
///
public Dictionary Headers { get; set; } = new Dictionary();
///
/// 是否启用日志
///
public bool EnableLogging { get; set; } = true;
}
}