requestScanInfo
Requests one scan's information.
Declaration
suspend fun requestScanInfo( scanId: String, timeoutMs: Long = DEFAULT_TIMEOUT_MS ): ScanResult
Summary
Returns
ScanResult containing the single scan.
Throws
SitesException— if the request fails with an error.kotlinx.coroutines.CancellationException— if the coroutine is cancelled.
Parameters
| Name | Type | Summary |
|---|---|---|
| scanId | String | The scan ID to query. |
| timeoutMs | Long | Maximum time to wait for the request to complete. |
Requests one scan's information.