pub async fn app<T: EiffelVisHttpApp>(
    app: Arc<RwLock<T>>,
    address: IpAddr,
    port: u16,
    handle: Handle,
    tls: Option<(String, String)>
) -> Result<()>
Expand description

Takes an eiffelvis app and binds the http server on the given address. This is likely the only function you’ll ever need to call. shutdown is used to trigger graceful shutdown, tokio::signal is useful for this.