ServiceWorkerRouterInfo

@Serializable
data class ServiceWorkerRouterInfo(val ruleIdMatched: Int? = null, val matchedSourceType: ServiceWorkerRouterSource? = null, val actualSourceType: ServiceWorkerRouterSource? = null)

(undocumented in the protocol definition)

Official doc

Constructors

Link copied to clipboard
constructor(ruleIdMatched: Int? = null, matchedSourceType: ServiceWorkerRouterSource? = null, actualSourceType: ServiceWorkerRouterSource? = null)

Properties

Link copied to clipboard

The actual router source used.

Link copied to clipboard

The router source of the matched rule. If there is a matched rule, this field will be set, otherwise no value will be set.

Link copied to clipboard
val ruleIdMatched: Int? = null

ID of the rule matched. If there is a matched rule, this field will be set, otherwiser no value will be set.