Skip to content

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

License

Notifications You must be signed in to change notification settings

Dimolll/signalr_pure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages