Class JsonRpcOptions
- Namespace
- Nerdbank.JsonRpc
- Assembly
- Nerdbank.JsonRpc.dll
Provides immutable configuration that can be shared across independent JsonRpc connections.
public sealed record JsonRpcOptions : IEquatable<JsonRpcOptions>
- Inheritance
-
JsonRpcOptions
- Implements
- Inherited Members
Properties
AdditionalExceptionTypes
Gets or initializes additional exception types that may be reconstructed from peer diagnostics.
public RemoteExceptionTypeMapping AdditionalExceptionTypes { get; init; }
Property Value
Remarks
The mapping is frozen when assigned and may then be shared across connections.
Default
Gets the default options.
public static JsonRpcOptions Default { get; }
Property Value
IncludeExceptionDetails
Gets a value indicating whether exception details are included in error responses.
public bool IncludeExceptionDetails { get; init; }