Class ResponseHandlerBase<TRequest, TResponse>
Base class to handle responses of a specific request.
public abstract class ResponseHandlerBase<TRequest, TResponse> : HandlerBase<CarrotResponse<TRequest, TResponse>, NoResponse> where TRequest : _IRequest<TRequest, TResponse> where TResponse : class
Type Parameters
TRequestThe type of the original request being handled.
TResponseThe type of the response being handled.
- Inheritance
-
ResponseHandlerBase<TRequest, TResponse>
- Inherited Members
Constructors
ResponseHandlerBase()
protected ResponseHandlerBase()
Methods
Ok()
Creates a handler result indicating that the event processing is successful. The message will be acked
public IHandlerResult Ok()