Interface IMessageFilter
- Namespace
- AnyProtocol.Abstraction
- Assembly
- AnyProtocol.Abstraction.dll
Defines operations for message.
public interface IMessageFilter
Methods
InvokeAsync(IMessageContext, MessageFilterDelegate)
Performs the invoke async operation.
ValueTask InvokeAsync(IMessageContext context, MessageFilterDelegate next)
Parameters
contextIMessageContextThe context for the current operation.
nextMessageFilterDelegateThe next.
Returns
- ValueTask
A task that represents the asynchronous operation.