grpc_cronet 0.0.7 copy "grpc_cronet: ^0.0.7" to clipboard
grpc_cronet: ^0.0.7 copied to clipboard

Flutter plugin that provides Cronet-based grpc client implementation.

package:grpc_cronet CI pub package package publisher

Flutter dart:grpc implementation that uses the Cronet native library.

Uses Chromium Cronet libraries patched in https://chromium-review.googlesource.com/c/chromium/src/+/3761158.

Performance #

As number of concurrent requests increases use of cronet for grpc client shows significant improvements over dart:io one. This is what example/route_guide flutter cronet client vs dart cli dart:io client shows:

number of concurrent requests dart:io(ms) (less is better) cronet (ms) (less is better) speed-up factor
100 615 382 1.61
500 7,947 2,081 3.82
1000 28,406 4,703 6.04

Status: Experimental #

NOTE: This package is currently experimental and published under the labs.dart.cn pub publisher in order to solicit feedback.

For packages in the labs.dart.cn publisher we generally plan to either graduate the package into a supported publisher (dart.cn, tools.dart.cn) after a period of feedback and iteration, or discontinue the package. These packages have a much higher expected rate of API and breaking changes.

Your feedback is valuable and will help us evolve this package. For general feedback, suggestions and bugs, please file an issue in the bug tracker.

8
likes
110
pub points
26%
popularity

Publisher

verified publisherlabs.dart.cn

Flutter plugin that provides Cronet-based grpc client implementation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

ffi, flutter, grpc, http2, plugin_platform_interface

More

Packages that depend on grpc_cronet