struct ACP::Protocol::ExtResponse

Overview

Response to an ExtRequest.

Included Modules

Defined in:

acp/protocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(result : JSON::Any = JSON::Any.new(nil), meta : Hash(String, JSON::Any) | Nil = nil) #

[View source]

Instance Method Detail

def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


[View source]
def meta=(meta : Hash(String, JSON::Any) | Nil) #

Extension metadata.


[View source]
def result : JSON::Any #

The response data as raw JSON.


[View source]
def result=(result : JSON::Any) #

The response data as raw JSON.


[View source]