MCPcopy Create free account
hub / github.com/adonisjs/session / write

Method write

src/types.ts:86–86  ·  view source on GitHub ↗

* Writes session data for a given session ID to the persistence store * * @param sessionId - Unique identifier for the session * @param data - Session data to store

(sessionId: string, data: SessionData)

Source from the content-addressed store, hash-verified

84 * @param data - Session data to store
85 */
86 write(sessionId: string, data: SessionData): Promise<void> | void
87
88 /**
89 * Removes session data for a given session ID from the persistence store

Callers 11

commitMethod · 0.65
commitMethod · 0.65
requestHandlerFunction · 0.65
file_store.spec.tsFile · 0.65

Implementers 6

FileStoresrc/stores/file.ts
DynamoDBStoresrc/stores/dynamodb.ts
CookieStoresrc/stores/cookie.ts
RedisStoresrc/stores/redis.ts
MemoryStoresrc/stores/memory.ts
DatabaseStoresrc/stores/database.ts

Calls

no outgoing calls

Tested by 1

requestHandlerFunction · 0.52