Expand description
push-wire-core — shared types and codecs for the push-wire protocol.
This crate contains the wire types, binary codec, fragment assembler,
and delta algorithm shared by both push-wire-server and push-wire-client.
All public types are parameterized by the ChannelKind trait, allowing
consumers to define their own channel taxonomy.
Re-exports§
pub use channel::ChannelKind;pub use channel::parse_channels;pub use types::BinaryEnvelope;pub use types::Frame;pub use types::RawPayload;pub use types::SystemOp;pub use binary::BinaryError;pub use binary::BinaryFlags;pub use binary::BinaryFrame;pub use binary::CompressionConfig;pub use binary::CompressionDictionary;pub use binary::MAGIC_HEADER;pub use binary::PayloadEncoding;pub use binary::VERSION_BYTE;pub use binary::decode_frame;pub use binary::decode_frame_with_dictionaries;pub use binary::encode_frame;pub use binary::encode_frame_with_compression;pub use binary::train_dictionary;pub use delta::DeltaApplyResult;pub use delta::DeltaError;pub use delta::DeltaOp;pub use delta::PayloadDelta;pub use delta::apply_delta;pub use delta::compute_delta;pub use fragments::FRAGMENT_HEADER_LEN;pub use fragments::FragmentAssembler;pub use fragments::FragmentError;pub use fragments::FragmentRetention;pub use fragments::FragmentShard;pub use rtc::RtcMessage;pub use rtc::RtcRouter;pub use rtc::TurnCredential;