2
0
mirror of https://github.com/soheilhy/cmux.git synced 2024-09-19 10:35:47 +08:00

Update limitations for gRPC clients

cc @dfawley
This commit is contained in:
Menghan Li 2019-03-12 15:51:03 -07:00 committed by GitHub
parent 8a8ea3c539
commit 5c214b460d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,9 +68,9 @@ when it's accepted. For example, one connection can be either gRPC or REST, but
not both. That is, we assume that a client connection is either used for gRPC
or REST.
* *Java gRPC Clients*: Java gRPC client blocks until it receives a SETTINGS
frame from the server. If you are using the Java client to connect to a cmux'ed
gRPC server please match with writers:
* *gRPC Clients*: Java gRPC client and Go gRPC client after release 1.18.0
block until it receives a SETTINGS frame from the server. If you are using the
gRPC client to connect to a cmux'ed gRPC server please match with writers:
```go
grpcl := m.MatchWithWriters(cmux.HTTP2MatchHeaderFieldSendSettings("content-type", "application/grpc"))
```