LIU An (劉安)
LIU An (劉安)
This feature is needed by me.
keepalive & set_keepalive is useful when peer suddenly lose its access to network.
> `keepalive` is an HTTP thing, not a tcp thing? FYR, https://tools.ietf.org/html/rfc1122#page-101
@SergioBenitez # Test Case ## Code Below is `/workspace/apps/home/src/lib.rs`, which is a sub-app. ```rust #![feature(plugin)] #![plugin(rocket_codegen)] extern crate rocket; extern crate rocket_contrib; extern crate serde_json; #[macro_use] extern crate serde_derive; use...
Maybe you can provide an example for how to do sub-app deploy on https://rocket.rs/ guide.
# Context Isolating Another important feature is Context Isolating. Let's see what actually rocket do in deploy mode by using faring. ```rust // /workspace/server/src/main.rs rocket::ignite() .attach(AdHoc::on_attach(|rocket| home::deploy(rocket, "/home"))) .catch(errors()) .launch();...