Method ReplyAsync
ReplyAsync(NatsHeaders?, string?, NatsPubOpts?, CancellationToken)
Reply with an empty message.
ValueTask ReplyAsync(NatsHeaders? headers = null, string? replyTo = null, NatsPubOpts? opts = null, CancellationToken cancellationToken = default)
Parameters
headers
NatsHeadersOptional message headers.
replyTo
stringOptional reply-to subject.
opts
NatsPubOptsA NatsPubOpts for publishing options.
cancellationToken
CancellationTokenA CancellationToken used to cancel the command.