Skip to main content

serve_host

Function serve_host 

Source
pub async fn serve_host(
    listener: TcpListener,
    state: AppState,
    shutdown: impl Future<Output = ()> + Send + 'static,
) -> Result<()>