Interface INatsSocketConnectionFactory
Factory interface for creating socket connections to NATS servers.
public interface INatsSocketConnectionFactory
Remarks
This interface abstracts the creation of socket connections to NATS servers, allowing for custom implementations of connection logic.
Methods
- ConnectAsync(Uri, NatsOpts, CancellationToken)
Establishes a connection to a NATS server at the specified URI.