mirror of
https://github.com/katanemo/plano.git
synced 2026-05-05 22:02:43 +02:00
* Encode parameter values in http path and ... - don't send param values in request body in http get request - send param values in http post request * rust tests * refactor code * add tests
17 lines
367 B
Rust
17 lines
367 B
Rust
use filter_context::FilterContext;
|
|
use proxy_wasm::traits::*;
|
|
use proxy_wasm::types::*;
|
|
|
|
mod context;
|
|
mod filter_context;
|
|
mod http_context;
|
|
mod metrics;
|
|
mod stream_context;
|
|
mod tools;
|
|
|
|
proxy_wasm::main! {{
|
|
proxy_wasm::set_log_level(LogLevel::Trace);
|
|
proxy_wasm::set_root_context(|_| -> Box<dyn RootContext> {
|
|
Box::new(FilterContext::new())
|
|
});
|
|
}}
|