cure 0.0.5 cure: ^0.0.5 copied to clipboard
A library for Dart developers which contains some useful tools and extensions: Signalr, MessagePack, CRC, HTTP, EventSource, WebSocket, etc.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cure
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
cure: ^0.0.5
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cure/convert.dart';
import 'package:cure/core.dart';
import 'package:cure/crypto.dart';
import 'package:cure/http.dart';
import 'package:cure/signalr.dart';
import 'package:cure/signalr_message_pack.dart';
import 'package:cure/sse.dart';
import 'package:cure/ws.dart';