Function synd_api::serve::listen_and_serve
source · pub async fn listen_and_serve(
dep: Dependency,
bind: BindOptions,
shutdown: Shutdown
) -> Result<()>
Expand description
Bind tcp listener and serve.
pub async fn listen_and_serve(
dep: Dependency,
bind: BindOptions,
shutdown: Shutdown
) -> Result<()>
Bind tcp listener and serve.