chore(web): Minor enhancement in document (#956)

This commit is contained in:
tottoto
2022-04-01 11:25:18 -04:00
committed by GitHub
parent c0970521f9
commit 738ccba5e7
+3 -3
View File
@@ -1,13 +1,13 @@
# tonic-web # tonic-web
Enables tonic servers to handle requests from `grpc-web` clients directly, Enables tonic servers to handle requests from `grpc-web` clients directly,
without the need of an external proxy. without the need of an external proxy.
## Getting Started ## Getting Started
```toml ```toml
[dependencies] [dependencies]
tonic_web = "0.1" tonic-web = "<tonic-web-version>"
``` ```
## Enabling tonic services ## Enabling tonic services
@@ -35,4 +35,4 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
See [the examples folder][example] for a server and client example. See [the examples folder][example] for a server and client example.
[example]: https://github.com/hyperium/tonic/tree/master/examples/src/tower [example]: https://github.com/hyperium/tonic/tree/master/examples/src/grpc-web