A client consuming sessions
const { SessionClient } = require('tog-node') const tog = new SessionClient('redis://127.0.0.1:6379')
The Redis connection string
Resolves a session, either by retrieving it or by computing a new one
Flags namespace
Unique session ID
Options used when creating the flag, which are ignored if it already exists
Generated using TypeDoc
A client consuming sessions
const { SessionClient } = require('tog-node') const tog = new SessionClient('redis://127.0.0.1:6379')