1 write to SerializerOptions
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\CallHandlers\ServerCallHandlerBase.cs (1)
33
SerializerOptions
= serializerOptions;
6 references to SerializerOptions
Microsoft.AspNetCore.Grpc.JsonTranscoding (6)
Internal\CallHandlers\ServerCallHandlerBase.cs (2)
59
return AwaitHandleCall(serverCallContext, MethodInvoker.Method, IsStreaming,
SerializerOptions
, handleCallTask);
64
return serverCallContext.ProcessHandlerErrorAsync(ex, MethodInvoker.Method.Name, IsStreaming,
SerializerOptions
);
Internal\CallHandlers\ServerStreamingServerCallHandler.cs (2)
30
var request = await JsonRequestHelpers.ReadMessage<TRequest>(serverCallContext,
SerializerOptions
);
32
var streamWriter = new HttpContextStreamWriter<TResponse>(serverCallContext,
SerializerOptions
);
Internal\CallHandlers\UnaryServerCallHandler.cs (2)
31
var request = await JsonRequestHelpers.ReadMessage<TRequest>(serverCallContext,
SerializerOptions
);
54
await JsonRequestHelpers.SendMessage(serverCallContext,
SerializerOptions
, response, CancellationToken.None);