lastLegacyVersion constant

ProtocolVersion const lastLegacyVersion

The most recent legacy version supported by the current API.

This is the newest version the legacy initialize handshake negotiates. A transport for a request-scoped protocol revision, such as handleStreamableHttpRequest in package:dart_mcp/streamable_http.dart, carries its own set of supported versions.

Implementation

static const lastLegacyVersion = ProtocolVersion.v2025_11_25;