Sha256: b0c6e728d02cdccb90ec8464cb83cc3da63dc0f17d6dfe619771de1b9ec3d3de
Contents?: true
Size: 567 Bytes
Versions: 10
Compression:
Stored size: 567 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 reactor = Thread.new {} yield self if block_given? 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 & 2 rubygems