Expand description
Protocol module containing protocol handlers in charge of incoming and outgoing message serialization and RPC method and notification dispatch.
Re-exports§
pub use crate::server::result::Result;
pub use self::borsh::BorshProtocol;
pub use self::serde_json::JsonProtocol;
Modules§
- borsh
- Module containing
BorshProtocol
responsible for server-side dispatch of RPC methods and notifications when usingBorsh
protocol. - serde_
json - Module containing
JsonProtocol
responsible for server-side dispatch of RPC methods and notifications when usingJSON
protocol.
Traits§
- Protocol
Handler - Base trait for
BorshProtocol
andJsonProtocol
protocol handlers