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

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

pub use client::{builder::ClientBuilder, Client};
pub use error::{Error, Result};
pub use server::{
    builder::ServerBuilder,
    channel::{ArcChannel, Channel, Subscription, SubscriptionID},
    pubsub_service::{PubSubRPCMethod, PubSubRPCService},
    service::{RPCMethod, RPCService},
    Server,
};

pub use karyon_jsonrpc_macro::{rpc_impl, rpc_pubsub_impl};

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