11 lines
266 B
Rust
11 lines
266 B
Rust
use tokio::{io, net::TcpStream, stream};
|
|
|
|
use crate::protocol::Header;
|
|
|
|
pub async fn handle(
|
|
stream: &mut TcpStream,
|
|
header: Header,
|
|
) -> io::Result<()> {
|
|
println!("Обработчик UPLOAD получил заголовок: {header:?}");
|
|
Ok(())
|
|
} |