aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Services/IHttpResponse.cs
blob: cd9c07d46a7e24b55b0710381eaec84fab8f3ddb (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
using System;
using System.Collections.Generic;
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();
    }
}