mirror of
https://github.com/guilhermewerner/http
synced 2025-06-16 19:44:18 +00:00
Fix filename casing
This commit is contained in:
11
Source/main.rs
Normal file
11
Source/main.rs
Normal file
@ -0,0 +1,11 @@
|
||||
#![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());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user