pub fn run<A>(listen_addr: SocketAddr, app: A)where
A: Application + 'static + Send + Sync,
Expand description
Setup the application and start the server. Use this fn when setting different ip:port.
pub fn run<A>(listen_addr: SocketAddr, app: A)where
A: Application + 'static + Send + Sync,
Setup the application and start the server. Use this fn when setting different ip:port.