You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
743 B

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