Skip to main content

hypercall_ws_protocol/
lib.rs

1//! Stable WebSocket wire DTOs for Hypercall clients.
2//!
3//! This crate intentionally contains protocol-shaped data only.
4
5pub mod channel;
6pub mod client;
7pub mod qp;
8pub mod recovery;
9
10pub use channel::{WsChannel, RETIRED_CHANNELS, UNKNOWN_CHANNEL_CODE};
11pub use client::{ClientControlMessage, GatewayErrorCode, GatewayStatus, GatewayStatusMessage};
12pub use qp::{
13    BorrowedIndicativeQuote, BorrowedIndicativeQuoteUpdate, BorrowedScopedIndicativeQuoteUpdate,
14    GatewayResumeQuoteProvider, IndicativeQuote, QpClientMessage, QpInboundMessage,
15    QpOutboundMessage, QpResponseLeg, QpRfqLeg, QpServerMessage, ScopeId, ScopeIdParseError,
16    CAP_SCOPED_INDICATIVE,
17};
18pub use recovery::{
19    WsCloseError, WsDeliveryClass, WsPressureCause, WsRecoveryAction, WsSlowConsumerCloseReason,
20};