You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ frameworks for languages such as Python, Java, and Node. For details, see the
13
13
## Streaming Support
14
14
gRPC-web currently supports 2 RPC modes:
15
15
- Unary RPCs ([example](#make-a-unary-rpc-call))
16
-
- Server-side Streaming RPCs ([example](#server-side-streaming)) (NOTE: Only when [`grpcwebtext`](#wire-format-mode) mode is used.)
16
+
- Server-side Streaming RPCs ([example](#server-side-streaming)) (NOTE: Only when [`grpcwebtext`](#wire-format-mode) mode is used, or when [Nginx](#ecosystem) is used)
17
17
18
18
Client-side and Bi-directional streaming is not currently supported (see [streaming roadmap](doc/streaming-roadmap.md)).
19
19
@@ -123,7 +123,7 @@ For more information about the gRPC-web wire format, see the
123
123
124
124
-`Content-type: application/grpc-web+proto`
125
125
- Payload are in the binary protobuf format.
126
-
- Only unary calls are supported.
126
+
- Only unary calls are supported, unless when [Nginx](#ecosystem) is used.
127
127
128
128
## How It Works
129
129
@@ -337,15 +337,16 @@ Multiple proxies support the gRPC-web protocol.
337
337
$ docker-compose up -d node-server envoy commonjs-client
338
338
```
339
339
340
-
2. You can also try the [gRPC-web Go proxy][].
340
+
2.[Nginx](https://www.nginx.com/) has a grpc-web module ([doc](https://nginx.org/en/docs/http/ngx_http_grpc_module.html), [announcement](https://www.nginx.com/blog/nginx-1-13-10-grpc/)). It seems to work with simple configs, according to [user feedbacks](https://github.com/grpc/grpc-web/discussions/1322)), even with server-streaming support ([user feedback](https://github.com/grpc/grpc-web/issues/1391)).
341
+
342
+
3. You can also try the [gRPC-web Go proxy][].
341
343
342
344
```sh
343
345
$ docker-compose up -d node-server grpcwebproxy binary-client
344
346
```
345
347
346
-
3. Apache [APISIX](https://apisix.apache.org/) has also added grpc-web support, and more details can be found [here](https://apisix.apache.org/blog/2022/01/25/apisix-grpc-web-integration/).
348
+
4. Apache [APISIX](https://apisix.apache.org/) has also added grpc-web support, and more details can be found [here](https://apisix.apache.org/blog/2022/01/25/apisix-grpc-web-integration/).
347
349
348
-
4.[Nginx](https://www.nginx.com/) has a grpc-web module ([doc](https://nginx.org/en/docs/http/ngx_http_grpc_module.html), [announcement](https://www.nginx.com/blog/nginx-1-13-10-grpc/))), and seems to work with simple configs, according to user [feedback](https://github.com/grpc/grpc-web/discussions/1322).
0 commit comments