fennec_socket_io_server 0.0.5 fennec_socket_io_server: ^0.0.5 copied to clipboard
this plugin belongs to Fennec Framework. it can be used to implement a performant realtime connection from server side.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fennec_socket_io_server
With Flutter:
$ flutter pub add fennec_socket_io_server
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
fennec_socket_io_server: ^0.0.5
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fennec_socket_io_server/adapter.dart';
import 'package:fennec_socket_io_server/client.dart';
import 'package:fennec_socket_io_server/engine/engine.dart';
import 'package:fennec_socket_io_server/engine/jsonp_transport.dart';
import 'package:fennec_socket_io_server/engine/polling_transport.dart';
import 'package:fennec_socket_io_server/engine/server.dart';
import 'package:fennec_socket_io_server/engine/socket.dart';
import 'package:fennec_socket_io_server/engine/socket_connect.dart';
import 'package:fennec_socket_io_server/engine/transports.dart';
import 'package:fennec_socket_io_server/engine/utils/packet_parser.dart';
import 'package:fennec_socket_io_server/engine/utils/wtf8.dart';
import 'package:fennec_socket_io_server/engine/websocket_transport.dart';
import 'package:fennec_socket_io_server/engine/xhr_transport.dart';
import 'package:fennec_socket_io_server/namespace.dart';
import 'package:fennec_socket_io_server/server_io.dart';
import 'package:fennec_socket_io_server/socket.dart';
import 'package:fennec_socket_io_server/utils/binary.dart';
import 'package:fennec_socket_io_server/utils/entity_emitter.dart';
import 'package:fennec_socket_io_server/utils/on.dart';
import 'package:fennec_socket_io_server/utils/parser.dart';