Skip to content

Commit 5b74969

Browse files
docs(compat): add closeStandaloneSSE migration target to RequestHandlerExtra JSDoc
1 parent 249b6fa commit 5b74969

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/shared/protocol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export type ClientContext = BaseContext & LegacyContextFields;
312312
* `ctx.mcpReq` / `ctx.http`; the flat fields remain available so existing
313313
* handlers using them compile and run unchanged. HTTP-transport-specific fields
314314
* (`requestInfo`, `closeSSEStream`, `closeStandaloneSSEStream`) are not shimmed
315-
* and require migration to `ctx.http?.req` / `ctx.http?.closeSSE`. See {@linkcode BaseContext}.
315+
* and require migration to `ctx.http?.req` / `ctx.http?.closeSSE` / `ctx.http?.closeStandaloneSSE`. See {@linkcode BaseContext}.
316316
*/
317317
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- phantom params kept for v1 source compatibility
318318
export type RequestHandlerExtra<_Req = unknown, _Notif = unknown> = ServerContext;

0 commit comments

Comments
 (0)