Interface IOperationMessagePayload
- Namespace
- HotChocolate.AspNetCore.Subscriptions.Protocols
- Assembly
- HotChocolate.AspNetCore.dll
The operation message with a custom payload.
public interface IOperationMessagePayload
Methods
As<T>()
Deserializes the payload as the specified type.
T? As<T>() where T : class
Returns
- T
Returns the deserialized payload.
Type Parameters
T
The type as which the payload shall be deserialized.