-
-
Notifications
You must be signed in to change notification settings - Fork 234
Closed
Labels
Description
GetPolicyStatusResponse pr =
new()
{
PolicyNumber = 12345
InceptionDate = Timestamp.FromDateTime(DateTime.UtcNow),
ExpirationDate = Timestamp.FromDateTime(DateTime.UtcNow),
};
.RespondWith(
Response
.Create()
.WithHeader("Content-Type", "application/grpc")
.WithTrailingHeader("grpc-status", "0")
.WithBodyAsProtoBuf(protoDefinition, "Policy.GetPolicyStatusResponse", pr)
.WithTransformer()
);This throws "Bad Response"