Метод | Описание | |
---|---|---|
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 | |
Результат | IConnection |
public CreateConnection ( string url ) : IConnection | ||
url | string | The url |
Результат | IConnection |
public CreateEncodedConnection ( ) : IEncodedConnection | ||
Результат | IEncodedConnection |
public CreateEncodedConnection ( |
||
opts | NATs client options | |
Результат | IEncodedConnection |
public CreateEncodedConnection ( string url ) : IEncodedConnection | ||
url | string | The url |
Результат | IEncodedConnection |
public CreateSecureConnection ( string url ) : IConnection | ||
url | string | connect url |
Результат | IConnection |
public static GetDefaultOptions ( ) : |
||
Результат |