openlark-client 0.19.0

OpenLark 高级客户端 - 统一入口点(meta 链式字段访问)
Documentation
// WebSocket 客户端模块
//
// 公开入口仅暴露会话级类型(LarkWsClient / EventHandler 等)。
// 会话协议在单一 `session` loop 中实现;frame / package 为内部细节。

mod client;
mod dispatcher;
mod frame_handler;
mod headers;
mod package;
mod session;

#[cfg(feature = "websocket")]
/// 会话级公开 API。
pub use client::LarkWsClient;
#[cfg(feature = "websocket")]
pub use dispatcher::{EventDispatcherHandler, EventHandler};
#[cfg(feature = "websocket")]
pub use session::{InvalidStateKind, WsClientError, WsClientResult, WsCloseReason};

#[cfg(test)]
mod tests;

#[cfg(test)]
mod full_session_tests;