From 24f6331d7e2a3a99212d6d0b52de193ebb969c20 Mon Sep 17 00:00:00 2001 From: Doug Fawley Date: Tue, 19 Nov 2019 14:30:36 -0800 Subject: [PATCH] server: correct doc regarding unknown handlers and interceptors (#3195) --- server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.go b/server.go index e54083d850c..ae369b71ab9 100644 --- a/server.go +++ b/server.go @@ -344,8 +344,8 @@ func StatsHandler(h stats.Handler) ServerOption { // unknown service handler. The provided method is a bidi-streaming RPC service // handler that will be invoked instead of returning the "unimplemented" gRPC // error whenever a request is received for an unregistered service or method. -// The handling function has full access to the Context of the request and the -// stream, and the invocation bypasses interceptors. +// The handling function and stream interceptor (if set) have full access to +// the ServerStream, including its Context. func UnknownServiceHandler(streamHandler StreamHandler) ServerOption { return newFuncServerOption(func(o *serverOptions) { o.unknownStreamDesc = &StreamDesc{