Table of Contents

Class ResponseSubscriptionEventArgs<TRequest, TResponse>

Namespace
CarrotMQ.Core.Handlers
Assembly
CarrotMQ.Core.dll

Provides data for the ResponseReceived event.

public class ResponseSubscriptionEventArgs<TRequest, TResponse> : EventArgs where TRequest : _IRequest<TRequest, TResponse> where TResponse : class

Type Parameters

TRequest

The type of the original request that generated this response.

TResponse

The type of the response.

Inheritance
ResponseSubscriptionEventArgs<TRequest, TResponse>
Inherited Members

Constructors

ResponseSubscriptionEventArgs(CarrotResponse<TRequest, TResponse>, ConsumerContext)

public ResponseSubscriptionEventArgs(CarrotResponse<TRequest, TResponse> response, ConsumerContext consumerContext)

Parameters

response CarrotResponse<TRequest, TResponse>
consumerContext ConsumerContext

Properties

ConsumerContext

public ConsumerContext ConsumerContext { get; }

Property Value

ConsumerContext

Response

CarrotMQ response message

public CarrotResponse<TRequest, TResponse> Response { get; }

Property Value

CarrotResponse<TRequest, TResponse>