Skip to main content

liminal/protocol/
mod.rs

1pub mod backpressure;
2pub mod causal;
3pub mod codec;
4pub mod envelope;
5pub mod error;
6pub mod frame;
7pub mod handshake;
8pub mod lifecycle;
9pub mod multiplex;
10pub mod schema;
11pub mod version;
12
13pub use backpressure::{AcceptPayload, DeferPayload, PressureState, RejectPayload, StreamPressure};
14pub use causal::{CausalContext, MessageId, extract_causal_context};
15pub use codec::{decode, encode, encoded_len};
16pub use envelope::{MessageEnvelope, SchemaId};
17pub use error::ProtocolError;
18pub use frame::{
19    CONVERSATION_REPLY_REQUESTED_FLAG, Frame, FrameHeader, FrameType, PUBLISH_DELIVERED_FLAG,
20    PUBLISH_IDEMPOTENCY_KEY_FLAG, WorkerRegisterOutcome, WorkerRegistration, validate_stream,
21};
22pub use multiplex::{StreamAllocator, StreamId, StreamState, StreamTable};
23pub use schema::{negotiate_schema, subscribe_error_frame};
24pub use version::{ProtocolVersion, negotiate_version};