signalr2 1.0.0-alpha1-final copy "signalr2: ^1.0.0-alpha1-final" to clipboard
signalr2: ^1.0.0-alpha1-final copied to clipboard

outdated

Incredibly simple real-time web for ASP.NET Core 2.0

signalr2 #

Incredibly simple real-time web for ASP.NET Core 2.0 This is an interop library for the @aspnet/signalr_client package. Find more Information at https://github.com/aspnet/SignalR

Usage #

Add a <script> tag to your index.html and point it to the current SignalR JavaScript file distributed with the current release of this library:

<script src="packages/signalr2/dist/signalr-client-1.0.0-alpha1-final.min.js"></script>

A simple usage example:

import 'dart:async';
import 'package:signalr2/signalr2.dart' as signalr;

Future<Null> main() async {
  var connection = new signalr.HubConnection('/chat');

  connection.on('send', (data) {
    print(data);
  });

  await connection.start();

  connection.invoke('send', 'Hello');
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Incredibly simple real-time web for ASP.NET Core 2.0

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

func, js

More

Packages that depend on signalr2