对了,文中的handle_connection方法定义是这样的:fn handle_connection(mut stream: TcpStream) {...} 中间就是具体的stream的操作,比如在文中打印http_request
点赞 评论

相关推荐

牛客网
牛客企业服务