mirror of
https://github.com/guilhermewerner/http
synced 2025-06-16 19:44:18 +00:00
Update cargo project
This commit is contained in:
@ -1,7 +1,11 @@
|
||||
// Copyright (c) TribuFu. All Rights Reserved.
|
||||
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
use std::net::TcpListener;
|
||||
|
||||
fn main() {
|
||||
Http::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