stomp_sockjs 0.2.0

  • README.md
  • Installing
  • Versions
  • 4

Stomp Sockjs client

This is a Dart client library for STOMP over SockJS.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  stomp_sockjs: ^0.2.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:stomp_sockjs/stomp_sockjs.dart';
  
Version Uploaded Documentation Archive
0.2.0 Aug 23, 2017 Go to the documentation of stomp_sockjs 0.2.0 Download stomp_sockjs 0.2.0 archive
0.1.0 Jun 26, 2015 Go to the documentation of stomp_sockjs 0.1.0 Download stomp_sockjs 0.1.0 archive
0.0.1 Jul 22, 2014 Go to the documentation of stomp_sockjs 0.0.1 Download stomp_sockjs 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
9
Health:
Code health derived from static analysis. [more]
--
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
--
Overall:
Weighted score of the above. [more]
4
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Fix dependencies in pubspec.yaml.

Running pub upgrade failed with the following output:

ERR: Git error. Command: git clone --mirror git@github.com:dougreese/sockjs-dart-client.git /tmp/pub-cache-dirPHSOOF/git/cache/sockjs-dart-client-705fcd39149ea9ad086f6f58adebabfae3c5092a
 Cloning into bare repository '/tmp/pub-cache-dirPHSOOF/git/cache/sockjs-dart-client-705fcd39149ea9ad086f6f58adebabfae3c5092a'...
 Host key verification failed.
 fatal: Could not read from remote repository.
 
 Please make sure you have the correct access rights
 and the repository exists.

Health suggestions

Format lib/stomp_sockjs.dart.

Run dartfmt to format lib/stomp_sockjs.dart.

Maintenance issues and suggestions

Add SDK constraint in pubspec.yaml. (-50 points)

For information about setting SDK constraint, please see https://www.dartlang.org/tools/pub/pubspec#sdk-constraints.

Fix platform conflicts. (-20 points)

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

Running dartdoc failed. (-10 points)

Make sure dartdoc runs without any issues.

Maintain CHANGELOG.md. (-20 points)

Changelog entries help clients to follow the progress in your code.

Package is getting outdated. (-31.23 points)

The package was released 68 weeks ago.

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example.

None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use stomp_sockjs.dart. Packages with multiple examples should use example/readme.md.