Skip to content

Commit 85787a7

Browse files
authored
Remove reference to obsolete property from Readme and mention alternative (#2631)
1 parent d170b24 commit 85787a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ The preceding code:
2929
* **GrpcWebMode**: An enumeration type that specifies whether the gRPC HTTP request `Content-Type` is `application/grpc-web` or `application/grpc-web-text`.
3030
* `GrpcWebMode.GrpcWeb` configures content to be sent without encoding. Default value.
3131
* `GrpcWebMode.GrpcWebText` configures content to be base64 encoded. Required for server streaming calls in browsers.
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.
32+
33+
`GrpcChannelOptions.HttpVersion` and `GrpcChannelOptions.HttpVersionPolicy` can be used to configure the HTTP protocol version.
3334

3435
### gRPC-Web and streaming
3536

0 commit comments

Comments
 (0)