issues
search
nats-io
/
nats.swift
Swift client for NATS, the cloud native messaging system.
Apache License 2.0
22
stars
4
forks
source link
Disallow creating Client instance without initializing connection
#43
Open
piotrpio
opened
7 months ago
piotrpio
commented
7 months ago
Proposal:
Make Client's init private.
Create a connection using a static method:
Client.connect(opts)
Proposal:
Client.connect(opts)