signalr_netcore 0.1.7 signalr_netcore: ^0.1.7 copied to clipboard
A flutter client for ASP.NET Core SignalR. The client is able to invoke server side hub functions and to receive method invocations issued by the server.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add signalr_netcore
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
signalr_netcore: ^0.1.7
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:signalr_netcore/abort_controller.dart';
import 'package:signalr_netcore/dartio_http_client.dart';
import 'package:signalr_netcore/errors.dart';
import 'package:signalr_netcore/handshake_protocol.dart';
import 'package:signalr_netcore/http_connection.dart';
import 'package:signalr_netcore/http_connection_options.dart';
import 'package:signalr_netcore/hub_connection.dart';
import 'package:signalr_netcore/hub_connection_builder.dart';
import 'package:signalr_netcore/iconnection.dart';
import 'package:signalr_netcore/ihub_protocol.dart';
import 'package:signalr_netcore/itransport.dart';
import 'package:signalr_netcore/json_hub_protocol.dart';
import 'package:signalr_netcore/long_polling_transport.dart';
import 'package:signalr_netcore/server_sent_events_transport.dart';
import 'package:signalr_netcore/signalr_client.dart';
import 'package:signalr_netcore/signalr_http_client.dart';
import 'package:signalr_netcore/text_message_format.dart';
import 'package:signalr_netcore/utils.dart';
import 'package:signalr_netcore/web_socket_transport.dart';