using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace FCS.Models.DTO
{
public class HtmlParameterDTO
{
///
/// Url
///
public string Url { get; set; }
///
/// 请求方式
///
public string Method { get; set; } = "get";
///
/// 设置默认IP地址
///
public string IP { get; set; }
///
/// 超时时间
///
public int? Timeout { get; set; } = 90 * 1000;
///
/// 默认连接
///
public string ContentType { get; set; } = "text/html";
///
/// 标题
///
public string Title { get; set; } = string.Empty;
///
/// 表单提交数据
///
public Dictionary FormData { get; set; }
///
/// 是否检查空
///
public bool IsCheckEmpty { get; set; } = true;
///
/// 最多异常多少IP,就会进入获取在线IP得到html
///
public int NotIpNumber { get; set; } = 500;
}
}