1 write to BodyDescriptor
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\CallHandlers\CallHandlerDescriptorInfo.cs (1)
22
BodyDescriptor
= bodyDescriptor;
6 references to BodyDescriptor
Microsoft.AspNetCore.Grpc.JsonTranscoding (6)
Internal\JsonRequestHelpers.cs (6)
190
if (serverCallContext.DescriptorInfo.
BodyDescriptor
!= null)
195
if (serverCallContext.DescriptorInfo.
BodyDescriptor
.FullName == HttpBody.Descriptor.FullName)
242
type = serverCallContext.DescriptorInfo.
BodyDescriptor
.ClrType;
245
bodyContent = (IMessage)(await JsonSerializer.DeserializeAsync(stream, serverCallContext.DescriptorInfo.
BodyDescriptor
.ClrType, serializerOptions))!;
320
var httpBody = (IMessage)Activator.CreateInstance(serverCallContext.DescriptorInfo.
BodyDescriptor
!.ClrType)!;
409
if (serverCallContext.DescriptorInfo.
BodyDescriptor
!= null)