Function jsonrpsee_server::serve
source ยท pub async fn serve<S, B, I>(io: I, service: S) -> Result<(), BoxError>
Expand description
Serve a service over a TCP connection without graceful shutdown. This means that pending requests will be dropped when the server is stopped.
If you want to gracefully shutdown the server, use serve_with_graceful_shutdown
instead.