using System;
using System.Collections.Generic;
using System.Text;
namespace Apewer.Web
{
///
[Serializable]
public sealed class ApiMime
{
///
public string Extension { get; set; }
///
public string ContentType { get; set; }
/// 缓存过期时间,单位为秒,默认值 0 为不缓存(立即过期)。
public int Expires { get; set; }
///
public ApiMime() { }
internal ApiMime(string ext, string type, int expires)
{
Extension = ext;
ContentType = type;
Expires = expires;
}
}
}