MCPcopy Create free account
hub / github.com/PIKACHUIM/CFWorkerACME / constructor

Method constructor

src/http.js:27–38  ·  view source on GitHub ↗
(directoryUrl, accountKey, externalAccountBinding = {})

Source from the content-addressed store, hash-verified

25
26class HttpClient {
27 constructor(directoryUrl, accountKey, externalAccountBinding = {}) {
28 this.directoryUrl = directoryUrl;
29 this.accountKey = accountKey;
30 this.externalAccountBinding = externalAccountBinding;
31
32 this.maxBadNonceRetries = 5;
33 this.jwk = null;
34
35 this.directoryCache = null;
36 this.directoryMaxAge = 86400;
37 this.directoryTimestamp = 0;
38 }
39
40 /**
41 * HTTP request

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected