Class ConnectionInfo
Represents information about a RabbitMQ connection from the management API.
public sealed record ConnectionInfo : IEquatable<ConnectionInfo>
- Inheritance
-
ConnectionInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
ConnectionInfo(string, string, int, IReadOnlyDictionary<string, string>, DateTimeOffset)
Represents information about a RabbitMQ connection from the management API.
public ConnectionInfo(string Name, string State, int Channels, IReadOnlyDictionary<string, string> ClientProperties, DateTimeOffset ConnectedAt)
Parameters
NamestringThe connection name.
StatestringThe connection state (e.g., running, blocked).
ChannelsintThe number of channels on this connection.
ClientPropertiesIReadOnlyDictionary<string, string>The client-provided properties.
ConnectedAtDateTimeOffsetThe timestamp when the connection was established.
Properties
Channels
The number of channels on this connection.
public int Channels { get; init; }
Property Value
ClientProperties
The client-provided properties.
public IReadOnlyDictionary<string, string> ClientProperties { get; init; }
Property Value
ConnectedAt
The timestamp when the connection was established.
public DateTimeOffset ConnectedAt { get; init; }
Property Value
Name
The connection name.
public string Name { get; init; }
Property Value
State
The connection state (e.g., running, blocked).
public string State { get; init; }