Table of Contents

Class PingResult

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Represents the result of a Ping request in the Model Context Protocol.

public sealed class PingResult : Result
Inheritance
PingResult
Inherited Members

Remarks

The PingResult is returned in response to a Ping request, which is used to verify that the connection between client and server is still alive and responsive. Since this is a simple connectivity check, the result is an empty object containing no data.

Ping requests can be initiated by either the client or the server to check if the other party is still responsive.