Skip to content

Commit 60a84ae

Browse files
committed
fix(*) add missing get_type function
1 parent 5ce1b1a commit 60a84ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/filter.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ impl RootContext for MyFilterRoot {
7575
}
7676
}
7777

78+
fn get_type(&self) -> Option<ContextType> {
79+
Some(ContextType::HttpContext)
80+
}
81+
7882
fn create_http_context(&self, context_id: u32) -> Option<Box<dyn HttpContext>> {
7983
info!("create_http_context: context_id: {}", context_id);
8084

0 commit comments

Comments
 (0)