Update UnknownServiceHandler comment to be clearer about interceptor behavior (#1566)

This commit is contained in:
dfawley 2017-10-05 16:17:40 -07:00 committed by GitHub
parent 22c3f92f5f
commit 5279edf262
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ func StatsHandler(h stats.Handler) ServerOption {
// 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 passes through interceptors.
// stream, and the invocation bypasses interceptors.
func UnknownServiceHandler(streamHandler StreamHandler) ServerOption {
return func(o *options) {
o.unknownStreamDesc = &StreamDesc{