aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/src/lib.rs
blob: 557745547c0e5a7f0147f75d4642f5be54989a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#![doc = include_str!("../README.md")]

mod client;
mod codec;
mod error;
pub mod message;
mod server;

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, ServerBuilder,
};

pub use karyon_jsonrpc_macro::{rpc_impl, rpc_pubsub_impl};

pub use karyon_net::{tcp::TcpConfig, Endpoint};