break added
parent
b51a3fb0f0
commit
77a1e24a47
|
|
@ -21,6 +21,7 @@ pub async fn try_send(stream: Result<TcpStream>, params: Cli) -> Result<()> {
|
|||
// let msg = r"HTTP/1.1 POST\r\nContent-Length: 14\r\nContent-Type: text/plain\r\n\r\nHello, World!@";
|
||||
stream.write_all(msg.as_bytes()).await?;
|
||||
// ...
|
||||
break;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
Loading…
Reference in New Issue