(body: SessionCreate)
| 195 | |
| 196 | // ── Sessions ──────────────────────────────────────────────────────────── |
| 197 | createSession(body: SessionCreate): Promise<Session> { |
| 198 | return this.request<Session>('POST', '/sessions', body); |
| 199 | } |
| 200 | getSession(sid: string): Promise<Session> { |
| 201 | return this.request<Session>('GET', `/sessions/${encodeURIComponent(sid)}`, undefined); |
| 202 | } |