public static interface McpServerSession.NotificationHandler
限定符和类型 | 方法和说明 |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
handle(McpAsyncServerExchange exchange,
java.lang.Object params)
Handles a notification from the client.
|
reactor.core.publisher.Mono<java.lang.Void> handle(McpAsyncServerExchange exchange, java.lang.Object params)
exchange
- the exchange associated with the client that allows calling
back to the connected client or inspecting its capabilities.params
- the parameters of the notification.