Method | Description | |
---|---|---|
ConnectionFactory ( ) : System |
Creates a connection factory to the NATS server.
|
|
CreateConnection ( ) : IConnection |
Create a connection to the NATs server using default options.
|
|
CreateConnection ( |
CreateConnection to the NATs server using the provided options.
|
|
CreateConnection ( string url ) : IConnection |
CreateConnection will attempt to connect to the NATS server. The url can contain username/password semantics. Comma seperated arrays are also supported, e.g. urlA, urlB.
|
|
CreateEncodedConnection ( ) : IEncodedConnection |
Create an encoded connection to the NATs server using default options.
|
|
CreateEncodedConnection ( |
CreateEncodedConnection to the NATs server using the provided options.
|
|
CreateEncodedConnection ( string url ) : IEncodedConnection |
CreateEncodeedConnection will attempt to connect to the NATS server. The url can contain username/password semantics.
|
|
CreateSecureConnection ( string url ) : IConnection |
CreateSecureConnection will attempt to connect to the NATS server using TLS. The url can contain username/password semantics.
|
|
GetDefaultOptions ( ) : |
Retrieves the default set ot client options.
|
public CreateConnection ( |
||
opts | NATs client options | |
return | IConnection |
public CreateConnection ( string url ) : IConnection | ||
url | string | The url |
return | IConnection |
public CreateEncodedConnection ( ) : IEncodedConnection | ||
return | IEncodedConnection |
public CreateEncodedConnection ( |
||
opts | NATs client options | |
return | IEncodedConnection |
public CreateEncodedConnection ( string url ) : IEncodedConnection | ||
url | string | The url |
return | IEncodedConnection |
public CreateSecureConnection ( string url ) : IConnection | ||
url | string | connect url |
return | IConnection |
public static GetDefaultOptions ( ) : |
||
return |