Table of Contents

Method CreateServicesContext

Namespace
NATS.Net
Assembly
NATS.Client.Services.dll

CreateServicesContext(INatsClient)

Creates a NATS Services context for the given NATS client.

public static INatsSvcContext CreateServicesContext(this INatsClient client)

Parameters

client INatsClient

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

connection INatsConnection

The NATS connection for which to create the services context.

Returns

INatsSvcContext

An instance of INatsSvcContext used for interacting with the NATS Services.