Table of Contents

Method Add

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

Add(INatsSerializer<T>)

Adds a serializer to the chain of serializers for NATS messages.

public NatsSerializerBuilder<T> Add(INatsSerializer<T> serializer)

Parameters

serializer INatsSerializer<T>

The serializer to be added.

Returns

NatsSerializerBuilder<T>

The updated instance of the serializer builder.