class

Cri::Wasm::ResponseEnvelope

Inherits JSON::Serializable < Reference < Object

Constructors

new(ok : Bool, result : JSON::Any | Nil = nil, effects : Array(JSON::Any) = [] of JSON::Any, error : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

effects
Source
effects=(effects : Array(JSON::Any))
Source
error
Source
error=(error : String | Nil)
Source
ok=(ok : Bool)
Source
result
Source
result=(result : JSON::Any | Nil)
Source