relaygate-protocol 0.3.1

SDK-Gateway wire framing support for RelayGate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Workspace-internal SDK–Gateway wire contract.
//!
//! This crate owns framing and identifiers only. Socket ownership, reconnect,
//! admission, and routing policy belong to the SDK and Gateway crates.

mod codec;
mod error;
mod frame;
mod identity;
mod secret;

pub use codec::{DEFAULT_MAX_FRAME_LEN, FrameCodec, MAX_HELLO_FRAME_LEN};
pub use error::ProtocolError;
pub use frame::{ErrorCode, Frame, PeerObservation};
pub use identity::{BindingId, PipeId, SessionId};
pub use relaygate_destination::{Destination, DestinationName, Namespace};
pub use secret::{BearerToken, MAX_BEARER_TOKEN_BYTES};