blob: d43783fa68e240f1f46267ead011839988241383 (
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, RPCError, RPCResult, Result};
pub use server::{
builder::ServerBuilder,
channel::{Channel, Subscription},
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};
|