Skip to content

Commit c767bb3

Browse files
docs(compat): add closeStandaloneSSE migration target to RequestHandlerExtra JSDoc
1 parent beef5dc commit c767bb3

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
@@ -322,7 +322,7 @@ export type ClientContext = BaseContext & LegacyContextFields;
322322
* `ctx.mcpReq` / `ctx.http`; the flat fields remain available so existing
323323
* handlers using them compile and run unchanged. HTTP-transport-specific fields
324324
* (`requestInfo`, `closeSSEStream`, `closeStandaloneSSEStream`) are not shimmed
325-
* and require migration to `ctx.http?.req` / `ctx.http?.closeSSE`. See {@linkcode BaseContext}.
325+
* and require migration to `ctx.http?.req` / `ctx.http?.closeSSE` / `ctx.http?.closeStandaloneSSE`. See {@linkcode BaseContext}.
326326
*/
327327
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- phantom params kept for v1 source compatibility
328328
export type RequestHandlerExtra<_Req = unknown, _Notif = unknown> = ServerContext;

0 commit comments

Comments
 (0)