Nats

Undocumented in source.

Constructors

this
this(string natsUri, string name)
Undocumented in source.
this
this(NatsClientConfig config)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
connect
void connect()
Undocumented in source. Be warned that the author may not have intended to support it.
connected
bool connected()
Undocumented in source. Be warned that the author may not have intended to support it.
disconnect
void disconnect()
Undocumented in source. Be warned that the author may not have intended to support it.
flush
Duration flush(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
publish
void publish(const(char)[] subject, const(T)[] payload)
Undocumented in source. Be warned that the author may not have intended to support it.
publishRequest
void publishRequest(const(char)[] subject, const(T)[] payload, NatsHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
statistics
const(Statistics) statistics()
Undocumented in source. Be warned that the author may not have intended to support it.
subscribe
Subscription subscribe(string subject, NatsHandler handler, string queueGroup)
Undocumented in source. Be warned that the author may not have intended to support it.
subscriptions
const(Subscription[]) subscriptions()
Undocumented in source. Be warned that the author may not have intended to support it.
unsubscribe
void unsubscribe(Subscription s, uint msgsToDrain)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

natsClientVersion
auto natsClientVersion;
Undocumented in source.

Structs

ConnectInfo
struct ConnectInfo
Undocumented in source.
Statistics
struct Statistics
Undocumented in source.

Meta