aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Services/IHttpResponse.cs
blob: 377f303a762e6a94de4eb5237954b924c1049c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

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();
    }
}