pub type SetLevelRequest = Request<SetLevelRequestMethod, SetLevelRequestParams>;👎Deprecated since 2.0.0:
Logging is deprecated by SEP-2577 and will be removed in a future release. See https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2577
Expand description
Request to set the logging level
Aliased Type§
pub struct SetLevelRequest {
pub method: SetLevelRequestMethod,
pub params: SetLevelRequestParams,
pub extensions: Extensions,
}Fields§
§method: SetLevelRequestMethod§params: SetLevelRequestParams§extensions: Extensionsextensions will carry anything possible in the context, including the metadata
(RequestMetaObject for requests, NotificationMetaObject for notifications)
this is similar with the Extensions in http crate