Skip to content

StringCodec

@wuespace/telestion / nats / StringCodec

StringCodec(): Codec<string>

Returns a Codec for encoding strings to a message payload and decoding message payloads into strings.

Returns

Codec<string>