9e7d35a2d3
chore: Add blocknig server example ( #277 )
...
Co-authored-by: Lucio Franco <[email protected] >
2020-03-06 11:30:10 -05:00
Lucio Franco and GitHub
e2bff8f13e
chore(docs): Add warp + tonic example ( #268 )
...
Signed-off-by: Lucio Franco <[email protected] >
2020-02-16 15:13:22 -05:00
Lucio Franco and GitHub
b49ad9bb47
chore(docs): Add hyper example ( #267 )
...
Signed-off-by: Lucio Franco <[email protected] >
2020-02-16 12:46:55 -05:00
Dizans and GitHub
34865a9fb5
chore(docs): Remove unecessary pinning ( #263 )
2020-02-13 11:34:34 -05:00
Lucio Franco and GitHub
eba7ec7b32
feat: Add gRPC interceptors ( #232 )
...
This change introduces proper gRPC interceptors that are avilable
regardless of the transport used. Each codegen service now produces an
additional method called `with_interceptor` that accepts a
`Interceptor`.
All examples have been updated to use this new style and interop has a
custom `tower::Service` middleware to echo the headers. There is also a
new `interceptor` example that shows basic usage.
BREAKING CHANGE: removed `interceptor_fn` and `intercep_headers_fn` from `transport` in favor of using `tonic::Interceptor`.
2020-01-13 21:26:08 -05:00
Juan Alvarez and Lucio Franco
a41f55ab9d
fix(build): Remove default impl for Server traits ( #229 )
...
BREAKING CHANGE: remove default implementations for server traits.
2020-01-13 09:42:14 -05:00
Lucio Franco and GitHub
af807c3ccd
feat(transport): Add server side peer cert support ( #228 )
...
* feat(transport): Add server side peer cert support
2020-01-11 14:17:19 -08:00
Johan Andersson and Lucio Franco
3be8bc1668
Run CI checks & tests on Windows and Mac ( #206 )
...
* Run CI checks & tests on Windows and Mac
* Fix uds windows compile
Co-authored-by: Lucio Franco <[email protected] >
2020-01-11 14:16:54 -08:00
Thomas May and Lucio Franco
59d008db7e
chore(docs): Fix examples link ( #202 )
...
* url is just examples, not tonic-examples
* Change root directory from tonic-examples to examples. Matches current directory structure.
2019-12-20 22:39:39 -05:00
Juan Alvarez and Lucio Franco
4e5c6c8f23
chore(example): update guides to 0.1-beta.1 ( #198 )
...
* update routeguide
* update helloworld
* depend on tonic beta.1
* Apply suggestions from code review
Co-Authored-By: Lucio Franco <[email protected] >
Co-authored-by: Lucio Franco <[email protected] >
2019-12-19 18:23:25 -05:00
Juan Alvarez and Lucio Franco
3a5c66d5f2
fix(build): snake_case service names ( #190 )
2019-12-14 15:08:28 -05:00
Lucio Franco and GitHub
82facb6283
chore: Apply clippy ( #189 )
2019-12-13 23:55:49 -05:00
Lucio Franco and GitHub
502491a590
fix(transport): Remove with_rustls for tls config ( #188 )
2019-12-13 20:31:22 -05:00
Lucio Franco and GitHub
3eb76abf9f
feat(transport): Add remote_addr to Request on the server si… ( #186 )
2019-12-13 20:25:00 -05:00
Lucio Franco and GitHub
b90c340800
feat(transport): Allow custom IO and UDS example ( #184 )
...
Closes #136
2019-12-13 17:14:49 -05:00
Lucio Franco and GitHub
d9a481baef
chore: Reorganize examples and interop crates ( #180 )
...
* chore: Reorganize examples and interop crates
* fix interop tests
2019-12-12 11:53:15 -05:00