Creates the native diagnostics client.
The injected client options
The client
At creation time for an invalid endpoint or credentials
const client = createDiagnosticsClient({ endpoint: 'http://127.0.0.1:4919', sessionId, sessionKey, subtle: crypto.subtle, fetch, timing: { setTimeout, clearTimeout },});const snapshot = await client.snapshot();client.close(); Copy
const client = createDiagnosticsClient({ endpoint: 'http://127.0.0.1:4919', sessionId, sessionKey, subtle: crypto.subtle, fetch, timing: { setTimeout, clearTimeout },});const snapshot = await client.snapshot();client.close();
0.8.0
Creates the native diagnostics client.