Crate clasp_core

Crate clasp_core 

Source
Expand description

CLASP Core

Core types, encoding, and protocol primitives for CLASP v2. Creative Low-Latency Application Streaming Protocol.

This crate provides:

Re-exports§

pub use address::Address;
pub use codec::decode;
pub use codec::encode;
pub use error::Error;
pub use error::Result;
pub use frame::Frame;
pub use state::ParamState;
pub use time::Timestamp;
pub use types::*;

Modules§

address
Address parsing and pattern matching
codec
MessagePack encoding/decoding for Clasp messages
error
Error types for Clasp
frame
Binary frame encoding/decoding
state
State management for Clasp params
time
Timing utilities for Clasp
types
Protocol types and message definitions

Constants§

DEFAULT_DISCOVERY_PORT
Default UDP discovery port
DEFAULT_WS_PORT
Default WebSocket port
MAGIC_BYTE
Magic byte for frame identification
MDNS_SERVICE_TYPE
mDNS service type
PROTOCOL_VERSION
Protocol version
WS_SUBPROTOCOL
WebSocket subprotocol identifier