chore(web): Minor enhancement in document (#956)
This commit is contained in:
+3
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user