From dc30a14f2db1c6757f71ffc12496ab5c19ba7c99 Mon Sep 17 00:00:00 2001 From: Soheil Hassas Yeganeh Date: Sun, 24 Apr 2016 14:52:49 -0400 Subject: [PATCH] Add docs for the Java gRPC client --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 9317546..16890ce 100644 --- a/README.md +++ b/README.md @@ -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 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: +```go +grpcl := m.MatchWithWriters(cmux.HTTP2MatchHeaderFieldSendSettings("content-type", "application/grpc")) +```