#network

ezmsg

Simple buffer with a topic and parameters

3 releases

0.6.2 Jul 14, 2020
0.6.1 Jul 13, 2020
0.6.0 Jul 12, 2020

#470 in #network

0BSD license

9KB
231 lines


lib.rs:

A "message", represented by the Msg struct, is an entity that is typically transferred over the network between clients/servers or peers. Each message consist of a mandatory "topic" (a utf-8 string) and zero or more parameters (each of which is a key/value pair (of utf-8 strings).

ezmsg does not handle transmission; it only represents the message buffer and provides methods to serialize messages.

Dependencies

~50KB