aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/src
diff options
context:
space:
mode:
authorhozan23 <hozan23@karyontech.net>2024-05-22 15:06:53 +0200
committerhozan23 <hozan23@karyontech.net>2024-05-22 15:06:53 +0200
commit0d179b042f931f385b8d2fa2c1817b597ba2ebe7 (patch)
treead09fa087adacac6f8d026e8d49ba6c6eb45dde4 /jsonrpc/src
parent028940fe3e0a87cdc421a6d07f1ecfb6c208b9d0 (diff)
jsonrpc: main example clean up
Diffstat (limited to 'jsonrpc/src')
-rw-r--r--jsonrpc/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
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};