Example #1
0
 public ServerStreamingServerCallHandler(
     ServerStreamingServerMethodInvoker <TService, TRequest, TResponse> unaryMethodInvoker,
     ILoggerFactory loggerFactory,
     CallHandlerDescriptorInfo descriptorInfo,
     JsonSerializerOptions options) : base(unaryMethodInvoker, loggerFactory, descriptorInfo, options)
 {
     _invoker = unaryMethodInvoker;
 }
Example #2
0
 protected ServerCallHandlerBase(
     ServerMethodInvokerBase <TService, TRequest, TResponse> methodInvoker,
     ILoggerFactory loggerFactory,
     CallHandlerDescriptorInfo descriptorInfo,
     JsonSerializerOptions serializerOptions)
 {
     MethodInvoker     = methodInvoker;
     DescriptorInfo    = descriptorInfo;
     SerializerOptions = serializerOptions;
     Logger            = loggerFactory.CreateLogger(LoggerName);
 }