MCPcopy Create free account
hub / github.com/tiann/hapi / abortSession

Method abortSession

web/src/api/client.ts:410–415  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

408 }
409
410 async abortSession(sessionId: string): Promise<void> {
411 await this.request(`/api/sessions/${encodeURIComponent(sessionId)}/abort`, {
412 method: 'POST',
413 body: JSON.stringify({})
414 })
415 }
416
417 async archiveSession(sessionId: string): Promise<void> {
418 await this.request(`/api/sessions/${encodeURIComponent(sessionId)}/archive`, {

Callers 1

useSessionActionsFunction · 0.45

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected