1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! LongPort OpenAPI Websocket client

#![forbid(unsafe_code)]
#![deny(unreachable_pub)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]

mod client;
mod codec;
mod error;
mod event;

pub use client::{CodecType, Platform, ProtocolVersion, RateLimit, WsClient, WsSession};
pub use error::{WsClientError, WsClientResult, WsCloseReason, WsResponseErrorDetail};
pub use event::WsEvent;