Sha256: 062214350cbd8d5821b1a463d4bdfed86c10ea394c5e11f86ef3f8e9a0c5037e
Contents?: true
Size: 392 Bytes
Versions: 3
Compression:
Stored size: 392 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true lib = File.expand_path("../../../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "./chat" require "rack" require "anycable" # Turn AnyCable compatibility mode LiteCable.anycable! Anycable.configure do |config| config.connection_factory = Chat::Connection config.debug = true end Anycable::Server.start
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
litecable-0.4.2 | examples/sinatra/anycable |
litecable-0.4.1 | examples/sinatra/anycable |
litecable-0.4.0 | examples/sinatra/anycable |