Searched refs:ProxyPre (Results 1 – 3 of 3) sorted by relevance
| /wasmtime-44.0.1/crates/wasi-http/src/p2/ |
| H A D | bindings.rs | 45 pub use self::generated::{LinkOptions, Proxy, ProxyIndices, ProxyPre}; 71 pub use self::generated::{Proxy, ProxyIndices, ProxyPre};
|
| /wasmtime-44.0.1/crates/wasi-http/src/ |
| H A D | handler.rs | 51 pub enum ProxyPre<T: 'static> { enum 54 P2(p2::bindings::ProxyPre<T>), 60 impl<T: 'static> ProxyPre<T> { impl 185 instance_pre: ProxyPre<S::StoreData>, 552 pub fn new(state: S, instance_pre: ProxyPre<S::StoreData>) -> Self { in new() 624 pub fn instance_pre(&self) -> &ProxyPre<S::StoreData> { in instance_pre()
|
| /wasmtime-44.0.1/src/commands/ |
| H A D | serve.rs | 33 use wasmtime_wasi_http::handler::{HandlerState, Proxy, ProxyHandler, ProxyPre, StoreBundle}; 310 let proxy_pre = wasmtime_wasi_http::p2::bindings::ProxyPre::new(instance_pre)?; in serve_under_debugger() 588 Ok(pre) => ProxyPre::P3(pre), in serve() 589 Err(_) => ProxyPre::P2(p2::ProxyPre::new(instance)?), in serve() 592 let instance = ProxyPre::P2(p2::ProxyPre::new(instance)?); in serve() 648 if let ProxyPre::P3(_) = &instance { in serve() 655 let max_instance_concurrent_reuse_count = if let ProxyPre::P3(_) = &instance { in serve() 996 proxy_pre: wasmtime_wasi_http::p2::bindings::ProxyPre<Host>, in debug_serve_body() 1160 ProxyPre::P2(_) => { in handle_request() 1164 ProxyPre::P3(_) => { in handle_request()
|