class Servo::Event::GatewayMessageEvent

Overview

Event fired for all gateway messages.

Defined in:

event/gateway_message_event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(event_name : String, payload : String) #

[View source]

Instance Method Detail

def event_name : String #

The name of the gateway event.


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

The data sent in the event.


[View source]