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: src/Grpc.Net.Client.Web/README.md
+10
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,16 @@ The preceding code:
31
31
*`GrpcWebMode.GrpcWebText` configures content to be base64 encoded. Required for server streaming calls in browsers.
32
32
***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.
33
33
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.
0 commit comments