Skip to content

Commit 25c2b91

Browse files
authored
Update README.md (#1816)
1 parent b77a589 commit 25c2b91

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Grpc.Net.Client.Web/README.md

+10
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ The preceding code:
3131
* `GrpcWebMode.GrpcWebText` configures content to be base64 encoded. Required for server streaming calls in browsers.
3232
* **HttpVersion**: HTTP protocol `Version` used to set [`HttpRequestMessage.Version`](https://docs.microsoft.com/dotnet/api/system.net.http.httprequestmessage.version#system-net-http-httprequestmessage-version) on the underlying gRPC HTTP request. gRPC-Web doesn't require a specific version and doesn't override the default unless specified.
3333

34+
### gRPC-Web and streaming
35+
36+
Traditional gRPC over HTTP/2 supports streaming in all directions. gRPC-Web offers limited support for streaming:
37+
38+
* gRPC-Web browser clients don't support calling client streaming and bidirectional streaming methods.
39+
* gRPC-Web .NET clients don't support calling client streaming and bidirectional streaming methods over HTTP/1.1.
40+
* ASP.NET Core gRPC services hosted on Azure App Service and IIS don't support bidirectional streaming.
41+
42+
When using gRPC-Web, we only recommend the use of unary methods and server streaming methods.
43+
3444
## Links
3545

3646
* [Documentation](https://docs.microsoft.com/aspnet/core/grpc/browser)

0 commit comments

Comments
 (0)