Table of Contents

Property SocketConnectionFactory

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

SocketConnectionFactory

Factory for creating socket connections to the NATS server. When set, this factory will be used instead of the default connection implementation. For the library to handle TLS upgrade automatically, implement the INatsTlsUpgradeableSocketConnection interface.

public INatsSocketConnectionFactory? SocketConnectionFactory { get; init; }

Property Value

INatsSocketConnectionFactory
See Also