From 0d179b042f931f385b8d2fa2c1817b597ba2ebe7 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Wed, 22 May 2024 15:06:53 +0200 Subject: jsonrpc: main example clean up --- jsonrpc/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jsonrpc/src/lib.rs') diff --git a/jsonrpc/src/lib.rs b/jsonrpc/src/lib.rs index 7573c4d..626d159 100644 --- a/jsonrpc/src/lib.rs +++ b/jsonrpc/src/lib.rs @@ -6,13 +6,13 @@ mod error; pub mod message; mod server; -pub use client::Client; +pub use client::{Client, ClientBuilder}; pub use error::{Error, Result}; pub use server::{ channel::{ArcChannel, Channel, Subscription, SubscriptionID}, pubsub_service::{PubSubRPCMethod, PubSubRPCService}, service::{RPCMethod, RPCService}, - Server, + Server, ServerBuilder }; pub use karyon_jsonrpc_macro::{rpc_impl, rpc_pubsub_impl}; -- cgit v1.2.3