Home
last modified time | relevance | path

Searched refs:ServerCallContextInterceptor (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Interceptors/
DServerInterceptorTest.cs44 …var interceptor = new ServerCallContextInterceptor(ctx => ctx.RequestHeaders.Add(new Metadata.Entr… in AddRequestHeaderInServerInterceptor()
68 .Intercept(new ServerCallContextInterceptor(ctx => stringBuilder.Append("A"))) in VerifyInterceptorOrdering()
69 .Intercept(new ServerCallContextInterceptor(ctx => stringBuilder.Append("B1")), in VerifyInterceptorOrdering()
70 new ServerCallContextInterceptor(ctx => stringBuilder.Append("B2")), in VerifyInterceptorOrdering()
71 new ServerCallContextInterceptor(ctx => stringBuilder.Append("B3"))) in VerifyInterceptorOrdering()
72 .Intercept(new ServerCallContextInterceptor(ctx => stringBuilder.Append("C"))); in VerifyInterceptorOrdering()
87 …rt.Throws<ArgumentNullException>(() => sd.Intercept(new[]{new ServerCallContextInterceptor(ctx=>{}… in CheckNullInterceptorRegistrationFails()
91 private class ServerCallContextInterceptor : Interceptor class in Grpc.Core.Interceptors.Tests.ServerInterceptorTest
95 public ServerCallContextInterceptor(Action<ServerCallContext> interceptor) in ServerCallContextInterceptor() method in Grpc.Core.Interceptors.Tests.ServerInterceptorTest.ServerCallContextInterceptor