import { fetchServiceDescription } from "@arcgis/core/rest/networkService.js";const { fetchServiceDescription } = await $arcgis.import("@arcgis/core/rest/networkService.js");- Since
- ArcGIS Maps SDK for JavaScript 4.20
This modules contains functions for working with network services.
Functions
| Name | Return Type | Object |
|---|---|---|
| |
fetchServiceDescription
Function
Retrieve a description of the network service.
- Signature
-
fetchServiceDescription (url: string, apiKey?: string | null | undefined, requestOptions?: RequestOptions | null): Promise<NetworkServiceDescription>
Parameters
- Returns
- Promise<NetworkServiceDescription>
Returns service description.