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.8"
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.8||Mar 21, 2018|
|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|
We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
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:
Fix analysis and formatting issues.
Analysis or formatting checks reported 81 hints.
Strong-mode analysis of
lib/src/connection.dartgave the following hint:
line: 362 col: 49
'UTF8' is deprecated and shouldn't be used.
Strong-mode analysis of
lib/src/hpack/hpack.dartgave the following hint:
line: 242 col: 16
'ASCII' is deprecated and shouldn't be used.
Similar analysis of the following files failed:
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