struct Protocol::Network::TrustTokenOperationDone

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

Defined in:

protocol/network.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def issued_token_count : Int::Primitive | Nil #

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


[View source]
def issuer_origin : String | Nil #

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


[View source]
def request_id : RequestId #

[View source]
def status : String #

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).


[View source]
def top_level_origin : String | Nil #

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


[View source]

[View source]