Skip to content

Commit

Permalink
Stabilize stale client request handling capability
Browse files Browse the repository at this point in the history
  • Loading branch information
ebkalderon committed Jan 23, 2023
1 parent 6eeacd6 commit 41813ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1582,8 +1582,10 @@ pub struct GeneralClientCapabilities {
#[serde(skip_serializing_if = "Option::is_none")]
pub markdown: Option<MarkdownClientCapabilities>,

/// Client capability that signals how the client handles stale requests (e.g. a request for
/// which the client will not process the response anymore since the information is outdated).
///
/// @since 3.17.0
#[cfg(feature = "proposed")]
#[serde(skip_serializing_if = "Option::is_none")]
pub stale_request_support: Option<StaleRequestSupportClientCapabilities>,

Expand Down Expand Up @@ -1615,7 +1617,6 @@ pub struct GeneralClientCapabilities {
/// anymore since the information is outdated).
///
/// @since 3.17.0
#[cfg(feature = "proposed")]
#[derive(Debug, PartialEq, Clone, Default, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct StaleRequestSupportClientCapabilities {
Expand Down

0 comments on commit 41813ac

Please sign in to comment.