struct Protocol::Runtime::CustomPreview

Included Modules

Defined in:

protocol/runtime.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def body_getter_id : RemoteObjectId | Nil #

If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain RemoteObjectId for the function that returns result of formatter.body(object, config) call. The result value is json ML array.


[View source]
def header : String #

The JSON-stringified result of formatter.header(object, config) call. It contains json ML array that represents RemoteObject.


[View source]