Files
http/Source/main.rs
2021-12-04 12:26:17 -03:00

12 lines
230 B
Rust

#![allow(non_snake_case)]
use std::net::TcpListener;
fn main() {
let listener = TcpListener::bind("127.0.0.1:7878").unwrap();
for stream in listener.incoming() {
Http::HandleConnection(stream.unwrap());
}
}