< Summary - AsyncResponse (Release / net8.0+net10.0 / unit+integration)

Information
Class: AsyncResponse.Channels.Redis.RedisAsyncResponseOptions
Assembly: AsyncResponse.Channels.Redis
File(s): /home/runner/work/AsyncResponse/AsyncResponse/src/Channels/AsyncResponse.Channels.Redis/RedisAsyncResponseOptions.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 18
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%11100%

File(s)

/home/runner/work/AsyncResponse/AsyncResponse/src/Channels/AsyncResponse.Channels.Redis/RedisAsyncResponseOptions.cs

#LineLine coverage
 1namespace AsyncResponse.Channels.Redis;
 2
 3/// <summary>
 4/// Options for the Redis async-response channel. Recovery-state expiry, default timeout, and the
 5/// remote stack-trace policy are inherited from <see cref="DurableAsyncResponseChannelOptions"/>.
 6/// </summary>
 7public sealed class RedisAsyncResponseOptions : DurableAsyncResponseChannelOptions
 8{
 9    /// <summary>
 10    /// Prefix for every Redis key and pub/sub channel created by the channel:
 11    /// response channels are <c>{KeyPrefix}:response:{correlationId}</c> and recovery state lives
 12    /// at <c>{KeyPrefix}:recovery:{correlationId}</c>. Change it to isolate multiple
 13    /// applications or environments sharing one Redis. Treat as a deployment-wide contract:
 14    /// publishers and subscribers must agree on it, and changing it orphans existing
 15    /// recovery state.
 16    /// </summary>
 317    public string KeyPrefix { get; set; } = "asyncresponse";
 18}

Methods/Properties

.ctor()