From e375f894efdc023fc7e430229cc9a2ade8be50fb Mon Sep 17 00:00:00 2001 From: Robbie Carlton Date: Tue, 21 May 2024 10:51:21 -0600 Subject: [PATCH] expose inner.send on AppWebsocket --- src/app_websocket.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app_websocket.rs b/src/app_websocket.rs index 02c3dd7..bf56c23 100644 --- a/src/app_websocket.rs +++ b/src/app_websocket.rs @@ -223,6 +223,10 @@ impl AppWebsocket { Ok(()) } + pub async fn send(&mut self, msg: AppRequest) -> ConductorApiResult { + self.inner.send(msg).await + } + fn get_cell_id_from_role_name(&self, role_name: &RoleName) -> ConductorApiResult { if is_clone_id(role_name) { let base_role_name = get_base_role_name_from_clone_id(role_name);