rl_lang/interpreter/stdlib/http/
http_get.rs1use crate::interpreter::{
2 evaluator::Evaluator, stdlib::http::common::ureq_result_to_value, values::Value,
3};
4
5pub fn func(_: &mut Evaluator, url: String) -> Value {
6 let result = ureq::get(&url).call();
7 ureq_result_to_value(&url, result)
8}