feat: initial http and eco support

This commit is contained in:
CosminPerRam 2024-01-02 01:43:36 +02:00
parent bd3727d7fe
commit 285bd7fe6e
8 changed files with 263 additions and 0 deletions

View file

@ -0,0 +1,10 @@
use gamedig::games::eco;
use std::net::IpAddr;
use std::str::FromStr;
fn main() {
let ip = IpAddr::from_str("142.132.154.69").unwrap();
let port = 31111;
let r = eco::query(&ip, Some(port));
println!("{:#?}", r);
}