MCPcopy
hub / github.com/tinyhttp/tinyhttp / ReqAndSessionInfo

Interface ReqAndSessionInfo

packages/session/src/index.ts:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12const generateSessionId = () => nanoid(24)
13
14interface ReqAndSessionInfo extends IncomingMessage {
15 sessionID: string
16 session: Session
17 sessionStore: Store
18}
19
20function hash(sess: any): string {
21 // serialize

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected