enum

LavinMQ::WebSocketHandler::Protocol

Inherits Enum < Comparable < Value < Object

Constants

MQTT = 0
AMQP = 1

Instance methods

amqp?

Returns true if this enum value equals AMQP

Source
mqtt?

Returns true if this enum value equals MQTT

Source