# Namespace Grpc.Core.Interceptors (2.66.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.66.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Interceptors)
- [2.63.0](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/2.63.0/Grpc.Core.Interceptors)
- [2.48.0](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/2.48.0/Grpc.Core.Interceptors)

## Classes

### [CallInvokerExtensions](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Interceptors.CallInvokerExtensions)

Extends the CallInvoker class to provide the interceptor facility on the client side.

### [ChannelExtensions](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Interceptors.ChannelExtensions)

Provides extension methods to make it easy to register interceptors on Channel objects.

### [Interceptor](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Interceptors.Interceptor)

Serves as the base class for gRPC interceptors.

## Structs

### [ClientInterceptorContext\<TRequest, TResponse\>](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Interceptors.ClientInterceptorContext-2)

Carries along the context associated with intercepted invocations on the client side.

## Delegates

### [Interceptor.AsyncClientStreamingCallContinuation\<TRequest, TResponse\>](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Interceptors.Interceptor.AsyncClientStreamingCallContinuation-2)

Represents a continuation for intercepting asynchronous client-streaming invocations.
A delegate of this type is passed to the AsyncClientStreamingCall method
when an outgoing invocation is being intercepted and calling the
delegate will invoke the next interceptor in the chain, or the underlying
call invoker if called from the last interceptor. The interceptor is
allowed to call it zero, one, or multiple times, passing it the appropriate
request value and context as it sees fit.

### [Interceptor.AsyncDuplexStreamingCallContinuation\<TRequest, TResponse\>](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Interceptors.Interceptor.AsyncDuplexStreamingCallContinuation-2)

Represents a continuation for intercepting asynchronous duplex invocations.
A delegate of this type is passed to the AsyncDuplexStreamingCall method
when an outgoing invocation is being intercepted and calling the
delegate will invoke the next interceptor in the chain, or the underlying
call invoker if called from the last interceptor. The interceptor is
allowed to call it zero, one, or multiple times, passing it the appropriate
request value and context as it sees fit.

### [Interceptor.AsyncServerStreamingCallContinuation\<TRequest, TResponse\>](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Interceptors.Interceptor.AsyncServerStreamingCallContinuation-2)

Represents a continuation for intercepting asynchronous server-streaming invocations.
A delegate of this type is passed to the AsyncServerStreamingCall method
when an outgoing invocation is being intercepted and calling the
delegate will invoke the next interceptor in the chain, or the underlying
call invoker if called from the last interceptor. The interceptor is
allowed to call it zero, one, or multiple times, passing it the appropriate
request value and context as it sees fit.

### [Interceptor.AsyncUnaryCallContinuation\<TRequest, TResponse\>](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Interceptors.Interceptor.AsyncUnaryCallContinuation-2)

Represents a continuation for intercepting simple asynchronous invocations.
A delegate of this type is passed to the AsyncUnaryCall method
when an outgoing invocation is being intercepted and calling the
delegate will invoke the next interceptor in the chain, or the underlying
call invoker if called from the last interceptor. The interceptor is
allowed to call it zero, one, or multiple times, passing it the appropriate
request value and context as it sees fit.

### [Interceptor.BlockingUnaryCallContinuation\<TRequest, TResponse\>](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Interceptors.Interceptor.BlockingUnaryCallContinuation-2)

Represents a continuation for intercepting simple blocking invocations.
A delegate of this type is passed to the BlockingUnaryCall method
when an outgoing invocation is being intercepted and calling the
delegate will invoke the next interceptor in the chain, or the underlying
call invoker if called from the last interceptor. The interceptor is
allowed to call it zero, one, or multiple times, passing it the appropriate
context and request values as it sees fit.