Skip to main content

Crate seyd_signal_client

Crate seyd_signal_client 

Source
Expand description

Robot-side client for the Seyd signal protocol v2.

Contract: docs/protocol/signal-v2.md. This crate owns the WebSocket, the challenge/response authentication with the robot’s Ed25519 identity, reconnection with backoff, and the re-announce after a reconnect. It knows nothing about QUIC, media or NAT — the caller supplies the Announce and consumes Events.

Re-exports§

pub use identity::Identity;

Modules§

identity
Robot identity: an Ed25519 key pair stored as a 32-byte seed file.
messages
Signal v2 message types (docs/protocol/signal-v2.md), robot side.

Structs§

Config
Handle
Outbound side. Cheap to clone; safe to call from any task.

Enums§

Error
Event
Inbound events the agent must react to.

Functions§

start
Start the client. Returns the outbound handle and the inbound event stream. The connection task runs until the handle and receiver are dropped.