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.
On connection termination, try to dispatch existing messages, thereby avoiding terminating existing streams.
ClientTransportConnection.isOpen to return
false if we have exhausted
the number of max-concurrent-streams.
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+2
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
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+2||Jul 16, 2018|
|0.1.8+1||Jul 12, 2018|
|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|
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]
We analyzed this package on Aug 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
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 of the API.
Maintain an example.
None of the files in your
example/ directory matches a known example patterns. Common file name patterns include:
example.dart or you could also use