afterlink 2.0.1 copy "afterlink: ^2.0.1" to clipboard
afterlink: ^2.0.1 copied to clipboard

AfterLink Dart/Flutter client SDK for real-time binary communication

AfterLink Dart Client SDK #

Dart and Flutter client SDK for the binary AfterLink protocol.

Installation #

Add the dependency to your pubspec.yaml:

dependencies:
  afterlink:
    path: ./path/to/afterlink

Usage #

import 'package:afterlink/afterlink.dart';

void main() async {
  final client = AfterLinkClient(url: 'tcp://localhost:4000');
  await client.connect();
  
  final result = await client.request<Map>('users/get', {'id': 1});
  print(result);
  
  await client.disconnect();
}
0
likes
130
points
88
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

AfterLink Dart/Flutter client SDK for real-time binary communication

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

msgpack_dart, web_socket_channel

More

Packages that depend on afterlink