Method RequestBodyAndHeaders<T>(IRouteContext, string, object?, IEnumerable<KeyValuePair<string, object?>>, CancellationToken)

Assembly: redb.Route.TestKit.dll

Request-reply with headers; returns the reply body converted to T.

public static Task<T?> RequestBodyAndHeaders<T>(this IRouteContext context, string endpointUri, object? body, IEnumerable<KeyValuePair<string, object?>> headers, CancellationToken ct = default)