IHttpResponse
A thin wrapper around ASP.NET or HttpListener's HttpResponse
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IHttpResponse : IResponse
Properties
Cookies
View Source
Declaration
ICookies Cookies { get; }
Methods
SetCookie(Cookie)
Adds a new Set-Cookie instruction to Response
View Source
Declaration
void SetCookie(Cookie cookie)
Parameters
Type | Name |
---|---|
System.Net.Cookie | cookie |
ClearCookies()
Removes all pending Set-Cookie instructions
View Source
Declaration
void ClearCookies()