Working tls handshake

This commit is contained in:
2025-08-16 04:08:31 +02:00
parent 506d57e6f9
commit cf9479cda2
6 changed files with 129 additions and 41 deletions
+5 -7
View File
@@ -1,8 +1,6 @@
#[tokio::main]
async fn main() {
ghostnet_rs::server::run().await.unwrap();
// println!(
// "{}",
// ghostnet_rs::request("ghostnet-rs.onrender.com:443", "https://wikipedia.org")
// );
use ghostnet_rs::Request;
fn main() {
let req = Request::new("example.com");
println!("{}", req.send());
}