codde_protocol 0.1.5 codde_protocol: ^0.1.5 copied to clipboard
Multi Communication protocol in heart of the C.O.D.D.E. Pi framework
example/codde_protocol_example.dart
import 'package:codde_protocol/codde_protocol.dart';
final data = WidgetRegistry_ToggleButton(value: true);
final frame = Frame(id: 1, data: data);
void main(List<String> args) async {
await RustLib.init();
final client = ComSocketClient(address: "localhost:12345");
client.connect();
client.send(data: frame);
client.disconnect();
}