Note: This is a work in progress and experimental.
See the API docs for more details and sample code.
Please file feature requests and bugs at the issue tracker.
Functionsyntax, since it isn't fully supported in Dart 1.24.
Connection, which is invoked when the connection changes state from idle to active or from active to idle. This can be used to implement an idle connection timeout.
onTerminatedhook that is called when a TransportStream receives a RST_STREAM frame.
Add this to your package's pubspec.yaml file:
dependencies: http2: "^0.1.7"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:http2/multiprotocol_server.dart'; import 'package:http2/transport.dart';
|0.1.7||Jan 11, 2018|
|0.1.6||Nov 3, 2017|
|0.1.5||Oct 5, 2017|
|0.1.4||Oct 2, 2017|
|0.1.3||Jul 18, 2017|
|0.1.2||Jul 5, 2017|
|0.1.1+2||Mar 17, 2017|
|0.1.1+1||Feb 2, 2016|
|0.1.1||Jan 11, 2016|
|0.1.0||Sep 7, 2015|
We analyzed this package, and provided a score, details, and suggestions below.
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, other
Platform components identified in package:
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
None of the files in your
example/directory matches a known example patterns. Common file name patterns include:
example.dartor you could also use