Skip to main content

ServiceStackClientInterceptor

Assembly: ServiceStack.GrpcClient.dll​
View Source​
Declaration
public class ServiceStackClientInterceptor : Interceptor

Properties​

Config​

View Source​
Declaration
public GrpcClientConfig Config { get; }

Methods​

AsyncUnaryCall<TRequest, TResponse>(TRequest, ClientInterceptorContext<TRequest, TResponse>, AsyncUnaryCallContinuation<TRequest, TResponse>)​

View Source​
Declaration
public override AsyncUnaryCall<TResponse> AsyncUnaryCall<TRequest, TResponse>(TRequest requestDto, ClientInterceptorContext<TRequest, TResponse> context, AsyncUnaryCallContinuation<TRequest, TResponse> continuation)
Returns​

AsyncUnaryCall<<TResponse>>

Parameters​
TypeName
<TRequest>requestDto
ClientInterceptorContext<<TRequest>,<TResponse>>context
AsyncUnaryCallContinuation<<TRequest>,<TResponse>>continuation
Type Parameters​
  • TRequest
  • TResponse

BlockingUnaryCall<TRequest, TResponse>(TRequest, ClientInterceptorContext<TRequest, TResponse>, BlockingUnaryCallContinuation<TRequest, TResponse>)​

View Source​
Declaration
public override TResponse BlockingUnaryCall<TRequest, TResponse>(TRequest requestDto, ClientInterceptorContext<TRequest, TResponse> context, BlockingUnaryCallContinuation<TRequest, TResponse> continuation)
Returns​

<TResponse>

Parameters​
TypeName
<TRequest>requestDto
ClientInterceptorContext<<TRequest>,<TResponse>>context
BlockingUnaryCallContinuation<<TRequest>,<TResponse>>continuation
Type Parameters​
  • TRequest
  • TResponse