MCPcopy Create free account
hub / github.com/SmartThingsCommunity/smartthings-cli / getCertificate

Function getCertificate

src/commands/edge/drivers/logcat.ts:121–122  ·  view source on GitHub ↗
(response: AxiosResponse)

Source from the content-addressed store, hash-verified

119 const logger = log4js.getLogger('cli')
120
121 const getCertificate = (response: AxiosResponse): PeerCertificate =>
122 ((response.request as ClientRequest).socket as TLSSocket).getPeerCertificate()
123
124 const unsafeAgent = new Agent({
125 connect: {

Callers 1

requestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected