notifyConnectanumMethod method
Sends a Connectanum JSON method notification through the MCP session.
Implementation
Future<void> notifyConnectanumMethod(
String method, {
McpJsonMap params = const <String, Object?>{},
bool streamable = true,
String? protocolVersion,
Map<String, String> headers = const <String, String>{},
}) {
return notification(
method,
params: params,
streamable: streamable,
protocolVersion: protocolVersion,
headers: _headersWithConnectanumMethodParameterHeaders(
method,
params,
headers,
),
);
}