Files
BrowserSkill/crates/bsk-protocol/src/lib.rs
T
2026-06-22 17:36:26 +08:00

20 lines
666 B
Rust

//! browser-skill wire protocol — frames, methods, tool payloads, handshake.
pub mod cancel;
pub mod error;
pub mod frame;
pub mod method;
pub mod system;
pub mod tools;
pub use cancel::{CancelParams, CancelResult};
pub use error::{DecodeError, ErrorCode, RpcError};
pub use frame::{EventFrame, EventKind, Frame, RequestFrame, ResponseBody, ResponseFrame, RpcId};
pub use method::Method;
pub use system::{
BrowserPeerInfo, BrowserStatusEntry, HandshakeCompat, HandshakeParams, HandshakeResult,
PingParams, PingResult, SessionStatusEntry, StatusParams, StatusResult, VersionSkewEntry,
compare_protocol, evaluate_handshake_compat,
};
pub use tools::*;