Skip to content

Commit

Permalink
Revert "Update document to mention Nginx server-streaming support (#1403
Browse files Browse the repository at this point in the history
)" (#1408)

This reverts commit 55b9218.
  • Loading branch information
dimo414 authored Mar 7, 2024
1 parent 0350052 commit a639b4c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ frameworks for languages such as Python, Java, and Node. For details, see the
## Streaming Support
gRPC-web currently supports 2 RPC modes:
- Unary RPCs ([example](#make-a-unary-rpc-call))
- Server-side Streaming RPCs ([example](#server-side-streaming)) (NOTE: Only when [`grpcwebtext`](#wire-format-mode) mode is used, or when [Nginx](#ecosystem) is used)
- Server-side Streaming RPCs ([example](#server-side-streaming)) (NOTE: Only when [`grpcwebtext`](#wire-format-mode) mode is used.)

Client-side and Bi-directional streaming is not currently supported (see [streaming roadmap](doc/streaming-roadmap.md)).

Expand Down Expand Up @@ -123,7 +123,7 @@ For more information about the gRPC-web wire format, see the

- `Content-type: application/grpc-web+proto`
- Payload are in the binary protobuf format.
- Only unary calls are supported, unless when [Nginx](#ecosystem) is used.
- Only unary calls are supported.

## How It Works

Expand Down Expand Up @@ -337,16 +337,15 @@ Multiple proxies support the gRPC-web protocol.
$ docker-compose up -d node-server envoy commonjs-client
```

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)).

3. You can also try the [gRPC-web Go proxy][].
2. You can also try the [gRPC-web Go proxy][].

```sh
$ docker-compose up -d node-server grpcwebproxy binary-client
```

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/).
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/).

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).

### Server Frameworks with gRPC-Web support
- [Armeria (JVM)](https://armeria.dev/docs/server-grpc/#grpc-web)
Expand Down

0 comments on commit a639b4c

Please sign in to comment.