pub fn set_cookie(resp: &mut Response, value: &str)Expand description
Append a Set-Cookie header to a response.
The caller is responsible for formatting value as a valid
Set-Cookie string (e.g. "name=val; Path=/; HttpOnly; SameSite=Lax").
Returns silently if value contains characters that aren’t valid in
an HTTP header.