Web applications through browser.
Value); Ok(()) }); methods.add_method_mut("set_headers_from", |_, this, src: String| { let Some(MapValue::Map(next)) = current.get(*element) else { Err(LuaError::FromLuaConversionError { from: val.type_name(), to: "http::Body".to_owned(), message: Some("Invalid type, string expected".to_owned()), }) } pub type MutableVector = Arc<RwLock<Vector>>; #[derive(Debug, Clone, Default)] pub struct SharedRequest(pub(crate) Arc<Request.