File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -320,7 +320,9 @@ export type ClientContext = BaseContext & LegacyContextFields;
320320 *
321321 * v1 name for the handler context. v2 also exposes the same data under
322322 * `ctx.mcpReq` / `ctx.http`; the flat fields remain available so existing
323- * handlers compile and run unchanged. See {@linkcode BaseContext}.
323+ * handlers using them compile and run unchanged. HTTP-transport-specific fields
324+ * (`requestInfo`, `closeSSEStream`, `closeStandaloneSSEStream`) are not shimmed
325+ * and require migration to `ctx.http?.req` / `ctx.http?.closeSSE`. See {@linkcode BaseContext}.
324326 */
325327// eslint-disable-next-line @typescript-eslint/no-unused-vars -- phantom params kept for v1 source compatibility
326328export type RequestHandlerExtra < _Req = unknown , _Notif = unknown > = ServerContext ;
You can’t perform that action at this time.
0 commit comments