Commit Graph

93 Commits

Author SHA1 Message Date
Sigurd Meldgaard 172cda21d2
dartfmt fix const new (#189) 2019-06-13 12:54:57 +02:00
Sigurd Meldgaard 224b5c3fe2
Export less from grpc-web.dart (#188)
* export less stuff from grpc-web.dart
2019-06-11 16:24:45 +02:00
Sigurd Meldgaard 8aa5b51760
Fix grpc-web issue when decoding empty repeated. (#187) 2019-06-06 12:23:46 +02:00
Sigurd Meldgaard 1578122a63
Remove transport for http2 (#185)
* don't use Transport for grpc-web
2019-06-04 15:12:01 +02:00
Sigurd Meldgaard be0e09691f
simplify Http2TransportStream (#182) 2019-06-03 15:03:43 +02:00
Sigurd Meldgaard 839b2ca03c
Don't use Transport for grpc-web (#177) 2019-05-27 14:34:15 +02:00
Sigurd Meldgaard af63debc43
Remove stray characters (#169) 2019-04-16 15:59:21 +02:00
Sigurd Meldgaard edc0c19073
Improve interfaces (#163)
ChannelCredentials is now a http2-only-thing

ClientCall now asks the Transport about the authority.

The Xhr client-channel now takes a Uri.
2019-04-02 15:15:40 +02:00
Sigurd Meldgaard afe0aea7f5
Explicit exports (#162) 2019-03-26 10:48:40 +01:00
Sigurd Meldgaard 61c741d173
Fix imports (#161) 2019-03-25 10:00:33 +01:00
Sigurd Meldgaard 2b7e261f3a
Handle request errors (#160) 2019-03-22 14:06:33 +01:00
Jeff Ward d58659507c Support grpc-web 2019-03-15 12:51:06 +01:00
Sigurd Meldgaard 76159960e2
Add service_api.dart with platform independent exports (#152) 2019-01-24 13:44:59 +01:00
Sigurd Meldgaard f48144271c
Update CHANGELOG.md (#151) 2019-01-22 13:26:58 +01:00
Ivan d62009e9fb Update dependencies(http2,mockito) (#145) 2019-01-22 13:08:25 +01:00
Nic Hite eafca2ab28 Replace Future<Null> with Future<void>. (#146) 2019-01-03 08:13:25 +01:00
Michael Thomsen ae9a7c7142
Graduate package to 1.0 stable (#143)
* Update README.md

* Update pubspec.yaml

* Update CHANGELOG.md

* Extend the package description
2018-12-17 15:49:14 +01:00
Michael Thomsen 6428b4e2f7
Create README.md (#144) 2018-12-17 15:33:48 +01:00
Sigurd Meldgaard e0d0516c9c
Version bump to publish without stray files (#142) 2018-12-13 12:21:59 +01:00
Alexandre Ardhuin 921f4df0b9 don't throw on closing channel not open (#128)
Don't throw on closing channel not open
2018-11-12 14:54:11 +01:00
Sigurd Meldgaard c252ada1a5
Don't rely on package:test internals (#136) 2018-11-05 15:39:51 +01:00
Sigurd Meldgaard 175910c58a
Update dependencies (#127) 2018-10-24 12:49:33 +02:00
Sigurd Meldgaard c02c5c46de Update .travis.yml (#119) 2018-10-17 13:31:57 +02:00
Alexandre Ardhuin 3e3ba6682f allows async interceptors (#120)
* allows async interceptors

* prevent chunks to come before starting streaming request
2018-09-18 08:17:39 +02:00
Sigurd Meldgaard 97e47bd3e7
Version bump (#118) 2018-09-07 10:27:05 +02:00
Alexandre Ardhuin 1051232d17 bump versions for dart 2 (#117) 2018-09-07 10:09:52 +02:00
Sigurd Meldgaard 561f8fe716
Make Status codes `static const` instead of `static final`. (#104)
Make Status codes `static const` instead of `static final`.
This enables using the codes in switch statements and default values.
2018-08-06 13:47:45 +02:00
Sigurd Meldgaard 17ce11f7fc
Allow for non ascii headers (#103) 2018-07-19 15:46:23 +02:00
Bob Nystrom 238fd7ec67 Finish migrating to the Dart 2 core library constants. (#101) 2018-07-19 15:16:58 +02:00
Michael Thomsen c32a9e97be
Use new Dart 2 APIs (#99)
* Upgrade to Dart 2 APIs

* Run dartfmt

* Update CHANGELOG.md

* Update pubspec.yaml
2018-07-13 12:57:18 +02:00
Michael Thomsen 72aac2adbe
Declare Dart 2.0 compatability (#98)
* Widen Dart SDK constraint to support Dart 2.0 stable

* Update CHANGELOG.md
2018-07-12 11:28:46 +02:00
Michael Thomsen 9e1f296a3f
Add Pub badge to readme (#96) 2018-07-10 16:59:30 +02:00
Michael Thomsen ee1b0f9141
Prepare 0.5.0 release (#94)
* Prepare 0.5.0 release
2018-07-10 14:45:22 +02:00
German Saprykin 847a3625e1 Added interceptors. (#86)
* Add draft implementation of interceptors.

* Fix review comment.

* Revert example files.

* Revert interop files.

* Revert interop files.

* Format.

* Fix typos.
2018-07-09 16:57:07 +02:00
Sigurd Meldgaard 694332921a Update test dependencies (#92)
* Update test dependencies

* Revert "Update test dependencies"

This reverts commit 86a6ae2dad.

* Update test dependencies

* Fix use of mockito when

* NOP

* Revert "NOP"

This reverts commit dec6a5a57a.

* Upgrade mockito

* Increase SDK dependency

* Increase deleay to trigger timeout

* Reintroduce include

* Relax sdk version constraint
2018-07-09 16:44:12 +02:00
Jon Kirkman 7428ab3b51 removed version from example pubspecs (#90) 2018-07-04 08:35:56 +02:00
Jakob Andersen b8e5c5c2c5
Fix tests in Dart 2 mode. (#85)
Also updated generated code using latest protoc_plugin, for Dart 2 updates.

Fixes #84.
2018-05-02 12:39:58 +02:00
Michael Thomsen 696413339f
Update README.md (#83) 2018-04-24 22:53:39 +02:00
Jakob Andersen 88485bad11
Tweaks. (#82)
Using address: 'localhost' didn't work as expected in the Docker
environment, so reverting to old behavior.

Fixed a typo.
2018-04-06 11:35:11 +02:00
Jakob Andersen 38ad37e2ef
Remove superfluous 'is'. (#81) 2018-04-05 13:50:40 +02:00
Jakob Andersen 8a397d8c86
Prepare release 0.4.1 (#80) 2018-04-05 10:14:10 +02:00
Jakob Andersen 686ecb3943
Dart 2 fixes (#77) 2018-04-05 09:43:42 +02:00
Jakob Andersen 0393703f58
Ensure shutdown and terminate always return a Future<Null>. (#75)
Even if _transport.finish()/terminate() returns some other kind of
Future.
2018-03-28 14:54:09 +02:00
Michael Thomsen c914f67c11
Clarify protoc steps (#69)
* Clarify protoc steps

* Update README.md
2018-03-23 11:11:45 +01:00
Michael Thomsen d9c6f6ed77
Add details about platforms (#70) 2018-03-23 11:11:03 +01:00
Jakob Andersen db484e154e
Prepare release 0.4.0 (#65) 2018-03-19 11:32:05 +01:00
Jakob Andersen 00bab79945
Widen version constraint for async. (#64)
Fixes #63.
2018-03-16 11:31:09 +01:00
Jakob Andersen d9dea0e489
Move TLS credentials for server into a separate class. (#61)
Add address parameter for server, to control which address to listen to,
and the ability to use an ephemeral port.
2018-03-14 16:38:52 +01:00
Michael Thomsen 9ef437d2be Fix the Travis badge after move (#62) 2018-03-07 09:33:47 +01:00
Jakob Roland Andersen f6126c5325 Add direct dependency on package:http. 2018-02-27 10:21:39 +01:00