struct Protocol::Runtime::CustomPreview
- Protocol::Runtime::CustomPreview
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
protocol/runtime.crConstructors
Instance Method Summary
-
#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.
-
#header : String
The JSON-stringified result of formatter.header(object, config) call.
Constructor Detail
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.
def header : String
#
The JSON-stringified result of formatter.header(object, config) call. It contains json ML array that represents RemoteObject.