MCPcopy
hub / github.com/nestjs/nest / createClient

Method createClient

packages/microservices/client/client-rmq.ts:155–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 }
154
155 public createClient(): AmqpConnectionManager {
156 const socketOptions = this.getOptionsProp(this.options, 'socketOptions');
157 const urls = this.getOptionsProp(this.options, 'urls') || [RQM_DEFAULT_URL];
158 return rmqPackage.connect(urls, socketOptions);
159 }
160
161 public mergeDisconnectEvent<T = any>(
162 instance: any,

Callers 4

connectMethod · 0.95

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected