mirror of
https://github.com/alibaba/higress.git
synced 2026-03-17 00:40:48 +08:00
[feat] Support redis call with wasm-rust (#1417)
This commit is contained in:
@@ -104,17 +104,17 @@ impl RquestBlockRoot {
|
||||
impl Context for RquestBlockRoot {}
|
||||
|
||||
impl RootContext for RquestBlockRoot {
|
||||
fn on_configure(&mut self, _plugin_configuration_size: usize) -> bool {
|
||||
fn on_configure(&mut self, plugin_configuration_size: usize) -> bool {
|
||||
let ret = on_configure(
|
||||
self,
|
||||
_plugin_configuration_size,
|
||||
plugin_configuration_size,
|
||||
self.rule_matcher.borrow_mut().deref_mut(),
|
||||
&self.log,
|
||||
);
|
||||
ret
|
||||
}
|
||||
fn create_http_context(&self, _context_id: u32) -> Option<Box<dyn HttpContext>> {
|
||||
self.create_http_context_use_wrapper(_context_id)
|
||||
fn create_http_context(&self, context_id: u32) -> Option<Box<dyn HttpContext>> {
|
||||
self.create_http_context_use_wrapper(context_id)
|
||||
}
|
||||
fn get_type(&self) -> Option<ContextType> {
|
||||
Some(ContextType::HttpContext)
|
||||
|
||||
Reference in New Issue
Block a user