codde_protocol 0.1.4 copy "codde_protocol: ^0.1.4" to clipboard
codde_protocol: ^0.1.4 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();
}
1
likes
60
points
62
downloads

Publisher

unverified uploader

Weekly Downloads

Multi Communication protocol in heart of the C.O.D.D.E. Pi framework

Homepage
Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

ffi, flutter_rust_bridge, freezed_annotation

More

Packages that depend on codde_protocol