better_socket 1.0.0 copy "better_socket: ^1.0.0" to clipboard
better_socket: ^1.0.0 copied to clipboard

outdated

这是一个集成原生iOS的websocket和安卓原生的websocket,力争做一个完美的websocket插件。有人反映dart的websocket配置很麻烦,就是做这个插件的初衷。

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add better_socket

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  better_socket: ^1.0.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:better_socket/better_socket.dart';
5
likes
0
pub points
8%
popularity

Publisher

unverified uploader

这是一个集成原生iOS的websocket和安卓原生的websocket,力争做一个完美的websocket插件。有人反映dart的websocket配置很麻烦,就是做这个插件的初衷。

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on better_socket