Sha256: 1d77a39e8f9902dcf9957e24a11848bfba20b06ed648fa2e395434f856787afa
Contents?: true
Size: 564 Bytes
Versions: 13
Compression:
Stored size: 564 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
13 entries across 13 versions & 1 rubygems