signalr_netcore 1.4.0 copy "signalr_netcore: ^1.4.0" to clipboard
signalr_netcore: ^1.4.0 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: ^1.4.0

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/binary_message_format.dart';
import 'package:signalr_netcore/default_reconnect_policy.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/iretry_policy.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/msgpack_hub_protocol.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';
import 'package:signalr_netcore/web_supporting_http_client.dart';
182
likes
150
points
27.7k
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, logging, message_pack_dart, sse_channel, tuple, web_socket_channel

More

Packages that depend on signalr_netcore