Table of Contents

Struct MessageBrokerPushResult

Namespace
LfrlAnvil.MessageBroker.Client
Assembly
LfrlAnvil.MessageBroker.Client.dll

Represents the result of pushing a message to a channel.

public readonly struct MessageBrokerPushResult
Inherited Members

Properties

Confirm

Specifies whether the client requested confirmation from the server that it received the message.

public bool Confirm { get; }

Property Value

bool

Id

Identifier of the message accepted by the server.

public ulong? Id { get; }

Property Value

ulong?

Remarks

Id will not be null only when the Confirm option is equal to true and the message has been successfully received by the server.

NotBound

Specifies whether request to the server has been cancelled because the client does not contain a local publisher bound to the channel.

public bool NotBound { get; }

Property Value

bool

Methods

ToString()

Returns a string representation of this MessageBrokerPushResult instance.

[Pure]
public override string ToString()

Returns

string

String representation.