SetSameSite with cookie
(samesite http.SameSite)
| 1100 | |
| 1101 | // SetSameSite with cookie |
| 1102 | func (c *Context) SetSameSite(samesite http.SameSite) { |
| 1103 | c.sameSite = samesite |
| 1104 | } |
| 1105 | |
| 1106 | // SetCookie adds a Set-Cookie header to the ResponseWriter's headers. |
| 1107 | // The provided cookie must have a valid Name. Invalid cookies may be |
no outgoing calls