McpClient.sendNotification

Send an arbitrary client-originated JSON-RPC notification to the server (no reply expected). This is the public entry point for client→server notifications such as notifications/roots/list_changed; the lifecycle's notifications/initialized is sent automatically by initialize.

class McpClient
@safe
void
sendNotification
(
string method
,
Json params = Json.emptyObject
)