You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/rmcp/src/service/server.rs
+8-24Lines changed: 8 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -772,9 +772,7 @@ impl Peer<RoleServer> {
772
772
/// # SEP-2260: request association
773
773
///
774
774
/// From protocol version `2026-07-28` this must be issued while handling a
775
-
/// client request; outside a handler it returns an `invalid_request` error.
776
-
/// The association does not cross `tokio::spawn`, so use the task manager
777
-
/// for long-running work.
775
+
/// client request; see [`OriginatingRequestId`].
778
776
#[deprecated(
779
777
since = "1.8.0",
780
778
note = "Sampling is deprecated by SEP-2577 and will be removed in a future release. See https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2577"
@@ -812,9 +810,7 @@ impl Peer<RoleServer> {
812
810
/// # SEP-2260: request association
813
811
///
814
812
/// From protocol version `2026-07-28` this must be issued while handling a
815
-
/// client request; outside a handler it returns an `invalid_request` error.
816
-
/// The association does not cross `tokio::spawn`, so use the task manager
817
-
/// for long-running work.
813
+
/// client request; see [`OriginatingRequestId`].
818
814
#[deprecated(
819
815
since = "1.8.0",
820
816
note = "Roots is deprecated by SEP-2577 and will be removed in a future release. See https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2577"
@@ -826,19 +822,15 @@ impl Peer<RoleServer> {
826
822
/// # SEP-2260: request association
827
823
///
828
824
/// From protocol version `2026-07-28` this must be issued while handling a
829
-
/// client request; outside a handler it returns an `invalid_request` error.
830
-
/// The association does not cross `tokio::spawn`, so use the task manager
0 commit comments