SetCookie adds a `Set-Cookie` header in HTTP response.
(cookie *http.Cookie)
| 445 | |
| 446 | // SetCookie adds a `Set-Cookie` header in HTTP response. |
| 447 | func (c *Context) SetCookie(cookie *http.Cookie) { |
| 448 | http.SetCookie(c.Response(), cookie) |
| 449 | } |
| 450 | |
| 451 | // Cookies returns the HTTP cookies sent with the request. |
| 452 | func (c *Context) Cookies() []*http.Cookie { |