mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-26 15:07:42 +02:00
update to latest actix-net
This commit is contained in:
@ -21,6 +21,7 @@ fn main() -> io::Result<()> {
|
||||
res.header("x-head", HeaderValue::from_static("dummy value!"));
|
||||
future::ok::<_, ()>(res.body("Hello world!"))
|
||||
})
|
||||
.tcp()
|
||||
})?
|
||||
.run()
|
||||
}
|
||||
|
Reference in New Issue
Block a user