The CookieAdapter gives generalized access to cookies on the client and server side. You’ll never have to create it by yourself. Barefoot makes it available with the Barefoot.Router.