Sha256: e8a7f3d9b6535ae117eaee56cc239bd342eef4f32bd1fb49b49fe4659c80c20f
Contents?: true
Size: 555 Bytes
Versions: 10
Compression:
Stored size: 555 Bytes
Contents
module Slack module RealTime module Concurrency module Mock class WebSocket end class Socket < ::Slack::RealTime::Socket def self.close; end def start_async(client) reactor = Thread.new {} client.run_loop reactor end def send_data(message) driver.send(message) end protected def connect @driver = WebSocket.new(url, nil, options) end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems