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 ProtoDiagnosticCaptureOptions rules, and capped at MaxDiagnosticBodyLength.

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

Constructors

GrpcAttachmentOptions()

public GrpcAttachmentOptions()

Fields

ConfigurationSection

The pre-1.1 name of SectionName.

[Obsolete("Use the inherited ConfigurationSectionName instance property, or SectionName.")]
public const string ConfigurationSection = "ProtoTest:Grpc:Attachments"

Field Value

string

SectionName

The section this type binds from. It is not named ConfigurationSectionName because the inherited instance property already carries that name; the instance property returns this value.

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

Field Value

string