spin_sdk::variables

Function get

Source
pub fn get(name: &str) -> Result<String, Error>
Expand description

Get an application variable value for the current component.

The name must match one defined in in the component manifest.