2
0
mirror of https://github.com/soheilhy/cmux.git synced 2024-11-10 03:31:52 +08:00

Add docs for the Java gRPC client

This commit is contained in:
Soheil Hassas Yeganeh 2016-04-24 14:52:49 -04:00
parent d83a667cb2
commit dc30a14f2d

View File

@ -67,3 +67,10 @@ would not be set in your handlers.
when it's accepted. For example, one connection can be either gRPC or REST, but 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
frame from the server. If you are using the Java client to connect to a cmux'ed
gRPC server please match with writers:
```go
grpcl := m.MatchWithWriters(cmux.HTTP2MatchHeaderFieldSendSettings("content-type", "application/grpc"))
```