testing/cross_backend/session_cookie_effect.ts view source
(set_cookies: readonly string[], cookie_name: string): SessionCookieEffect | null import {classify_session_cookie_effect} from '@fuzdev/fuz_app/testing/cross_backend/session_cookie_effect.js'; Classify what a response does to the session cookie.
set_cookies
every Set-Cookie line of the response, in order
readonly string[]cookie_name
the session cookie's name
stringreturns
SessionCookieEffect | null
the effect, or null when the session cookie's lines are none of
the shapes SessionCookieEffect names — two mints, a clear after a mint, a
clear or mint whose bytes differ from the formatters'