Skip to content

Commit e4446c9

Browse files
committed
add comment
1 parent b48b63e commit e4446c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mcp/src/main/java/io/modelcontextprotocol/client/McpAsyncClient.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,10 @@ private RequestHandler<McpSchema.ListRootsResult> rootsListRequestHandler() {
490490
};
491491
}
492492

493+
494+
// --------------------------
495+
// Ping - The receiver MUST respond promptly with an empty response
496+
// --------------------------
493497
private RequestHandler<Object> pingRequestHandler() {
494498
return params -> Mono.just(Map.of());
495499
}

0 commit comments

Comments
 (0)