ktor-server-core / io.ktor.sessions / SessionTrackerByValue / <init>

<init>

SessionTrackerByValue(type: KClass<S>, serializer: SessionSerializer<S>)

SessionTracker that stores the contents of the session as part of HTTP Cookies/Headers. It uses a specific serializer to serialize and deserialize objects of type type.