Interface IJsonRpcFormatterState
- Namespace
- StreamJsonRpc.Reflection
- Assembly
- StreamJsonRpc.dll
An interface implemented by IJsonRpcMessageFormatter instances to support some formatter extensions such as MessageFormatterEnumerableTracker.
public interface IJsonRpcFormatterState
Properties
DeserializingMessageWithId
Gets the ID of the response currently being deserialized.
RequestId DeserializingMessageWithId { get; }
Property Value
SerializingMessageWithId
Gets the id of the request or response currently being serialized.
RequestId SerializingMessageWithId { get; }
Property Value
SerializingRequest
Gets a value indicating whether a JsonRpcRequest is being serialized.
bool SerializingRequest { get; }
Property Value
Remarks
A response is being serialized if this property's value is false while SerializingMessageWithId is non-empty.