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

StreamChannel wrappers for WebSockets. Provides a cross-platform WebSocketChannel API, a cross-platform implementation of that API that communicates over an underlying StreamChannel.

0
likes
110/ 140
pub points
5%
popularity

We analyzed this package 6 hours ago, and awarded it 110 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Repository URL doesn't exist.

At the time of the analysis https://github.com/Nghi-NV/web_socket_channel.git was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: socket_channel,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

64 out of 69 API elements (92.8 %) have documentation comments.

Some symbols that are missing documentation: html, io, web_socket_channel, web_socket_channel.WebSocketChannelException.WebSocketChannelException.from, web_socket_channel.WebSocketChannelException.message.

10/10 points: Package has an example

failed
Platform support
0 / 20trigger folding of the section

0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:socket_channel/html.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:socket_channel/html.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:socket_channel/html.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:socket_channel/html.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:socket_channel/html.dart that imports:
  • dart:html
Package not compatible with platform Web

Because:

  • package:socket_channel/io.dart that imports:
  • dart:io
OK
Pass static analysis
50 / 50trigger folding of the section

50/50 points: code has no errors, warnings, lints, or formatting issues

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
async ^2.5.0 2.11.0 2.11.0
crypto ^3.0.0 3.0.3 3.0.3
stream_channel ^2.1.0 2.1.2 2.1.2
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
meta - 1.14.0 1.14.0
typed_data - 1.3.2 1.3.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

0
likes
110
pub points
5%
popularity

Publisher

unverified uploader

StreamChannel wrappers for WebSockets. Provides a cross-platform WebSocketChannel API, a cross-platform implementation of that API that communicates over an underlying StreamChannel.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async, crypto, stream_channel

More

Packages that depend on socket_channel