Add config accessor to LSPS2ServiceHandler

This commit is contained in:
Elias Rohrer 2025-02-06 10:23:01 +01:00
parent 4615cd89d2
commit f93caaeada
No known key found for this signature in database
GPG key ID: 36153082BDF676FD

View file

@ -586,6 +586,11 @@ where
}
}
/// Returns a reference to the used config.
pub fn config(&self) -> &LSPS2ServiceConfig {
&self.config
}
/// Used by LSP to inform a client requesting a JIT Channel the token they used is invalid.
///
/// Should be called in response to receiving a [`LSPS2ServiceEvent::GetInfo`] event.