Commit Graph

262 Commits

Author SHA1 Message Date
Jakob Andersen ed5e8fb43e Use correct gRPC error codes. (#23)
Copied error code definitions from source grpc/grpc repo.

Fixes #7.
2017-07-10 12:53:08 +02:00
Jakob Andersen a5e740c41a Custom metadata and call cancellation. (#22)
Added an example showing how to send/receive custom metadata, and handle
call cancellation.

Implemented the remaining parts of metadata and cancel handling.

Addresses part of #8 and #12.
2017-07-07 14:31:36 +02:00
Jakob Andersen aefc45cbc0 Upgrade package:http2 dependency. (#21)
Picks up fix for sending endStream bit on the requested frame, instead
of on an empty data frame following it.

Needed for interoperability with the Go gRPC client, since it otherwise
failed to recognize the trailer frame sent from the server.

Fixes #13.
2017-07-06 11:37:21 +02:00
Jakob Andersen ff962f8a8c Generated code using new protoc Dart gRPC plugin. (#20)
Updated README.md with instructions on how to regenerate the code.

Fixes #11.
2017-07-06 10:48:25 +02:00
Jakob Andersen 4775f6dd1f Rename examples to example. (#19)
To follow the Dart package guidelines.

Fixes #18.
2017-07-04 19:50:18 +02:00
Kevin Moore 4b8d407eae Fixes to make Travis Green (#17)
* Remove unused import
* Only analyze lib and test dirs
  - work-around for https://github.com/dart-lang/sdk/issues/26212
* enable a few more lints
* remove unused field
2017-06-29 13:11:29 -07:00
Kevin Moore 49f123b6ac Update readme with Travis badge (#16)
And remove redundant header info
2017-06-29 12:28:24 -07:00
Michael Thomsen b0c284578a Enable travis (#15)
* Create .travis.yml

Initial travis config, based on https://github.com/dart-lang/source_gen/blob/master/.travis.yml

* Update .travis.yml

* Fix filename

* Review feedback
2017-06-29 19:38:45 +02:00
Michael Thomsen aee8e4a3c3 Clarify that current implementation is experimental (#14) 2017-06-29 15:12:10 +02:00
Jakob Andersen bf8fb94353 Initial import. (#2)
What works:

* Client and server can talk to each other, all 4 RPC variants.
* Client can talk to Go gRPC server.

What (probably) doesn't work:

* Anything else.
2017-06-28 14:53:42 +02:00
Michael Thomsen 97dfcb1c5f Fix typo (#1) 2017-06-08 11:17:15 +02:00
Michael Thomsen ee72b4b418 Initial repo config 2017-06-08 11:12:17 +02:00