21 lines
472 B
C#
21 lines
472 B
C#
using System.Net;
|
|
|
|
namespace MediaBrowser.Model.Services
|
|
{
|
|
public interface IHttpResponse : IResponse
|
|
{
|
|
//ICookies Cookies { get; }
|
|
|
|
/// <summary>
|
|
/// Adds a new Set-Cookie instruction to Response
|
|
/// </summary>
|
|
/// <param name="cookie"></param>
|
|
void SetCookie(Cookie cookie);
|
|
|
|
/// <summary>
|
|
/// Removes all pending Set-Cookie instructions
|
|
/// </summary>
|
|
void ClearCookies();
|
|
}
|
|
}
|