lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

README (1061B)


      1 # radroots_simplex_smp_proto
      2 
      3 This is the README for `radroots_simplex_smp_proto`, which provides SimpleX SMP
      4 wire protocol primitives for the `radroots` core libraries.
      5 
      6 ## Overview
      7 
      8  * URI, server address, queue mode, and default port types for SMP endpoints;
      9  * protocol version constants and related compatibility bounds;
     10  * wire message, command, and protocol error types for SMP exchanges;
     11  * portable shared models with optional serialization and shared type export
     12    support.
     13 
     14 Broker response and unexpected-error details use the protocol's one-byte
     15 length prefix. Message and transmission encoders reject details over 255
     16 UTF-8 bytes with `InvalidShortFieldLength`, including nested proxy errors;
     17 they do not truncate the detail or panic at that boundary.
     18 
     19 ## Copyright
     20 
     21 Except as otherwise noted, all files in the `radroots_simplex_smp_proto`
     22 distribution are
     23 
     24  Copyright (c) 2025 Tyson Lupul
     25 
     26 For information on usage and redistribution, and for a DISCLAIMER OF ALL
     27 WARRANTIES, see LICENSE included in the `radroots_simplex_smp_proto`
     28 distribution.