Function wrpc_interface_http::bindings::serve

source ยท
pub async fn serve<T: Serve>(
    wrpc: &T,
    handler: impl Handler<T::Context> + Handler<T::Context> + Send + Sync + Clone + 'static,
    shutdown: impl Future<Output = ()>,
) -> Result<()>