signalr_pure 1.1.0 copy "signalr_pure: ^1.1.0" to clipboard
signalr_pure: ^1.1.0 copied to clipboard

SignalR Pure is a library which contains some useful tools for Signalr. It's SignalR Client.

SignalR Pure #

SignalR Pure is a library which contains some useful tools for Signalr.

USAGE #

This is example code how to implement this library.

import 'package:signalr_pure/signalr_pure.dart';

void main() async {
  final builder = HubConnectionBuilder()
    ..url = 'url'
    ..logLevel = LogLevel.information
    ..reconnect = true;
  final connection = builder.build();
  connection.on('send', (args) => print(args));
  await connection.startAsync();
  await connection.sendAsync('send', ['Hello', 123]);
  final obj = await connection.invokeAsync('send', ['Hello', 'World']);
  print(obj);
}

Acknowledgments #

The base of the source code for this library was copied from the cure package. Thanks to the author.

Contact and bugs #

Use Issue Tracker for any questions or bug report.

9
likes
120
pub points
77%
popularity

Publisher

unverified uploader

SignalR Pure is a library which contains some useful tools for Signalr. It's SignalR Client.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

ansicolor, meta, tuple

More

Packages that depend on signalr_pure