Table of Contents

Class MediatorRequestExtensions

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll
public static class MediatorRequestExtensions
Inheritance
MediatorRequestExtensions
Inherited Members

Methods

SendRequest<T>(IMediator, Request<T>)

Sends a request, with the specified response type, and awaits the response.

public static Task<T> SendRequest<T>(this IMediator mediator, Request<T> request) where T : class

Parameters

mediator IMediator
request Request<T>

The request message

Returns

Task<T>

The response object

Type Parameters

T

The response type