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

Method decodeHeaderByKey

packages/microservices/helpers/kafka-parser.ts:26–28  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

24 }
25 if (!isNil(data.headers)) {
26 const decodeHeaderByKey = (key: string) => {
27 result.headers[key] = this.decode(data.headers[key]);
28 };
29 Object.keys(data.headers).forEach(decodeHeaderByKey);
30 } else {
31 result.headers = {};

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.95

Tested by

no test coverage detected