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