Framework-agnostic HTTP handler for session lifecycle operations.
const api = createSessionApi({ client, sessionStore: PostgresSessionStore.fromEnv(),});const response = await api.handle(new Request('https://example.test/sessions')); Copy
const api = createSessionApi({ client, sessionStore: PostgresSessionStore.fromEnv(),});const response = await api.handle(new Request('https://example.test/sessions'));
Framework-agnostic HTTP handler for session lifecycle operations.
Example