Table of Contents

Method CreateObjectStoreContext

Namespace
NATS.Net
Assembly
NATS.Client.ObjectStore.dll

CreateObjectStoreContext(INatsClient)

Creates a NATS Object Store context for the given NATS client.

public static INatsObjContext CreateObjectStoreContext(this INatsClient client)

Parameters

client INatsClient

The NATS client instance.

Returns

INatsObjContext

An instance of INatsObjContext used for interacting with the NATS Object Store.

CreateObjectStoreContext(INatsConnection)

Creates a NATS Object Store context for the given NATS connection.

public static INatsObjContext CreateObjectStoreContext(this INatsConnection connection)

Parameters

connection INatsConnection

The NATS connection instance.

Returns

INatsObjContext

An instance of INatsObjContext used for interacting with the NATS Object Store.

CreateObjectStoreContext(INatsJSContext)

Creates a NATS Object Store context for the given NATS JetStream context.

public static INatsObjContext CreateObjectStoreContext(this INatsJSContext context)

Parameters

context INatsJSContext

The NATS JetStream context instance.

Returns

INatsObjContext

An instance of INatsObjContext used for interacting with the NATS Object Store.