This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Http.
Summary
Appends the cookie to the settings cookie collection
- Assembly
- Cake
.Http .dll - Namespace
- Cake
.Http - Containing Type
- Http
Settings Extensions
Syntax
public static HttpSettings AppendCookie(this HttpSettings settings, string name, string value)
Parameters
Name | Type | Description |
---|---|---|
settings | HttpSettings | The settings. |
name | string | name of the cookie |
value | string | value to cookie |
Return Value
Type | Description |
---|---|
HttpSettings | The same HttpSettings instance so that multiple calls can be chained. |