struct Protocol::Network::TrustTokenOperationDone
- Protocol::Network::TrustTokenOperationDone
- Struct
- Value
- Object
Overview
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.
Included Modules
- JSON::Serializable
- Protocol::Event
Defined in:
protocol/network.crConstructors
Instance Method Summary
-
#issued_token_count : Int::Primitive | Nil
The number of obtained Trust Tokens on a successful "Issuance" operation.
-
#issuer_origin : String | Nil
Origin of the issuer in case of a "Issuance" or "Redemption" operation.
- #request_id : RequestId
-
#status : String
Detailed success or error status of the operation.
-
#top_level_origin : String | Nil
Top level origin.
- #type : TrustTokenOperationType
Constructor Detail
Instance Method Detail
The number of obtained Trust Tokens on a successful "Issuance" operation.
Origin of the issuer in case of a "Issuance" or "Redemption" operation.
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).
Top level origin. The context in which the operation was attempted.