struct Helpers::WebSocket::Body

Included Modules

Defined in:

helpers/web_socket/body.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]

Class Method Detail

def self.create(message) #

[View source]

Instance Method Detail

def event : String #

[View source]
def event=(event : String) #

[View source]
def payload : Hash(String, JSON::Any) #

[View source]
def payload=(payload : Hash(String, JSON::Any)) #

[View source]
def subject : String #

[View source]
def subject=(subject : String) #

[View source]
def topic : String #

[View source]
def topic=(topic : String) #

[View source]