chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.network.events / NetworkEvent / TrustTokenOperationDoneEvent

TrustTokenOperationDoneEvent

data class TrustTokenOperationDoneEvent : NetworkEvent

Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.

Official doc

Constructors

<init>

Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.

TrustTokenOperationDoneEvent(status: String, type: TrustTokenOperationType, requestId: RequestId, topLevelOrigin: String? = null, issuerOrigin: String? = null, issuedTokenCount: Int? = null)

Properties

issuedTokenCount

The number of obtained Trust Tokens on a successful "Issuance" operation.

val issuedTokenCount: Int?

issuerOrigin

Origin of the issuer in case of a "Issuance" or "Redemption" operation.

val issuerOrigin: String?

requestId

val requestId: RequestId

status

Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).

val status: String

topLevelOrigin

Top level origin. The context in which the operation was attempted.

val topLevelOrigin: String?

type

val type: TrustTokenOperationType