signalr_pure

Creator: coderz1093

Last updated:

Add to Cart

Description:

signalr pure

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);
}
copied to clipboard
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.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.