Perform subscribe/unsubscribe from websocket

This commit is contained in:
Greg Heartsfield
2021-11-24 16:07:35 -06:00
parent 2da46501ca
commit 1a0f66a518
3 changed files with 24 additions and 7 deletions
+3
View File
@@ -86,6 +86,9 @@ impl Subscription {
pub fn get_id(&self) -> String {
self.id.clone()
}
pub fn get_filter_count(&self) -> usize {
self.filters.len()
}
}
#[cfg(test)]