Closed ggaaooppeenngg closed 7 years ago
hi @ggaaooppeenngg I updated example in the readme and published a new version 0.1.1. Can you let me know if you're still having a compile issue after you try that.
@softprops Which version of hyper are you using? I new to rust, I guess it is a handler interface break? I don't know how to modify it to work with the latest hyper.
I'm depending on the latest release. 0.9
Oh I set it to the 0.7.2, but change to 0.9, it works. BTW in the README.md
let svc = Server::http("0.0.0.0:4567")
.unwrap(); <=== this semicolon seems redundant.
.handle(hub);`
Nice catch. Thanks!
I just run the example and get a error
and error is
What's the reason?