Closed wingyplus closed 1 year ago
Currently, the interceptor behavior is defined under the GPRC namespace:
GPRC
GRPC.ClientInterceptor GRPC.ServerInterceptor
It seems that it's not consistent with adapter behavior that uses GRPC.Client.Adapter or GRPC.Server.Adapter.
GRPC.Client.Adapter
GRPC.Server.Adapter
So I would like purpose to move interceptor behavior to under the client/server side. So it would become:
GRPC.Client.Interceptor GRPC.Server.Interceptor
And the implementation of the interceptor, such as logger, would move into grpc/[client|server]/interceptors as adapters do.
grpc/[client|server]/interceptors
Currently, the interceptor behavior is defined under the
GPRC
namespace:It seems that it's not consistent with adapter behavior that uses
GRPC.Client.Adapter
orGRPC.Server.Adapter
.So I would like purpose to move interceptor behavior to under the client/server side. So it would become:
And the implementation of the interceptor, such as logger, would move into
grpc/[client|server]/interceptors
as adapters do.