fetchlet_web/state.rs
1/// Web API state that belongs to one invocation, such as open compression
2/// streams. The embedder creates it when an invocation begins and drops it
3/// when the invocation ends, which releases everything it holds.
4#[derive(Default)]
5pub struct WebState {
6 #[cfg(feature = "compression")]
7 pub(crate) codecs: crate::compression::Codecs,
8}