Class QuerySubscriptionClientInfo
- Namespace
- Cratis.Arc.Queries
- Assembly
- Cratis.Arc.Core.dll
Represents client information for a query subscription.
public sealed record QuerySubscriptionClientInfo : IEquatable<QuerySubscriptionClientInfo>
- Inheritance
-
QuerySubscriptionClientInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
QuerySubscriptionClientInfo()
public QuerySubscriptionClientInfo()
Properties
Protocol
Gets the connection protocol (WebSocket or SSE).
public required string Protocol { get; init; }
Property Value
RemoteIpAddress
Gets the remote IP address.
public string? RemoteIpAddress { get; init; }
Property Value
UserAgent
Gets the user agent string.
public string? UserAgent { get; init; }
Property Value
UserId
Gets the user identity (if authenticated).
public string? UserId { get; init; }
Property Value
Methods
Equals(QuerySubscriptionClientInfo?)
public bool Equals(QuerySubscriptionClientInfo? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(QuerySubscriptionClientInfo?, QuerySubscriptionClientInfo?)
public static bool operator ==(QuerySubscriptionClientInfo? left, QuerySubscriptionClientInfo? right)
Parameters
Returns
operator !=(QuerySubscriptionClientInfo?, QuerySubscriptionClientInfo?)
public static bool operator !=(QuerySubscriptionClientInfo? left, QuerySubscriptionClientInfo? right)