Method CreateServicesContext
CreateServicesContext(INatsClient)
Creates a NATS Services context for the given NATS client.
public static INatsSvcContext CreateServicesContext(this INatsClient client)Parameters
- clientINatsClient
- The NATS client for which to create the services context. 
Returns
- INatsSvcContext
- An instance of INatsSvcContext used for interacting with the NATS Services. 
CreateServicesContext(INatsConnection)
Creates a NATS Services context for the given NATS connection.
public static INatsSvcContext CreateServicesContext(this INatsConnection connection)Parameters
- connectionINatsConnection
- The NATS connection for which to create the services context. 
Returns
- INatsSvcContext
- An instance of INatsSvcContext used for interacting with the NATS Services.