Skip to main content

Module wire

Module wire 

Source

Re-exports§

pub use postgres::start_pg_wire_listener;
pub use postgres::PgWireConfig;
pub use redwire::start_redwire_unix_listener;
pub use redwire::start_redwire_listener;
pub use redwire::start_redwire_listener_on;
pub use redwire::start_redwire_tls_listener;
pub use redwire::RedWireConfig;
pub use tls::WireTlsConfig;

Modules§

listener
RedWire frame handlers — pure request/response transformations shared by the RedWire session loop. Each handler takes a parsed payload and returns a length-prefixed response envelope; the session adapts the envelope into a RedWire frame via rewrap_handler_response.
postgres
PostgreSQL wire protocol compatibility layer (Phase 3.1 PG parity).
protocol
RedDB Wire Protocol — binary TCP, zero JSON overhead.
redwire
RedWire — RedDB’s binary TCP / TLS wire protocol with auth handshake, multiplex, compression, and version negotiation.
tls

Constants§

REDWIRE_MAGIC
Discriminator byte every RedWire client sends as the very first byte off the wire. The service-router detector keys off this (and so does the standalone listener path).