refactor: make McpSyncServerExchange.ping() return response value
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
This commit is contained in:
parent
c0b398c650
commit
b328051685
1 changed files with 4 additions and 4 deletions
|
|
@ -108,11 +108,11 @@ public class McpSyncServerExchange {
|
|||
}
|
||||
|
||||
/**
|
||||
* Sends a ping request to the client.
|
||||
* @return A Mono that completes with clients's ping response
|
||||
* Sends a synchronous ping request to the client.
|
||||
* @return
|
||||
*/
|
||||
public void ping() {
|
||||
this.exchange.ping().block();
|
||||
public Object ping() {
|
||||
return this.exchange.ping().block();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue