UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

19 lines 826 B
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.NetworkPath = void 0; const resource_1 = require("cloudflare/resource"); class NetworkPath extends resource_1.APIResource { /** * Get a breakdown of hops and performance metrics for a specific traceroute test * run */ get(testResultId, params, options) { const { account_id } = params; return this._client.get(`/accounts/${account_id}/dex/traceroute-test-results/${testResultId}/network-path`, options)._thenUnwrap((obj) => obj.result); } } exports.NetworkPath = NetworkPath; (function (NetworkPath) { })(NetworkPath = exports.NetworkPath || (exports.NetworkPath = {})); //# sourceMappingURL=network-path.js.map