HttpResultExtensions
Assembly: ServiceStack.dll
View Source
Declaration
public static class HttpResultExtensions
Methods
ToCookie(HttpCookie)
View Source
Declaration
public static Cookie ToCookie(this HttpCookie httpCookie)
Returns
System.Net.Cookie
Parameters
Type | Name |
---|---|
System.Web.HttpCookie | httpCookie |
AddCookie(IHttpResult, IRequest, Cookie)
View Source
Declaration
public static IHttpResult AddCookie(this IHttpResult httpResult, IRequest req, Cookie cookie)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Web.IHttpResult | httpResult |
ServiceStack.Web.IRequest | req |
System.Net.Cookie | cookie |