mirror of
https://github.com/soheilhy/cmux.git
synced 2024-11-10 03:31:52 +08:00
Update limitations for gRPC clients
cc @dfawley
This commit is contained in:
parent
8a8ea3c539
commit
5c214b460d
@ -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
|
not both. That is, we assume that a client connection is either used for gRPC
|
||||||
or REST.
|
or REST.
|
||||||
|
|
||||||
* *Java gRPC Clients*: Java gRPC client blocks until it receives a SETTINGS
|
* *gRPC Clients*: Java gRPC client and Go gRPC client after release 1.18.0
|
||||||
frame from the server. If you are using the Java client to connect to a cmux'ed
|
block until it receives a SETTINGS frame from the server. If you are using the
|
||||||
gRPC server please match with writers:
|
gRPC client to connect to a cmux'ed gRPC server please match with writers:
|
||||||
```go
|
```go
|
||||||
grpcl := m.MatchWithWriters(cmux.HTTP2MatchHeaderFieldSendSettings("content-type", "application/grpc"))
|
grpcl := m.MatchWithWriters(cmux.HTTP2MatchHeaderFieldSendSettings("content-type", "application/grpc"))
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user