davenverse / snickerdoodle   0.0.4

MIT License GitHub

Advanced Cookie Management

Scala versions: 3.x 2.13
Scala.js versions: 1.x

snickerdoodle - Advanced Cookie Management Maven Central Code of Conduct

Snickerdoodle handles cookie persistence between application runs, it has a fully in memory implementation, and will follow RFC 6265 correctly. Meaning it works very similarly to how your browser manages its cookies. Snickerdoodle is a bit more opinionated than the http4s implementation.

Cookies are a persistent stateful resource between a client and server. However, maybe you run into an unexpected error, or someone sets a remember me token for a super long time, or maybe you would just prefer to avoid work if you can because you have the information already available.

Snickerdoodle is the cookie for you.

Quick Start

To use snickerdoodle in an existing SBT project with Scala 2.13 or a later version, add the following dependencies to your build.sbt depending on your needs:

libraryDependencies ++= Seq(
  "io.chrisdavenport" %% "snickerdoodle" % "<version>"