Struct static_web_server::server::Server
source · pub struct Server { /* private fields */ }
Expand description
Define a multi-thread HTTP or HTTP/2 web server.
Implementations§
source§impl Server
impl Server
sourcepub fn run_standalone(self) -> Result
pub fn run_standalone(self) -> Result
Run the multi-thread Server
as standalone.
It is a top-level function of run_server_on_rt.