MCPcopy Create free account
hub / github.com/tinyhttp/tinyhttp / serialize

Method serialize

packages/session/src/index.ts:83–85  ·  view source on GitHub ↗
(name: string, val: string)

Source from the content-addressed store, hash-verified

81 }
82
83 serialize(name: string, val: string) {
84 return cookie.serialize(name, val, this.data)
85 }
86}
87
88export class Session implements Express.Session {

Callers 4

setCookieFunction · 0.80
setCookieFunction · 0.80
cookie.test.tsFile · 0.80
getSession.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected