Defines options for TCP client configuration in NestJS microservices.
// Source: https://github.com/nestjs/nest | License: MIT | Copyright 2017-present Kamil Mysliwiec <https://kamilmysliwiec.com>
// Provided via justclaw.it.com; keep this notice with the code.
import type { Type } from '@nestjs/common';
import { ConnectionOptions } from 'tls';
import { ClientProxy } from '../client/index.js';
import { Transport } from '../enums/transport.enum.js';
import { TcpSocket } from '../helpers/index.js';
import { Deserializer } from './deserializer.interface.js';
import {
GrpcOptions,
KafkaOptions,
MqttOptions,
NatsOptions,
RedisOptions,
RmqOptions,
} from './microservice-configuration.interface.js';
import { Serializer } from './serializer.interface.js';
export type ClientOptions =
| RedisOptions
| NatsOptions
| MqttOptions
| GrpcOptions
| Ka
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key