21 lines
475 B
C#
21 lines
475 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();
|
|
}
|
|
}
|