Function get_json_counter

Source
pub async fn get_json_counter(
    __arg0: State<Arc<Mutex<AppState>>>,
) -> Result<String, StatusCode>
Expand description

Return how many times get_json has been called. This introduces shared state implemented with Arc and Mutex.