Class GrpcAttachmentOptions

Namespace
ProtoTest.Grpc
Assembly
ProtoTest.Grpc.dll

Controls which gRPC request and response messages are automatically attached to a test result. Attachments are serialized to Json with camelCase field names, redacted through the shared ProtoHttpAttachmentOptions rules, and capped at MaxDiagnosticBodyLength. Binds from the inherited ConfigurationSectionName.

public sealed class GrpcAttachmentOptions : ProtoHttpAttachmentOptions, IProtoConfigurableOptions
Inheritance
GrpcAttachmentOptions
Implements
Inherited Members
Extension Methods

Constructors

GrpcAttachmentOptions()

public GrpcAttachmentOptions()

Fields

ConfigurationSection

The configuration section this type binds from.

public const string ConfigurationSection = "ProtoTest:Grpc:Attachments"

Field Value

string