pub fn build_grpc_server<H>(
handler: Arc<H>,
) -> SoltiApiServer<SoltiApiService<H>>where
H: ApiHandler,Expand description
Build a configured SoltiApiServer with no-op metrics.
ยงExample
let svc = build_grpc_server(adapter);
tonic::transport::Server::builder()
.add_service(svc)
.serve("0.0.0.0:50052".parse()?)
.await?;