Sha256: e7e6b4d3544ff3a225c0af28b4c90a2b229f4e9ac29591a5f32f238181a98abb
Contents?: true
Size: 575 Bytes
Versions: 1
Compression:
Stored size: 575 Bytes
Contents
#!/usr/bin/env ruby require 'logger' require 'socket' require 'thread' require 'timeout' require 'mqtt/version' # String encoding monkey patch for Ruby 1.8 unless String.method_defined?(:force_encoding) require 'mqtt/patches/string_encoding.rb' end module MQTT DEFAULT_HOST = 'localhost' DEFAULT_PORT = 1883 class Exception < Exception end class ProtocolException < MQTT::Exception end class NotConnectedException < MQTT::Exception end autoload :Client, 'mqtt/client' autoload :Packet, 'mqtt/packet' autoload :Proxy, 'mqtt/proxy' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mqtt-0.1.0 | lib/mqtt.rb |