Network

data class Network(val rasp: RASP)

This data class provides functionalities related to the device Network section, such as uploading the network status, retrieving a snapshot of the risky categorized URLs.

Parameters

rasp

RASP — the main instance to use the Pradeo software

Constructors

Link copied to clipboard
constructor(rasp: RASP)

Properties

Link copied to clipboard
val rasp: RASP

Functions

Link copied to clipboard
suspend fun downloadCategorizedURLs(syncDate: Instant): Boolean

Downloads a snapshot of the risky categorized URLs database that were added after a given date

Link copied to clipboard

Downloads a snapshot of the risky categorized URLs database.

Link copied to clipboard

Updates a snapshot of the risky categorized URLs.