struct

Helpers::WebSocket::Body

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

create(message)
Source

Instance methods

event
Source
event=(event : String)
Source
payload
Source
payload=(payload : Hash(String, JSON::Any))
Source
subject
Source
subject=(subject : String)
Source
topic
Source
topic=(topic : String)
Source